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
➜
In file included from comm.c:40:
/usr/include/unistd.h:1019: error: syntax erro
In file included from comm.c:40:
/usr/include/unistd.h:1019: error: syntax erro
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Cirus
(22 posts) Bio
|
Date
| Fri 10 Jun 2005 06:24 PM (UTC) |
Message
| Mud code is stock swr 1.0
In file included from comm.c:40:
/usr/include/unistd.h:1019: error: syntax error before `__const'
I get that error when I try to compile
I know someone is gonna ask for code you can goto /usr/include/unistd.h and look at the extern char crypt
there or here it is
I gues this is a pointer to a function ?
extern char *crypt (__const char *__key, __const char *__salt)
__THROW __nonnull ((1, 2));
I am deeply confused by this error
Please Help
|
CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net | Top |
|
Posted by
| Cirus
(22 posts) Bio
|
Date
| Reply #1 on Sat 11 Jun 2005 12:15 AM (UTC) |
Message
| I suppose I do allways fix my own problems
but here's the solution
take out everything that has to do with crypt
and don't use the -DNOCRYPT in the makefile
|
CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #2 on Sat 11 Jun 2005 03:41 AM (UTC) |
Message
| That assumes you will never have need of the crypt library again for encrypting player passwords. If you found later that you did, having removed it all would be a pain to put back.
Alternatively, you could add the MD5 password support to the code and use that instead. Encrypted passwords without the baggage associated with crypt.
Or - you could use the SWR FUSS package which has that taken care of already :) | 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.
11,757 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top