[mpich-discuss] Compilation problem
François PELLEGRINI
francois.pellegrini at labri.fr
Wed Oct 14 16:44:49 CDT 2009
Hello all,
I just got mpich2-trunk-r5452 from the nightly snapshot
download area.
When I compile it on my Linux laptop with :
% ./configure CPPFLAGS=-I/usr/include/valgrind --enable-error-checking=all
--enable-error-messages=all --enable-g=all --enable-fast=defopt
--enable-debuginfo --enable-mpe --enable-threads=multiple
--with-thread-package=posix --disable-f77
% make
I get :
gcc -g -O2 -o mpiexec mpiexec.o \
../util/libmpiexec.a ../../../lib/libmpich.a -lpthread -lrt
../../../lib/libmpich.a(dbginit.o): In function `MPIR_Breakpoint':
/home/local/packages/mpich2-trunk-r5452/src/mpi/debugger/dbginit.c:183:
multiple definition of `MPIR_debug_state'
../util/libmpiexec.a(dbgiface.o):/home/local/packages/mpich2-trunk-r5452/src/pm/util/dbgiface.c:82:
first defined here
../../../lib/libmpich.a(dbginit.o):/home/local/packages/mpich2-trunk-r5452/src/mpi/debugger/dbginit.c:185:
multiple definition of `MPIR_debug_abort_string'
../util/libmpiexec.a(dbgiface.o):/home/local/packages/mpich2-trunk-r5452/src/pm/util/dbgiface.c:82:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [mpiexec] Error 1
make[3]: Leaving directory `/home/local/packages/mpich2-trunk-r5452/src/pm/gforker'
make[2]: *** [all-redirect] Error 1
make[2]: Leaving directory `/home/local/packages/mpich2-trunk-r5452/src/pm'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory `/home/local/packages/mpich2-trunk-r5452/src'
make: *** [all-redirect] Error 2
Thanks for your efforts,
f.p.
More information about the mpich-discuss
mailing list