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
➜ Problems compiling Smaug under SunOS
|
Problems compiling Smaug under SunOS
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Greg
(3 posts) Bio
|
| Date
| Wed 19 Feb 2003 06:52 AM (UTC) |
| Message
| It unzipped fine but, I can't get Smaug to compile... any help?
make smaug
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
In file included from act_comm.c:32:
mud.h:37: sys/cdefs.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `act_comm.o'
Current working directory /afs/unity.ncsu.edu/users/g/gcstader/dist/src
*** Error code 1
make: Fatal error: Command failed for target `all'
unity% | | Top |
|
| Posted by
| Nick Gammon
Australia (23,166 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 21 Feb 2003 09:15 PM (UTC) |
| Message
| Different operating systems might have different "include" files, in your case sys/cdefs.h either isn't required at all, or is in a different place.
Try this:
- Comment out the line "#include <sys/cdefs.h>" where it occurs to see if the problem goes away, and no further problems occur.
- Find where cdefs.h is (eg. use the locate program) and amend the include line. eg. maybe this would work: "#include <cdefs.h>"
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
9,642 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top