Please check out Mordor !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Troubles compililing DoC 1.5 Mon Feb 14, 2005 [4:01 PM]
gators04
jb1546@txstate.edu
member since: Feb 8, 2005
Reply
Ive been trying for several days to compile this code with no luck. This is what I get when i try to compile. Im not sure what is wrong or how to fix it.



$ make
Compiling comm.c...
In file included from merc.h:2623,
from comm.c:69:
proto.h:375: warning: conflicting types for built-in function 'logf'
comm.c: In function 'main':
comm.c:353 error: 'SA_NOMASK' undeclared (first use in this function)
comm.c:353 error: {Each undeclared identifier is reported onl once
comm.c:353 error: for each function it appears in.)
comm.c: In function 'nanny':
comm.c:2666: warning: implicit declaration of function 'crypt'
comm.c:2666: warning: passing arg 1 of 'str_cmp' makes pointer from integer with out a cast
comm.c:2927: warning: assignment makes pointer from integer without a cast
comm.c:2951: warning: passing arg 1 of 'str_cmp" makes pointer from integer with out a cast
make: *** [comm.o] Error 1

I know im asking alot but if you could tell from this what im doing wrong and a way to fix it i would be very thankful.


2. RE: Troubles compililing DoC 1.5 Mon Feb 14, 2005 [5:55 PM]
mindcloud
Email not supplied
member since: Apr 4, 2000
In Reply To
Reply
What OS and is that stock? I just grabbed a stock copy and it compiled fine on Fedora Core 3


3. RE: Troubles compililing DoC 1.5 Mon Feb 14, 2005 [6:11 PM]
gators04
Email not supplied
member since: Feb 8, 2005
In Reply To
Reply
i got the code from Mud Magic and im using cygwin on Win XP


4. RE: Troubles compililing DoC 1.5 Mon Feb 14, 2005 [6:37 PM]
Tyche
Email not supplied
member since: Apr 4, 2000
In Reply To
Reply
Use SA_NODEFER instead of SA_NOMASK on Cygwin.
The Sourcery - http://sourcery.dyndns.org
TeensyMud - http://teensymud.kicks-ass.org
"A man can receive nothing, except it be given him from heaven."


5. RE: Troubles compililing DoC 1.5 Mon Feb 14, 2005 [6:51 PM]
gators04
Email not supplied
member since: Feb 8, 2005
In Reply To
Reply
of now when i try to make i get

$make
Finishing...
gcc:wizlist.o-lcrypt: No such file or directory
make: *** [rot] Error 1

not sure on this either

(Comment added by gators04 on Mon Feb 14 20:54:56 2005)

of should be ok at the start ;)


6. RE: Troubles compililing DoC 1.5 Mon Feb 14, 2005 [7:36 PM]
Samson
Email not supplied
member since: Jul 24, 1999
In Reply To
Reply
You want to make sure you have the libcrypt package installed for Cygwin for crypt() to work, and any files which call crypt() need to have #include in them to be able to use it.

(Comment added by Samson on Mon Feb 14 21:37:19 2005)

Blasted damn html interpreter.

#include <crypt.h>
SmaugMuds.org: http://www.smaugmuds.org
My Blog. Leave your political correctness at the door: http://www.iguanadons.net


7. RE: Troubles compililing DoC 1.5 Mon Feb 14, 2005 [8:12 PM]
gators04
Email not supplied
member since: Feb 8, 2005
In Reply To
Reply
Yes!!!!
i got it to work, thanks for all the help, now i just need to figure out why it crashes when i get to the
[Press enter to continue] screen, fun fun




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]