[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  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] Refresh page


Posted by Greg   (3 posts)  [Biography] 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%
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[Go to top] 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.


7,384 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]