[Ipopt] undefined reference to `ma28part_' in $make test

Prabhu, Chaitanya (GE Infra, Transportation) chaitanya.prabhu at ge.com
Mon Jul 21 00:29:53 EDT 2008


> Hi,
> 
> I have downloaded Ipopt 3.4.1 and followed the steps for compiling on
> QNX 6.3.0 as given in the IPOPT tutorial for downloading, installing..
> 
> The configure and make was fine without any error.
> But when I tried to run the "$ make test" command, the following error
> occurred:
> 
> make[1]: Entering directory `/home/chaitanya/CoinIpopt/Ipopt/test'
> source='hs071_main.cpp' object='hs071_main.o' libtool=no \
> DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
> CC -DHAVE_CONFIG_H -I. -I`echo .` -I../inc  -I`echo ./../src/Common`
> -I`echo ./../src/LinAlg` -I`echo ./../src/LinAlg/TMatrices` -I`echo
> ./../src/Algorithm` -I`echo ./../src/Interfaces`   -O -c -o
> hs071_main.o hs071_main.cpp
> source='hs071_nlp.cpp' object='hs071_nlp.o' libtool=no \
> DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \
> CC -DHAVE_CONFIG_H -I. -I`echo .` -I../inc  -I`echo ./../src/Common`
> -I`echo ./../src/LinAlg` -I`echo ./../src/LinAlg/TMatrices` -I`echo
> ./../src/Algorithm` -I`echo ./../src/Interfaces`   -O -c -o
> hs071_nlp.o hs071_nlp.cpp
> /bin/sh ../../libtool --tag=CXX --mode=link CC  -O   -o hs071_cpp
> hs071_main.o hs071_nlp.o ../src/Interfaces/libipopt.la -lm
> -L/usr/qnx630/target/qnx6/x86/lib
> -L/usr/qnx630/target/qnx6/x86/usr/lib
> -L/usr/qnx630/target/qnx6/x86/opt/lib
> -L/usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0
> -L/usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0/../../..
> -lgfortranbegin -lgfortran -lm
> mkdir .libs
> CC -O -o .libs/hs071_cpp hs071_main.o hs071_nlp.o
> ../src/Interfaces/.libs/libipopt.so -L/usr/qnx630/target/qnx6/x86/lib
> -L/usr/qnx630/target/qnx6/x86/usr/lib
> -L/usr/qnx630/target/qnx6/x86/opt/lib
> -L/usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0
> -L/usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0/../../..
> /usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0/libgfortranbegin.a
> /usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0/libgfortran.so -lm
> -Wl,--rpath -Wl,/home/chaitanya/CoinIpopt/lib -Wl,--rpath
> -Wl,/usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.2.0
> ../src/Interfaces/.libs/libipopt.so: undefined reference to
> `ma28part_'
> cc: /usr/qnx632/host/qnx6/x86/usr/bin/ntox86-ld error 1
> make[1]: *** [hs071_cpp] Error 1
> make[1]: Leaving directory `/home/chaitanya/CoinIpopt/Ipopt/test'
> make: *** [unitTest] Error 2
> 
> --------------------------------------
> 
> After the "$ make" command the .lib directory has the libipopt.so
> file, Not the libipopt.a file as mentioned in the IPOPT document.
> So, may be something to do with make file... I am not much aware..
> 
> I am attaching the After_make_test_and_Install.txt for your reference.
> 
> The After_make_test_and_Install.txt has the sequence of follow for $
> make test and $ make install.
> 
> Please let know what has to be done to correct the compilation and
> have the test example working on the QNX..
> Please suggest.... Looking forward for a great usage in optimization.
>  <<After_make_test_and_Install.txt>> 
> Thanks and Regards,
> Chaitanya Prabhu  
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20080721/75d0c9b6/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: After_make_test_and_Install.txt
Url: http://list.coin-or.org/pipermail/ipopt/attachments/20080721/75d0c9b6/attachment-0001.txt 


More information about the Ipopt mailing list