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


Hi,

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 autogen.sh (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?

Thanks,
Alex

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/libopen-rte.la -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/libopen-rte.so -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/libopen-pal.so.0 so try adding it to the linker command line
/home/alex/huji/ompi4/lib/libopen-pal.so.0: 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 ; ./autogen.sh ; ./configure --prefix=/home/alex/huji/ompi4 ; make ; make install