[Ipopt] Compiler error, no clear error message

Tony Kelman kelman at berkeley.edu
Thu Feb 5 15:41:24 EST 2015


I've never seen that. What kind of platform is this? What compiler versions? 
If you comment out the line

#include <list>

from line 15 of Ipopt/src/Common/IpReferenced.hpp, what happens?

-Tony


-----Original Message----- 
From: Jose Daniel Lara
Sent: Thursday, February 05, 2015 9:22 AM
To: ipopt at list.coin-or.org
Subject: [Ipopt] Compiler error, no clear error message

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




_______________________________________________
Ipopt mailing list
Ipopt at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/ipopt 



More information about the Ipopt mailing list