Since I'm trying to install CppUnit under MacOS X I can't build some files Plaese take a look of my console display
--------------------------------------------------------------
[macbruegge41:cppunit-1.6.2/src/cppunit] winterm% c++ -shared .libs/NotEqualException.o .libs/RepeatedTest.o .libs/TestAssert.o .libs/TestCase.o .libs/TestSuite.o .libs/TestResult.o .libs/TestFailure.o .libs/TestRegistry.o .libs/Exception.o .libs/TextTestResult.o .libs/TextTestRunner.o .libs/TestFactoryRegistry.o .libs/TypeInfoHelper.o -lc -o .libs/libcppunit-1.6.0.0.2.dylib -lcc_dynamic
/usr/bin/ld: Undefined symbols:
_main
___builtin_vec_new
___udivdi3
___umoddi3
restFP
saveFP
[macbruegge41:cppunit-1.6.2/src/cppunit] winterm%
--------------------------------------------------------------
Can you tell how to buid it or do you now anybody who already install it on MacOS
Note: I didn't have this probleme with Linux
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-12-14
the solution of the problem:
follow the installation instructions('INSTALL'-file):
1. configure
2. // here it changes:
edit the 'libtool' file:
change 'archive_cmds="\$CC -shared '...
to 'archive_cmds="\$CC -dynamiclib '...
continue the installation process...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Since I'm trying to install CppUnit under MacOS X I can't build some files Plaese take a look of my console display
--------------------------------------------------------------
[macbruegge41:cppunit-1.6.2/src/cppunit] winterm% c++ -shared .libs/NotEqualException.o .libs/RepeatedTest.o .libs/TestAssert.o .libs/TestCase.o .libs/TestSuite.o .libs/TestResult.o .libs/TestFailure.o .libs/TestRegistry.o .libs/Exception.o .libs/TextTestResult.o .libs/TextTestRunner.o .libs/TestFactoryRegistry.o .libs/TypeInfoHelper.o -lc -o .libs/libcppunit-1.6.0.0.2.dylib -lcc_dynamic
/usr/bin/ld: Undefined symbols:
_main
___builtin_vec_new
___udivdi3
___umoddi3
restFP
saveFP
[macbruegge41:cppunit-1.6.2/src/cppunit] winterm%
--------------------------------------------------------------
Can you tell how to buid it or do you now anybody who already install it on MacOS
Note: I didn't have this probleme with Linux
Regards
the solution of the problem:
follow the installation instructions('INSTALL'-file):
1. configure
2. // here it changes:
edit the 'libtool' file:
change 'archive_cmds="\$CC -shared '...
to 'archive_cmds="\$CC -dynamiclib '...
continue the installation process...