[Cppunit-devel] Info on compilation problems
Brought to you by:
blep
From: Hellenga G. <hel...@ba...> - 2003-06-03 20:33:55
|
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? |