A bit of a problem compiling

Posted by Geekmasterflash on Sun 28 Jun 2009 07:09 AM — 3 posts, 18,102 views.

#0
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.
USA #1
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.
USA #2
This was crossposted to the FUSS forum:
http://www.smaugmuds.org/index.php?a=topic&t=4090&p=18130#p18130