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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  smaug fuss 1.6 compile issue

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: smaug fuss 1.6 compile issue
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Gorock   (149 posts)  [Biography] bio
Date Wed 14 Sep 2005 06:41 AM (UTC)  quote  ]
Message
yeah hey i got that same error but then i typed make clean and then it did one little thing then i typed make and it worked fine but after i did that i didi ./startup & but that was not working so i am still trying to figure it all out myself but if you type make clean then make you will be where i am hehe
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Wed 14 Sep 2005 01:40 AM (UTC)  quote  ]
Message
The top portion of your mud.h file will need to look like this:


#include <stdlib.h>
#include <limits.h>
#if defined(__CYGWIN__)
#include <sys/time.h>
#endif


Note that CYGWIN section? It needs sys/time.h included there for it to work.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Dextermovies   (65 posts)  [Biography] bio
Date Mon 12 Sep 2005 01:59 AM (UTC)  quote  ]
Message
I have already searched, and applied what was said to fix this. but it did not work for me.

I am using windows xp and cygwin.

here are my errors :

$ make
make -s smaug
Compiling o/act_move.o....
In file included from act_move.c:21:
mud.h:2672: error: field `total_time' has incomplete type
mud.h:2673: error: field `min_time' has incomplete type
mud.h:2674: error: field `max_time' has incomplete type
make[1]: *** [o/act_move.o] Error 1
make: *** [all] Error 2

and here is the code it refers to :

struct timerset
{
int num_uses;
struct timeval total_time;
struct timeval min_time;
struct timeval max_time;
};
[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.


2,391 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]