[Ipopt] Compiler error, no clear error message
Jose Daniel Lara
jdlara at uwaterloo.ca
Thu Feb 5 12:22:01 EST 2015
Hello, I am having issues compiling IPOPT even after the configure
step showed successful completion. Once the IPOPT starts to compile it
shows error of this sort after it finished compiling Mumps.
Making all in Ipopt
make[1]: Entering directory `/home/admin/Ipopt-3.12.0/BLDdir/Ipopt'
Making all in src/Common
make[2]: Entering directory `/home/admin/Ipopt-3.12.0/BLDdir/Ipopt/src/Common'
make all-am
make[3]: Entering directory `/home/admin/Ipopt-3.12.0/BLDdir/Ipopt/src/Common'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -Iecho ../../../../Ipopt/src/Common -MT
IpDebug?.lo -MD -MP -MF ".deps/IpDebug.Tpo" -c -o IpDebug?.lo
../../../../Ipopt/src/Common/IpDebug.cpp; \
then mv -f ".deps/IpDebug.Tpo" ".deps/IpDebug.Plo"; else rm -f
".deps/IpDebug.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -MT IpDebug?.lo
-MD -MP -MF .deps/IpDebug.Tpo -c
../../../../Ipopt/src/Common/IpDebug.cpp -fPIC -DPIC -o .libs/IpDebug.o
In file included from ../../../../Ipopt/src/Common/IpJournalist.hpp:14:0,
from ../../../../Ipopt/src/Common/IpDebug.cpp:12:
../../../../Ipopt/src/Common/IpReferenced.hpp:15:16: fatal error:
list: No such file or directory
compilation terminated.
make[3]: * [IpDebug?.lo] Error 1
make[3]: Leaving directory `/home/admin/Ipopt-3.12.0/BLDdir/Ipopt/src/Common'
make[2]: * [all] Error 2
make[2]: Leaving directory `/home/admin/Ipopt-3.12.0/BLDdir/Ipopt/src/Common'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/Ipopt-3.12.0/BLDdir/Ipopt'
make: * [all-recursive] Error 1
I have tried the make -k option to test if this related to one
component, however it is happening for almost everyone of the
components. I checked the common folder and tested the installation
using different configuration, however, I still get the same result.
So far I have updated all the C++, C, CPP and Fortran compilers.
Without any improvement.
Also I tried to run the make command inside the Ipopt/src/Common
folder with the same output.
admin at NI-cRIO-9068:~/Ipopt-3.11.9/Ipopt/src/Common# make
make all-am
make[1]: Entering directory `/home/admin/Ipopt-3.11.9/Ipopt/src/Common'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -Iecho . -MT IpDebug?.lo -MD -MP -MF
".deps/IpDebug.Tpo" -c -o IpDebug?.lo IpDebug?.cpp; \
then mv -f ".deps/IpDebug.Tpo" ".deps/IpDebug.Plo"; else rm -f
".deps/IpDebug.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -MT IpDebug?.lo -MD -MP -MF
.deps/IpDebug.Tpo -c IpDebug?.cpp -fPIC -DPIC -o .libs/IpDebug.o
In file included from IpJournalist?.hpp:14:0,
from IpDebug?.cpp:12:
IpReferenced?.hpp:15:16: fatal error: list: No such file or directory
compilation terminated.
make[1]: * [IpDebug?.lo] Error 1
make[1]: Leaving directory `/home/admin/Ipopt-3.11.9/Ipopt/src/Common'
make: * [all] Error 2
More information about the Ipopt
mailing list