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 ➜ Compiling the server ➜ A bit of a problem compiling

A bit of a problem compiling

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


Posted by Geekmasterflash   (1 post)  Bio
Date Sun 28 Jun 2009 07:09 AM (UTC)
Message
Quote:

#uname -a
SunOS Odin 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Blade-2500
#gmake -s smaug
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/ban.o....
Compiling o/boards.o....
Compiling o/build.o....
Compiling o/calendar.o....
calendar.c: In function `char* c_time(time_t, int)':
calendar.c:170: error: 'struct tm' has no member named 'tm_zone'
calendar.c: In function `char* mini_c_time(time_t, int)':
calendar.c:212: error: 'struct tm' has no member named 'tm_zone'
gmake[1]: *** [o/calendar.o] Error 1
gmake: *** [all] Error 2


Help me internet, you are my only hope.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Sun 28 Jun 2009 07:18 AM (UTC)
Message
What version of SMAUG are you using?

I see that you're on a SunOS SPARC; as far as I know it's fairly unusual to be compiling on such a machine. It's quite possible that the system libraries are slightly different and that you'll have to adjust the code to read timezones however Solaris is expecting it.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #2 on Sun 28 Jun 2009 07:32 AM (UTC)
Message
This was crossposted to the FUSS forum:
http://www.smaugmuds.org/index.php?a=topic&t=4090&p=18130#p18130

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.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.


14,110 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.