<div>Hi all,hi Andreas<br>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:<br><br>Unresolved:<br>.....<br>Ipopt::SmartPtr<Ipopt::RegisteredOptions>::SmartPtr(void)<br>Ipopt::SmartPtr<Ipopt::Journalist>::SmartPtr(void)<br>Ipopt::SmartPtr<Ipopt::RegisteredOptions>::~SmartPtr(void)<br>Ipopt::SmartPtr<Ipopt::Journalist>::~SmartPtr(void)<br>std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(void)<br>std::basic_ifstream<char, std::char_traits<char> >::open(const char*, int, long)<br>std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream(void)<br>std::basic_ifstream<char, std::char_traits<char> >::close(void)<br>Ipopt::IsValid(const Ipopt::SmartPtr<Ipopt::Journal>&)<br>Ipopt::SmartPtr<Ipopt::RegisteredOptions>::operator ->(void) const <br>Ipopt::SmartPtr<Ipopt::NLP>::operator =(Ipopt::NLP*)<br>Ipopt::GetRawPtr(const Ipopt::SmartPtr<Ipopt::TNLP>&)<br>Ipopt::ConstPtr(const Ipopt::SmartPtr<Ipopt::Journalist>&)<br>Ipopt::SmartPtr<const Ipopt::Journalist>::~SmartPtr(void)<br>Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>::SmartPtr(Ipopt::AlgorithmBuilder*)<br>Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>::~SmartPtr(void)<br>Ipopt::IsNull(const Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>&)<br>Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>::operator =(Ipopt::AlgorithmBuilder*)<br>Ipopt::SmartPtr<Ipopt::AugSystemSolver>::SmartPtr(Ipopt::AugSystemSolver*)<br>....<br>gmake[2]: *** [hs071_cpp] Error 1<br>gmake[2]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt/test'<br>gmake[1]: *** [unitTest] Error 2<br>gmake[1]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.!
6.1/buil
d/Ipopt'<br>gmake: *** [test] Error 2<br><br>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 <br>which I wanted to generate static library other than shared library,the 'gmake test' stage outputs errors as resembling:<br>.......<br>Testing C++ Example...<br> <br> ---- 8< ---- Start of test program output ---- 8< ----<br>resolve_symbols: loader error: dlopen: libipopt.so.0: symbol "GetRawPtr__5IpoptXRCQ15Ipopt33SmartPtr__TQ15Ipopt12ScaledMatrix" unresolved<br> ---- 8< ---- End of test program output ---- 8< ----<br> <br> ******** Test FAILED! ********<br>Output of the test program is above.<br>Testing C Example...<br> <br> ---- 8< ---- Start of test program output ---- 8< ----<br>resolve_symbols: loader error: dlopen: libipopt.so.0: symbol "GetRawPtr__5IpoptXRCQ15Ipopt33SmartPtr__TQ15Ipopt12ScaledMatrix" unresolved<br> ---- 8< ---- End of test program output ---- 8< ----<br> <br> ******** Test FAILED! ********<br>Output of the test program is above.<br>Testing Fortran Example...<br> <br> ---- 8< ---- Start of test program output ---- 8< ----<br>resolve_symbols: loader error: exception system: exiting due to internal error: exception dispatch or unwind stuck in infinite loop<br> ---- 8< ---- End of test program output ---- 8< ----<br> <br> ******** Test FAILED! ********<br>Output of the test program is above.<br>gmake[2]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt/test'<br>gmake[1]: Leaving directory `/usr/users/df8002/gcclqc/Ipopt-3.6.1/build/Ipopt'<br><br><br>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!!!!<br>Regards <br>LiuQuanchang<br><br></div><br><br><span title="neteasefooter"/></span>