Amended on Mon 05 Dec 2011 02:37 PM (UTC) by Eriseth
Message
Thanks so much for the help so far, guys. That fixed the warning error, but the code is still not compiling. See errors below:
In file included from comm.c:30:0:
mccp.h:18:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make[1]: *** [o/comm.o] Error 1
In file included from hotboot.c:38:0:
mccp.h:18:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make[1]: *** [o/hotboot.o] Error 1
In file included from mccp.c:48:0:
mccp.h:18:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make[1]: *** [o/mccp.o] Error 1
make[1]: Target `smaug' not remade because of errors.
make: *** [all] Error 2
So obviously I'm missing something but I don't know what it is :/
I'm trying to get SmaugFUSS 1.9 compiled without much success.
Here is the output...
eriseth@antares:/opt/smaugfuss19/src$ make
make -s smaug
Compiling o/imc.o....
imc.c: In function ‘void imclog(const char*, ...)’:
imc.c:212:10: error: variable ‘strtime’ set but not used [-Werror=unused-but-set-variable]
imc.c: In function ‘void imcbug(const char*, ...)’:
imc.c:236:10: error: variable ‘strtime’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2
eriseth@antares:/opt/smaugfuss19/src$ gcc --version
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
I'm sure it's something silly but after playing with it for a while I just couldn't figure it out. Any suggestions would be greatly appreciated.
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.