From: <wc...@co...> - 2005-01-28 06:50:39
|
Hi. I've followed the compilation instructions in the Infomap User Manual, but have run into a problem with the svd software. Here are the error messages relating to malloc: Making all in svd make[2]: Entering directory `/home/wcarus/infomap-nlp-0.8.5/svd' Making all in svdinterface make[3]: Entering directory `/home/wcarus/infomap-nlp-0.8.5/svd/svdinterface' if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../admin -g -O2 -MT svdinterface.o -MD -MP -MF ".deps/svdinterface.Tpo" -c -o svdinterface.o svdinterface.c; \ then mv -f ".deps/svdinterface.Tpo" ".deps/svdinterface.Po"; else rm -f ".deps/svdinterface.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../admin -g -O2 -MT las2.o -MD -MP -MF ".deps/las2.Tpo" -c -o las2.o las2.c; \ then mv -f ".deps/las2.Tpo" ".deps/las2.Po"; else rm -f ".deps/las2.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../admin -g -O2 -MT myutils.o -MD-MP -MF ".deps/myutils.Tpo" -c -o myutils.o myutils.c; \ then mv -f ".deps/myutils.Tpo" ".deps/myutils.Po"; else rm -f ".deps/myutils.Tpo"; exit 1; fi myutils.c: In function `mymalloc': myutils.c:167: error: conflicting types for 'malloc' make[3]: *** [myutils.o] Error 1 make[3]: Leaving directory `/home/wcarus/infomap-nlp-0.8.5/svd/svdinterface' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/wcarus/infomap-nlp-0.8.5/svd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wcarus/infomap-nlp-0.8.5' make: *** [all] Error 2 Any suggestions for correcting this error? Just in case this is important, here's some more information about the version of gcc I'm using: Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs Configured with: ../gcc-3.4.3/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit Thread model: posix gcc version 3.4.3 Regards, Win Carus |