[Ipopt] IPOPT building problem

Tony Kelman kelman at berkeley.edu
Wed Feb 13 13:23:54 EST 2013


Adrian,

Looks like you're running a rather old version of Cygwin gcc (3.4.4). Run 
setup.exe and install the gcc4 and gcc4-fortran packages and try again with 
a more up-to-date version (4.x) and I believe these should go away.

-Tony


-----Original Message----- 
From: Adrian Tica <tikdrian at yahoo.com>
Date: Wed, 13 Feb 2013 04:13:22 -0800 (PST)
To: "ipopt at list.coin-or.org" <ipopt at list.coin-or.org>
Subject: [Ipopt] IPOPT building problem

Hi,

I'm trying to build IPOPT 3.10.x. with cygwin on Windows XP but I have some 
troubles. After the successful configuration when I build the code I have 
the following error:


....

ampl_ipopt.o:ampl_ipopt.cpp:(.text+0x26): undefined reference to 
`___gxx_personality_sj0'
ampl_ipopt.o:ampl_ipopt.cpp:(.text+0x53): undefined reference to 
`__Unwind_SjLj_Register'
ampl_ipopt.o:ampl_ipopt.cpp:(.text+0x113f): undefined reference to 
`__Unwind_SjLj_Unregister'
ampl_ipopt.o:ampl_ipopt.cpp:(.text+0x123e): undefined reference to 
`__Unwind_SjLj_Resume'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
ampl_ipopt.o: bad reloc address 0x0 in section `.ctors'
collect2: ld returned 1 exit status
Makefile:473: recipe for target `ipopt.exe' failed
make[3]: *** [ipopt.exe] Error 1
make[3]: Leaving directory 
`/home/Adrian/CoinIpopt/build/Ipopt/src/Apps/AmplSolver'
Makefile:361: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Adrian/CoinIpopt/build/Ipopt/src/Apps'
Makefile:657: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Adrian/CoinIpopt/build/Ipopt'
Makefile:306: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1


Any idea? What could be the problem? Thanks.

Best regards,
Adrian



More information about the Ipopt mailing list