I found this BUG : http://lists.gnu.org/archive/html/libtool/2004-09/msg00048.html while building CPPUNIT 1.9.14 32 bit.
I have deleted the -L refences to libstdc++ and .la from the dependencies of libcppunit.a .
The library is built but fails in"gmake check" giving this error.
In file included from main.cpp:6:
ChessTest.h: In member function `void ChessTest<GAMECLASS>::testNumberOfPieces()':
ChessTest.h:19: error: `m_game' undeclared (first use this function)
ChessTest.h:19: error: (Each undeclared identifier is reported only once for each function it appears in.)
ChessTest.h:19: error: no matching function for call to `CppUnit::Asserter::failIf(<type error>, CppUnit::Message&, CppUnit::SourceLine&)'
../../include/cppunit/Asserter.h:66: note: candidates are: static void CppUnit::Asserter::failIf(bool, const CppUnit::Message&, const CppUnit::SourceLine&)
../../include/cppunit/Asserter.h:77: note: static void CppUnit::Asserter::failIf(bool, std::string, const CppUnit::SourceLine&)
Is this happening because of altering the .la file?
warm regards
Saurabh
_______________________________________________ Bug-libtool mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-libtool
