my project use cppunit 1.10.2 under Linux 2.4.x,
it can't pass the linkage saying dozen's of unresolved reference to cppunit's function,for example:
CXmlTestSuite.o(.gnu.linkonce.r._ZTVN7CppUnit10TestCallerIN4Test13CXmlTestSuiteEEE+0x30):/home/hsh/xproject/DEVELOPER/Huangshuhuai/UnitTester/CXmlTestSuite.cpp:27: undefined reference to `CppUnit::Test::resolveTestPath(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const&) const'
But I have specified -lcppunit in my Makefile,i think there must be some differens between the cppunit library's setting and my project's setting,but i don't know how to figure it out....
Any one can help me to solve this problem?
Thanks in advance.
Log in to post a comment.