I've been trying something new all day...compiling CtP2 for linux (I'm using linux mint helena, which is based on ubuntu karmic/9.10
I checked out the linux branch via http://ctp2.darkdust.net/anonsvn/branches/linux/
make bootstrap didn't appear to give me any issues
./configure didn't appear to give me any issues
but make goes quite a bit before giving me this:
I can't even really find the error (other than it seems to be treating a warning as an error for some reason), so I don't even know what to do to fix it.
I checked out the linux branch via http://ctp2.darkdust.net/anonsvn/branches/linux/
make bootstrap didn't appear to give me any issues
./configure didn't appear to give me any issues
but make goes quite a bit before giving me this:
Code:
make[5]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet/src/3rdparty' Making all in linux make[5]: Entering directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet/src/linux' Making all in dp make[6]: Entering directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet/src/linux/dp' /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../h -I. -I../../../src -I../../../h -I../../../src/aeh -I../../../demo/utils -I../../../3rdparty/d3des -I../../../3rdparty/md5 -I. -I../../../src -I../../../h -I../../../src/aeh -I../../../demo/utils -I../../../3rdparty/d3des -I../../../3rdparty/md5 -DUNIX -Dcdecl="" -D__NO_ANONYMOUS_UNIONS__ "-DPACK=__attribute ((packed))" -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -Ddp_ANET2 -DCOMM_INST -DNDEBUG -O3 -Werror -g -O2 -MT libdp2_la-aehmap.lo -MD -MP -MF .deps/libdp2_la-aehmap.Tpo -c -o libdp2_la-aehmap.lo `test -f '../../aeh/aehmap.c' || echo './'`../../aeh/aehmap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../h -I. -I../../../src -I../../../h -I../../../src/aeh -I../../../demo/utils -I../../../3rdparty/d3des -I../../../3rdparty/md5 -I. -I../../../src -I../../../h -I../../../src/aeh -I../../../demo/utils -I../../../3rdparty/d3des -I../../../3rdparty/md5 -DUNIX -Dcdecl= -D__NO_ANONYMOUS_UNIONS__ "-DPACK=__attribute ((packed))" -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -Ddp_ANET2 -DCOMM_INST -DNDEBUG -O3 -Werror -g -O2 -MT libdp2_la-aehmap.lo -MD -MP -MF .deps/libdp2_la-aehmap.Tpo -c ../../aeh/aehmap.c -fPIC -DPIC -o .libs/libdp2_la-aehmap.o cc1: warnings being treated as errors ../../aeh/aehmap.c: In function ‘aeh_map_Load’: ../../aeh/aehmap.c:261: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result ../../aeh/aehmap.c:281: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result ../../aeh/aehmap.c:285: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result make[6]: *** [libdp2_la-aehmap.lo] Error 1 make[6]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet/src/linux/dp' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet/src/linux' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code/libs/anet' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code/libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andrewspriggs/CTP2/ctp2_code' make: *** [all-recursive] Error 1
Comment