Get the lastest snapshot (1.9.11) and try using the following configure
line:
./configure CXX=CC CXXFLAGS="-pta -instances=static -mt
-xtarget=generic -g -features=no%transitions
-xildoff" LD=CC LDFLAGS=-xildoff
Baptiste.
----- Original Message -----
From: "Hellenga Gary" <hel...@ba...>
To: <cpp...@li...>
Sent: Tuesday, June 03, 2003 10:33 PM
Subject: [Cppunit-devel] Info on compilation problems
> I'm having a build problem I don't see mentioned in any of the INSTALL,
> README, or BUGS files.
>
> I downloaded the tar.gz file for CppUnit version 1.8.0, and attempted to
> build it on our Sun Blade 1000, running Solaris 2.8. I ran 'configure
> CC=cc CXX=CC' (using Sun Forte 6.2 compiler), then 'make'. All appeared
> to complete fine. When I ran 'make check', though, I got a lot of
> Undefined symbol errors while linking. I get these same link errors
> when I try to link my own test files with the CppUnit libraries.
>
> I can build CppUnit using gcc 2.95.3 (the 'make check' appears to
> "succeed" (failed as intended)), but my test files won't link with the
> GCC-produced lib, due to name-mangling diffs with the Sun C++ compiler.
> Any suggestions on how to proceed?
|