[mpich-discuss] Undefined references (MinGW)

Jayesh Krishna jayesh at mcs.anl.gov
Wed Feb 15 12:31:54 CST 2012


Hi,
 Any reasons you are using all the multitude of options when installing MPICH2 on Cygwin (I am sure that all configure options are not tested on Cygwin)? You should stick to Linux/Unix if you want to exercise all MPICH2 configuration options.

(PS: "./configure --prefix=/mingw --with-device=ch3:sock --with-pm=smpd --disable-romio" might work)

Regards,
Jayesh

----- Original Message -----
From: "Sergio NNX" <sfhacker at hotmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Monday, February 13, 2012 6:43:05 AM
Subject: [mpich-discuss]  Undefined references (MinGW)



Ciao. 

I'm trying to build the latest version of MPICH from source under MinGW and I'm getting some undefined references during 'make' if I specify the option --with-pm=smpd. The reason I need that option is that it's required by the tests (tests rely on mpiexec). I'm nearly there. However a bit stuck! 

./configure --prefix=/mingw --enable-static --enable-shared --enable-cxx --with-mpe --with-device=ch3:sock --with-pm=smpd --disable-alloca 
--disable-pmiport --disable-romio 

make 

Ant help/pointers would be very much appreciated. 

Thanks in advance. 

Sergio. 

<snip> 
mpiexec.o:mpiexec.c:(.text+0xa5): undefined reference to `smpd_exit' 
mpiexec.o:mpiexec.c:(.text+0xfe): undefined reference to `SMPDU_Sock_write' 
mpiexec.o:mpiexec.c:(.text+0x160): undefined reference to `smpd_err_printf' 
mpiexec.o:mpiexec.c:(.text+0x187): undefined reference to `SMPDU_Sock_write' 
mpiexec.o:mpiexec.c:(.text+0x1dd): undefined reference to `smpd_enter_fn' 
mpiexec.o:mpiexec.c:(.text+0x21a): undefined reference to `SMPDU_Sock_init' 
mpiexec.o:mpiexec.c:(.text+0x229): undefined reference to `smpd_init_process' 
mpiexec.o:mpiexec.c:(.text+0x23e): undefined reference to `smpd_err_printf' 
mpiexec.o:mpiexec.c:(.text+0x25e): undefined reference to `smpd_dbg_printf' 
mpiexec.o:mpiexec.c:(.text+0x263): undefined reference to `SMPDU_Sock_finalize' 
mpiexec.o:mpiexec.c:(.text+0x2fd): undefined reference to `smpd_exit_fn' 
mpiexec.o:mpiexec.c:(.text+0x30a): undefined reference to `smpd_exit' 
mp_parse_command_line.o:mp_parse_command_line.c:(.text+0x9aa): undefined reference to `smpd_enter_fn' 
mp_parse_command_line.o:mp_parse_command_line.c:(.text+0xad4): undefined reference to `smpd_get_opt' 
mp_parse_command_line.o:mp_parse_command_line.c:(.text+0xb03): undefined reference to `smpd_get_opt' 
mp_parse_command_line.o:mp_parse_command_line.c:(.text+0xb25): undefined reference to `smpd_get_opt' 
mp_parse_command_line.o:mp_parse_command_line.c:(.text+0xb57): undefined reference to `smpd_get_opt' 
mp_parse_command_line.o:mp_parse_command_line.c:(.text+0xba2): undefined reference to `smpd_get_hostname' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x1e): undefined reference to `smpd_enter_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xfa): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x220): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x23f): undefined reference to `smpd_enter_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x297): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x2dc): undefined reference to `smpd_enter_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x351): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0x4c5): undefined reference to `smpd_enter_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xb46): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xc06): undefined reference to `smpd_enter_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xd24): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xeb9): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xf34): undefined reference to `smpd_exit_fn' 
mp_parse_oldconfig.o:mp_parse_oldconfig.c:(.text+0xf48): undefined reference to `smpd_exit_fn' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x39): undefined reference to `SMPDU_Sock_create_set' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x51): undefined reference to `SMPDU_Sock_get_sock_set_id' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x61): undefined reference to `smpd_dbg_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x82): undefined reference to `SMPDU_Sock_listen' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x9d): undefined reference to `smpd_dbg_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0xc7): undefined reference to `smpd_create_context' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0xe3): undefined reference to `SMPDU_Sock_set_user_ptr' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0xfc): undefined reference to `smpd_dbs_init' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x11f): undefined reference to `smpd_dbs_create' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x23b): undefined reference to `smpd_enter_at_state' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x250): undefined reference to `SMPDU_Sock_destroy_set' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x264): undefined reference to `smpd_err_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x27a): undefined reference to `smpd_dbs_create_name_in' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x294): undefined reference to `smpd_err_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x2ab): undefined reference to `smpd_err_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x2be): undefined reference to `smpd_err_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x2d5): undefined reference to `smpd_err_printf' 
mpiexec_rsh.o:mpiexec_rsh.c:(.text+0x2f0): undefined reference to `smpd_err_printf' 
</snip> 


_______________________________________________
mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
To manage subscription options or unsubscribe:
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list