Re: Info on compilation problems

"Baptiste Lepilleur" <[email protected]> Thu, 5 Jun 2003 08:34:38 +0200
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <017501c32b2c$945fd650$528bc2d4@gaia>
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" <hellenga_gary-Tu/[email protected]>
To: <[email protected]>
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?



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.