Now, see that the options "-L/user/sbhatnag/gcc-3.4.2/objdir/sparc-sun-solaris2.8/libstdc++-v3/src
are not necessary and are mentioned in the ibcppunit.la file and I removed
Ran gmake again(can't clean as that
will re-cerate the erroneous .la file), and got the above error again.
This time I also removed the reference
to libstdc++.la from the libcppunit.la an viola the build was complete.
OLD dependency_libs=' -lpthread /user/sbhatnag/gccv3.4.2/lib/gcc/sparc-sun-solaris2.8/3.4.2/../../../libstdc++.la
NEW dependency_libs=' -lpthread -L/user/sbhatnag/gcc-3.4.2/objdir/gcc'
It built the DllPluginTester and Simple
exes. but did not do anything for the other examples.
When I do gmake -k check, the check
runs over to other targets after failing in chess.cpp to normal exit.
Ralf Wildenhues <address@hidden>
04/25/2005 02:52 PM
Re: CPPUNIT 1.9.14 32 bit
error from libtool
* address@hidden wrote on Mon,
Apr 25, 2005 at 10:56:01AM CEST:
> I found this BUG :
> http://lists.gnu.org/archive/html/libtool/2004-09/msg00048.html while
> building CPPUNIT 1.9.14 32 bit.
Yes, that is a bug. But the idea outlined in that thread is not
sufficient to fix the bug. See , where I also outline a different
idea which I think might be feasible, but which would be quite a bit of
work (more than I could invest ATM).
> 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
> In file included from main.cpp:6:
> ChessTest.h: In member function `void
> ChessTest.h:19: error: `m_game' undeclared (first use this function)
> Is this happening because of altering the .la file?
I have no idea. I believe you are providing way to little information
in order to be able to even reproduce the bug.
What system is this on? What exactly did you do with the installed
files? Was that even a local install at all, where in?
Note that just deleting library dependencies is not the right thing to
do at all, it has to point to the right libraries instead.
How can we (step by step) reproduce your failure? Which specific
exposed the failure (if that can be answered easily)?