[Cppunit-devel] link errors
Brought to you by:
blep
From: John L W. <jo...@sy...> - 2002-01-30 15:03:11
|
Hi.=20 I've sucessfully compiled my code with g++ in cygwin. When I try to = link the code in cygwin I only get errors. See below. g++ -LC:/cppunit-1.6.2/src/cppunit/.libs -lcppunit MessageHandle.o = MessageEngine.o Client.o TestAll.o TestMessageHandle.o -otests collect2: ld terminated with signal 11 [Segmentation fault] TestAll.o: In function `_tfQ27CppUnit10TestResult': /cygdrive/c/synapp/cvs-lbs/synapp/proj/agilent/c:/cppunit-1.6.2/include/c= ppunit/ TestResult.h(.text$__tfQ27CppUnit10TestResult+0x0): multiple definition = of `CppUnit::TestResult type_info function' C:/cppunit-1.6.2/src/cppunit/.libs/libcppunit.dll.a(.text+0x1ea4c):/cygdr= ive/c/c ppunit-1.6.2/src/cppunit/../../include/cppunit/TestResult.h: first = defined here TestAll.o: In function `_tfQ27CppUnit10TestResult': /cygdrive/c/synapp/cvs-lbs/synapp/proj/agilent/c:/cppunit-1.6.2/include/c= ppunit/ TestResult.h(.text$__tfQ27CppUnit4Test+0x0): multiple definition of = `CppUnit::Te st type_info function' C:/cppunit-1.6.2/src/cppunit/.libs/libcppunit.dll.a(.text+0x1ec44):/usr/i= nclude/ g++-3/std/bastring.h: first defined here TestAll.o: In function `_tfQ27CppUnit10TestResult': /cygdrive/c/synapp/cvs-lbs/synapp/proj/agilent/c:/cppunit-1.6.2/include/c= ppunit/ TestResult.h(.text$__tfQ27CppUnit14TextTestResult+0x0): multiple = definition of ` CppUnit::TextTestResult type_info function' C:/cppunit-1.6.2/src/cppunit/.libs/libcppunit.dll.a(.text+0x1eb58):/cygdr= ive/c/c ppunit-1.6.2/src/cppunit/../../include/cppunit/TestResult.h: first = defined here TestAll.o: In function `_tfQ27CppUnit10TestResult': /cygdrive/c/synapp/cvs-lbs/synapp/proj/agilent/c:/cppunit-1.6.2/include/c= ppunit/ TestResult.h(.text$__tfQ27CppUnit9TestSuite+0x0): multiple definition of = `CppUni t::TestSuite type_info function' |