[Ipopt] why 'make test' failure?Please give me some hints.

lqc234 lqc234 at 126.com
Fri Dec 18 08:42:14 EST 2009


Hi all,hi Andreas
I compile the Ipopt-3.6.1 on the tru64 unix system with gnu make.The 'gmake' and 'gmake test' stage work well,while 'gmake test' always failed. When I use the configure flags as following : ../configure CC='cc' CXX='cxx' ADD_CFLAGS='-pthread' ADD_CXXFLAGS='-pthread -D__USE_STD_IOSTREAM', the 'gmake test' outputs errors like:

Unresolved:
.....
Ipopt::SmartPtr<Ipopt::RegisteredOptions>::SmartPtr(void)
Ipopt::SmartPtr<Ipopt::Journalist>::SmartPtr(void)
Ipopt::SmartPtr<Ipopt::RegisteredOptions>::~SmartPtr(void)
Ipopt::SmartPtr<Ipopt::Journalist>::~SmartPtr(void)
std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(void)
std::basic_ifstream<char, std::char_traits<char> >::open(const char*, int, long)
std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream(void)
std::basic_ifstream<char, std::char_traits<char> >::close(void)
Ipopt::IsValid(const Ipopt::SmartPtr<Ipopt::Journal>&)
Ipopt::SmartPtr<Ipopt::RegisteredOptions>::operator ->(void) const 
Ipopt::SmartPtr<Ipopt::NLP>::operator =(Ipopt::NLP*)
Ipopt::GetRawPtr(const Ipopt::SmartPtr<Ipopt::TNLP>&)
Ipopt::ConstPtr(const Ipopt::SmartPtr<Ipopt::Journalist>&)
Ipopt::SmartPtr<const Ipopt::Journalist>::~SmartPtr(void)
Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>::SmartPtr(Ipopt::AlgorithmBuilder*)
Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>::~SmartPtr(void)
Ipopt::IsNull(const Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>&)
Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>::operator =(Ipopt::AlgorithmBuilder*)
Ipopt::SmartPtr<Ipopt::AugSystemSolver>::SmartPtr(Ipopt::AugSystemSolver*)
....
gmake[2]: *** [hs071_cpp] Error 1
gmake[2]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt/test'
gmake[1]: *** [unitTest] Error 2
gmake[1]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt'
gmake: *** [test] Error 2

When I use the configure flags as following: ../configure CC='cc' CXX='cxx' ADD_CFLAGS='-pthread' ADD_CXXFLAGS='-pthread -D__USE_STD_IOSTREAM' --disable-shared 
which I wanted to generate static library other than shared library,the 'gmake test' stage outputs errors as resembling:
.......
Testing C++ Example...
 
 ---- 8< ---- Start of test program output ---- 8< ----
resolve_symbols: loader error: dlopen: libipopt.so.0: symbol "GetRawPtr__5IpoptXRCQ15Ipopt33SmartPtr__TQ15Ipopt12ScaledMatrix" unresolved
 ---- 8< ----  End of test program output  ---- 8< ----
 
    ******** Test FAILED! ********
Output of the test program is above.
Testing C Example...
 
 ---- 8< ---- Start of test program output ---- 8< ----
resolve_symbols: loader error: dlopen: libipopt.so.0: symbol "GetRawPtr__5IpoptXRCQ15Ipopt33SmartPtr__TQ15Ipopt12ScaledMatrix" unresolved
 ---- 8< ----  End of test program output  ---- 8< ----
 
    ******** Test FAILED! ********
Output of the test program is above.
Testing Fortran Example...
 
 ---- 8< ---- Start of test program output ---- 8< ----
resolve_symbols: loader error: exception system: exiting due to internal error: exception dispatch or unwind stuck in infinite loop
 ---- 8< ----  End of test program output  ---- 8< ----
 
    ******** Test FAILED! ********
Output of the test program is above.
gmake[2]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt/test'
gmake[1]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt'


So,what I should do? The problems really puzzled me for a lot of days,anyone can give me some hints? Thank a million in advance!!!!
Regards 
LiuQuanchang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20091218/51da584d/attachment.html 


More information about the Ipopt mailing list