I got the LAM/MPI subversion to compile by GCC 3.4.3 and got the
following error:
... ...
make[2]: Entering directory
`/h/suzu0037/Local/MPI/src/trillium/share/tstdio'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../../share/include
-I../../share/include -DLAM_BUILDING=1 -O2 -march=pentium4 -msse2
-fomit-frame-pointer -funroll-all-loops -falign-loops -falign-jumps
-falign-functions -ffast-math -fexceptions -pthread -MT _tiob.lo -MD -MP
-MF ".deps/_tiob.Tpo" -c -o _tiob.lo _tiob.c; \
then mv -f ".deps/_tiob.Tpo" ".deps/_tiob.Plo"; else rm -f
".deps/_tiob.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include -I../../share/include
-DLAM_BUILDING=1 -O2 -march=pentium4 -msse2 -fomit-frame-pointer
-funroll-all-loops -falign-loops -falign-jumps -falign-functions
-ffast-math -fexceptions -pthread -MT _tiob.lo -MD -MP -MF
.deps/_tiob.Tpo -c _tiob.c -fPIC -DPIC -o .libs/_tiob.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include -I../../share/include
-DLAM_BUILDING=1 -O2 -march=pentium4 -msse2 -fomit-frame-pointer
-funroll-all-loops -falign-loops -falign-jumps -falign-functions
-ffast-math -fexceptions -pthread -MT _tiob.lo -MD -MP -MF
.deps/_tiob.Tpo -c _tiob.c -o _tiob.o
>/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../../share/include
-I../../share/include -DLAM_BUILDING=1 -O2 -march=pentium4 -msse2
-fomit-frame-pointer -funroll-all-loops -falign-loops -falign-jumps
-falign-functions -ffast-math -fexceptions -pthread -MT getbuf.lo -MD
-MP -MF ".deps/getbuf.Tpo" -c -o getbuf.lo getbuf.c; \
then mv -f ".deps/getbuf.Tpo" ".deps/getbuf.Plo"; else rm -f
".deps/getbuf.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include -I../../share/include
-DLAM_BUILDING=1 -O2 -march=pentium4 -msse2 -fomit-frame-pointer
-funroll-all-loops -falign-loops -falign-jumps -falign-functions
-ffast-math -fexceptions -pthread -MT getbuf.lo -MD -MP -MF
.deps/getbuf.Tpo -c getbuf.c -fPIC -DPIC -o .libs/getbuf.o
getbuf.c:57: error: conflicting types for 'malloc'
getbuf.c:57: error: conflicting types for 'malloc'
make[2]: *** [getbuf.lo] Error 1
Has anybody got the same problem? It seems like gcc got confused with
"extern char *malloc" but my guess is that this problem is peculiar to
new GCC since I didn't have any such trouble with Intel compilers.
Ryuta
|