okay I have tried and tried to compile the server (smaug 1.4a) so I can use IMC but keep getting these errors I'm using cygwin
33 c:/smaug/source/webserver.c
sys\socket.h: No such file or directory
35 c:/smaug/source/webserver.c
sys\un.h: No such file or directory
25 c:/smaug/source/act_info.c
c:\smaug\source\mud.h:28: undefined or invalid # directive
29 mud.h
undefined or invalid # directive
2841 mud.h
field `total_time' has incomplete type
2842 mud.h
field `min_time' has incomplete type
2843 mud.h
field `max_time' has incomplete type
5392 mud.h
parse error before `HANDLE'
5396 mud.h
parse error before `}'
5399 mud.h
parse error before `*'
5400 mud.h
parse error before `*'
5401 mud.h
parse error before `*'
5416 mud.h
parse error before `/'
2047 c:/smaug/source/act_info.c
`NULL_FILE' undeclared (first use in this function)
2047 c:/smaug/source/act_info.c
(Each undeclared identifier is reported only once
2047 c:/smaug/source/act_info.c
for each function it appears in.)
25 c:/smaug/source/act_move.c
c:\smaug\source\mud.h:28: undefined or invalid # directive
29 mud.h
undefined or invalid # directive
2841 mud.h
field `total_time' has incomplete type
2842 mud.h
field `min_time' has incomplete type
2843 mud.h
field `max_time' has incomplete type
5392 mud.h
parse error before `HANDLE'
5392 mud.h
parse error before `HANDLE'
5399 mud.h
parse error before `*'
5400 mud.h
parse error before `*'
5401 mud.h
parse error before `*'
5416 mud.h
parse error before `/'
22 c:/smaug/source/act_obj.c
c:\smaug\source\mud.h:28: undefined or invalid # directive
29 mud.h
undefined or invalid # directive
2841 mud.h
field `total_time' has incomplete type
2842 mud.h
field `min_time' has incomplete type
okay using gbd and using the next button I can get down to line 281 boot_db() but when I try to go to the next line 282 is when I get the error above line 282 is as follows
log_string("Initializing Socket")
okay nick i got this from an E-mail from nivek and it worked i didn't even think of looking here for the problem
turns out I didn't have the gods directory and I had to take test deity out of the deity list file
okay i had the same problem when ryunning it look to see if you have a gods directory and also look at the deity.lst file and see if the test deity is listed in it if so remove it and try again this solution was given originally by nivek
It is almost impossible to debut these problems from a distance. I get SMAUG to work both under Cygwin and under Linux/OpenBSD using the supplied source, and making no changes, other than what I described in my "how to compile" page.
I can only suggest that you look at my recent post about using gdb and try to work out what is causing the crash. Typing "bt" (backtrace) in gdb should at least show what function you are in, and where it was called from. That should give a clue. For example, if it is opening a file, check that the file is there.
ahem.....Wahooooooooo!!!
it worked! i added a gods directory and removed the test diety and it worked fine!
Thankyou Straud And Nick without you 2 might have given up
oh and nick thanks for all the info on muds and other stuff yours so far is the only site i have found which explains stuff in a langauge i can understand (oh and i dowloaded a file on how to use gbd =)