Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing, DotBot

Members: 0
Guests: 9
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,388
627
MargoThurb
Today's Birthdays
whisperedecho (34)
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » a bit of a problem compiling
Forum Rules | Mark all | Recent Posts

a bit of a problem compiling
< Newer Topic :: Older Topic > solaris...

Pages:<< prev 1 next >>
Post is unread #1 Jun 28, 2009, 12:19 am
Go to the top of the page
Go to the bottom of the page

batastrophe
Fledgling
GroupMembers
Posts1
JoinedJun 28, 2009

#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
       
Post is unread #2 Jun 28, 2009, 12:31 am
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

This was cross-posted to Nick Gammon's forum. In general, it is helpful to note when something was cross-posted, so that people don't repeat themselves.
       
Post is unread #3 Jun 28, 2009, 7:45 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Try adding #include <sys/time.h> below #include <time.h> at the top of the file. Sometimes that solves issues like this. Otherwise as indicated on Gammon's forum, Solaris may have weirdness we're not aware of.
       
Post is unread #4 Jun 29, 2009, 10:00 am
Go to the top of the page
Go to the bottom of the page

paradox24
Fledgling
GroupMembers
Posts18
JoinedMar 6, 2009

Hey,

I haven't glanced through the posting on Nick's site yet .. but dont errors like this require a look through the mud.h file to make sure the variables are being setup properly? Also I think the previous poster is onto something, because a lot of definitions are in there as well. If you could check for both and possibly post the info up here it'd help out :P

Also, as was mentioned, especially in a cross-post situation .. dont hesitate to let us know if the problem was fixed and how you did it .. helps ppl like me who search for similar problems :P
       
Pages:<< prev 1 next >>