[mpich-discuss] Compilation problem

Pavan Balaji balaji at mcs.anl.gov
Wed Oct 14 21:46:38 CDT 2009


Thanks for reporting this. I'm able to reproduce it and have created a
ticket for it: https://trac.mcs.anl.gov/projects/mpich2/ticket/898

 -- Pavan

On 10/14/2009 04:44 PM, François PELLEGRINI wrote:
> 
> 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.
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list