Hi, I try to compile a small C++ QT program from the CPPUNIT distribution under cygwin and encounter a linker error.
$ make g++ -Wl,--enable-runtime-pseudo-reloc -o example ExampleTestCase.o Main.o -L/ usr/lib/qt3/lib -L/usr/local/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lpthread -lcppunit -lqttestrunner /usr/local/lib/libcppunit.a(TestFactoryRegistry.o):TestFactoryRegistry.cpp:(.tex t$_ZN7CppUnit23TestFactoryRegistryList11getRegistryERKSs[CppUnit::TestFactoryReg istryList::getRegistry(std::basic_string<char, std::char_traits<char>, std::allo cator<char> > const&)]+0x29): undefined reference to `__assert' collect2: ld returned 1 exit status make: *** [example] Error 1 I compiled cppunit-library as a mingw32 (using -mno-cygwin) application and libqttestrunner as an cygwin library. Any hints ? Thomas -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/