Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] OpenMPI build fails with "undefined reference to symbol 'opal_cmd_line_get_usage_msg'"
From: Alex Margolin (alex.margolin_at_[hidden])
Date: 2012-02-11 12:10:47


I tried to unpack and build version 1.4.4 and run into a rare error, and I didn't find any mention of it online.
I know I shouldn't run (builds OK without it) unless I have a new MCA component, but this is the case here, so...
Does anyone else experience such errors (the command I ran appears at the bottom)?
Any tips on how to solve or get around it?


Making install in tools/orte-clean
make[2]: Entering directory `/home/alex/huji/openmpi-1.4.4/orte/tools/orte-clean'
/bin/bash ../../../libtool --tag=CC --mode=link gcc -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread -fvisibility=hidden -export-dynamic -o orte-clean orte-clean.o ../../../orte/ -lnsl -lutil -lm
libtool: link: gcc -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread -fvisibility=hidden -o .libs/orte-clean orte-clean.o -Wl,--export-dynamic ../../../orte/.libs/ -lnsl -lutil -lm -pthread -Wl,-rpath -Wl,/home/alex/huji/ompi4/lib
/usr/bin/ld: orte-clean.o: undefined reference to symbol 'opal_cmd_line_get_usage_msg'
/usr/bin/ld: note: 'opal_cmd_line_get_usage_msg' is defined in DSO /home/alex/huji/ompi4/lib/ so try adding it to the linker command line
/home/alex/huji/ompi4/lib/ could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [orte-clean] Error 1
make[2]: Leaving directory `/home/alex/huji/openmpi-1.4.4/orte/tools/orte-clean'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/alex/huji/openmpi-1.4.4/orte'
make: *** [install-recursive] Error 1
alex_at_singularity:~/huji/openmpi-1.4.4$ make clean ; ./ ; ./configure --prefix=/home/alex/huji/ompi4 ; make ; make install