Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ SWR version 2 something

SWR version 2 something

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Solari   (10 posts)  Bio
Date Tue 30 May 2006 05:02 AM (UTC)
Message
Okay so i try using the makefile with Cygwin for SWR, and i get this error....:

make -s swr
Compiling o/act_info.o....
act_info.c: In function `void do_password(CHAR_DATA*, char*)':
act_info.c:2551: error: `crypt' undeclared (first use this function)
act_info.c:2551: error: (Each undeclared identifier is reported only once for ea
ch function it appears in.)
make[1]: *** [o/act_info.o] Error 1
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Tue 30 May 2006 05:16 AM (UTC)
Message
Did you make sure to enable the flags in the Makefile about crypt?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Solari   (10 posts)  Bio
Date Reply #2 on Tue 30 May 2006 03:16 PM (UTC)
Message
yeah....ummm...i have 3 words to say that maybe you can help me out with this, I'm a Noob
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Tue 30 May 2006 03:24 PM (UTC)
Message
Look in the Makefile for something that mentions crypt. It should say to uncomment the line below. Do so, by removing the # at the start of the line.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Solari   (10 posts)  Bio
Date Reply #4 on Tue 30 May 2006 03:37 PM (UTC)
Message
alright, i'll try that.
Top

Posted by Solari   (10 posts)  Bio
Date Reply #5 on Tue 30 May 2006 03:40 PM (UTC)
Message
Okay...Problem, the line was already err Uncommented.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Tue 30 May 2006 05:26 PM (UTC)
Message
Can you show us that line?

Also make sure any lines about Cygwin are uncommented.

Have you considered using SWRFUSS?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Solari   (10 posts)  Bio
Date Reply #7 on Tue 30 May 2006 05:36 PM (UTC)
Message
okay uncommented Cygwin lines already heres the Cygwin and Crypt lines:
#Uncomment to compile in Cygwin
CYGWIN = -DCYGWIN

#Uncomment the line below if you are getting undefined crypt errors
NEED_CRYPT = -lcrypt
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #8 on Tue 30 May 2006 05:38 PM (UTC)
Message
Did you make sure to do a make clean? If so, it looks like the Makefile/source isn't working as intended.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Solari   (10 posts)  Bio
Date Reply #9 on Tue 30 May 2006 05:44 PM (UTC)
Message
yeah i did the make clean, it gets a tad bit further but then busts out the same error as in the beggining.
Top

Posted by Solari   (10 posts)  Bio
Date Reply #10 on Tue 30 May 2006 05:46 PM (UTC)
Message
wait now it's saying something about act_info.c
Top

Posted by Solari   (10 posts)  Bio
Date Reply #11 on Tue 30 May 2006 05:47 PM (UTC)
Message
where can i find SWRFUSS?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #12 on Tue 30 May 2006 05:51 PM (UTC)

Amended on Tue 11 Mar 2008 03:30 AM (UTC) by Nick Gammon

Message
You can get SWRFUSS at http://www.smaugfuss.org/

And as for the errors, (I can't remember if Cygwin has it offhand) but maybe you're missing the crypt package in Cygwin.

[EDIT - 11 March 2008] - The Smaug FUSS site is now http://www.smaugmuds.org/

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Solari   (10 posts)  Bio
Date Reply #13 on Tue 30 May 2006 06:21 PM (UTC)
Message
yeah...got swrfuss, more errors:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
make[1]: *** [swreality] Error 1
make: *** [all] Error 2
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #14 on Tue 30 May 2006 06:26 PM (UTC)
Message
There should be something in the Makefile you need to uncomment. Do a search on the forums too, you can find answers.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


34,263 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.