Info on compilation problems
"Hellenga Gary" <hellenga_gary-Tu/[email protected]> Tue, 03 Jun 2003 14:33:31 -0600
| Newsgroups | gmane.comp.lib.cppunit.devel |
|---|---|
| Message-ID | <[email protected]> |
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: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5