[mpich-discuss] undefined reference to MPL_env2bool, MPL_env2int, MPL_env2str, MPL_env2range

Jeff Hammond jhammond at mcs.anl.gov
Sun May 2 14:14:35 CDT 2010


I did a fresh build of the MPICH2 trunk with GCC 4.5.0 just now and am
getting these errors when I try to link a C application similarly
built with GCC 4.5.0.

What am I doing wrong?

Thanks,

Jeff


/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(errutil.o): In
function `MPIR_Err_init':
errutil.c:(.text+0x385): undefined reference to `MPL_env2bool'
errutil.c:(.text+0x394): undefined reference to `MPL_env2int'
/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(initthread.o):
In function `MPI_Init_thread':
initthread.c:(.text+0x4ff): undefined reference to `MPL_env2bool'
/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(mpid_init.o):
In function `MPID_Init':
mpid_init.c:(.text+0x75): undefined reference to `MPL_env2bool'
/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(mpid_vc.o): In
function `MPIDI_Populate_vc_node_ids':
mpid_vc.c:(.text+0xb7c): undefined reference to `MPL_env2int'
mpid_vc.c:(.text+0xb8e): undefined reference to `MPL_env2int'
mpid_vc.c:(.text+0xbb0): undefined reference to `MPL_env2bool'
mpid_vc.c:(.text+0xbc6): undefined reference to `MPL_env2bool'
/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(init.o): In
function `MPI_Init':
init.c:(.text+0x6e): undefined reference to `MPL_env2str'
init.c:(.text+0xb5): undefined reference to `MPL_env2bool'
/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(mpid_nem_network.o):
In function `MPID_nem_choose_netmod':
mpid_nem_network.c:(.text+0x15): undefined reference to `MPL_env2str'
/software/mpich/mpich2-trunk-gnu45-build/lib/libmpich.a(tcp_init.o):
In function `MPID_nem_tcp_bind':
tcp_init.c:(.text+0x8bf): undefined reference to `MPL_env2range'
collect2: ld returned 1 exit status


-- 
Jeff Hammond
Argonne Leadership Computing Facility
jhammond at mcs.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond


More information about the mpich-discuss mailing list