bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CPPUNIT 1.9.14 32 bit error from libtool


From: Saurabh . Bhatnagar
Subject: CPPUNIT 1.9.14 32 bit error from libtool
Date: Mon, 25 Apr 2005 14:26:01 +0530


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]