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
➜ Compiling the server
➜ Cygwin Crypt Errors - Revisited
|
Cygwin Crypt Errors - Revisited
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Seifz
(24 posts) Bio
|
| Date
| Thu 19 Feb 2004 08:00 AM (UTC) |
| Message
| Yes, I know that many people have posted similar topics... I have tried searching for an answer to my problem but I cannot find one. Anyways, I'm using Cygwin 3.3.1 and WinXP Pro SP1, if that matters.
When I try to compile SMAUG 1.4a w/ MXP, I don't have any problems. But when I try to compile SMAUG 1.4a, I get those annoying _crypt errors. So, I tried using the Makefile.Cygwin (renamed to Makefile, of course) that's packaged with the MXP version and I still get these errors. I also tried to add the following to act_info.c to see if it would fix the problem for that file:
#if defined(__CYGWIN__)
#include <crypt.h>
#endif
but it did not work. Crypt.h is in my include directory. Are there other files that I might be missing? I tried to download everything that had 'crypt' or 'devel' in the name/description.
Thanks in advance,
Seifz | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 19 Feb 2004 08:38 AM (UTC) |
| Message
| This is a link error, not a compile one?
Try removing all .o files and then compiling again. Changing the makefile alone won't help if you don't recompile everything. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Seifz
(24 posts) Bio
|
| Date
| Reply #2 on Thu 19 Feb 2004 08:45 AM (UTC) |
| Message
| Yeah, still no go. I checked the Cygwin installer and I definitely have the Crypt library. Are there any other changes I need to make to the source? I'm not sure if you changed something in the MXP version that I'm not seeing.
Thanks again,
Seifz | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Thu 19 Feb 2004 08:31 PM (UTC) |
| Message
| I suggest getting the file smaug14afuss.tgz from the Downloads area. This is the Fixed Up Smaug Source. Using that, and fixing the Makefile for Cygwin:
#Uncomment to compile in Cygwin
#CYGWIN = -DCYGWIN
(remove the # in bold)
It then compiled without any errors. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Seifz
(24 posts) Bio
|
| Date
| Reply #4 on Thu 19 Feb 2004 10:21 PM (UTC) |
| Message
| The problem with FUSS SMAUG is that is changes some things I'd like to leave unchanged... Plus, I don't like the new colour module. Thanks for the suggestion, though. :)
Now, after playing with some things, I did get rid of the _crypt error in act_info.c in do_password. It was rather simple... I added a "#define NOCRYPT" to mud.h outside of the Win32 ifdef and then added the following to mud.h in the OS-dependant variables section:
#if defined(__CYGWIN__)
char * crypt args( ( const char *key, const char *salt ) );
#endif
I still get the other _crypt errors, though, and I can't see why. The next one on the list appears in act_wiz.c in do_form_password... Strange, because that file wasn't changed at all in the MXP version.
I'll keep working on it and if I get it running, I'll let you know.
Thanks again,
Seifz | | Top |
|
| Posted by
| Seifz
(24 posts) Bio
|
| Date
| Reply #5 on Thu 19 Feb 2004 10:26 PM (UTC) |
| Message
| D'oh, silly mistake. I forgot to delete the other .o files before I did another make. Everything's working perfectly now. Thanks for your help. :)
-Seifz
PS: It would be great if you could add that small bit to your walkthrough on compiling and making changes to SMAUG even though it's not the MXP version. I know that quite a few people have mentioned similar errors already. I fixed the re_exec problem as well, though I don't remember how. If I do remember, I'll post that here. | | 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.
18,974 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top