Open chrlymurphy opened 7 years ago
Sorry for the delay. It seems as though you do not have CppUnit installed, or perhaps it's not finding the library to link against, or... Not sure. Based on the error messages, it does seem to be finding at least the CppUnit headers. Perhaps partial or multiple CppUnit installs throughout your filesystem?
I believe I have all of the pre-requisites installed. Ideas? Help please :) Sorry for the formatting, but I copied the error and inserted into a new text file. Error:, boost::shared_ptr)'
libgnuradio-tpms.so: undefined reference to
[ 14%] Built target gnuradio-tpms [ 18%] Linking CXX executable test-tpms CMakeFiles/test-tpms.dir/test_tpms.cc.o: In function
main': test_tpms.cc:(.text.startup+0x223): undefined reference toCppUnit::XmlOutputter::XmlOutputter(CppUnit::TestResultCollector*, std::ostream&, std::string)' test_tpms.cc:(.text.startup+0x294): undefined reference to
CppUnit::TextTestRunner::run(std::string, bool, bool, bool)' CMakeFiles/test-tpms.dir/qa_tpms.cc.o: In functionqa_tpms::suite()': qa_tpms.cc:(.text+0x41): undefined reference to
CppUnit::TestSuite::TestSuite(std::string)' qa_tpms.cc:(.text+0x79): undefined reference toCppUnit::TestNamer::getFixtureName() const' qa_tpms.cc:(.text+0x98): undefined reference to
CppUnit::TestSuite::TestSuite(std::string)' qa_tpms.cc:(.text+0x1e5): undefined reference toCppUnit::TestSuiteBuilderContextBase::getTestNameFor(std::string const&) const' qa_tpms.cc:(.text+0x21c): undefined reference to
CppUnit::TestCase::TestCase(std::string const&)' qa_tpms.cc:(.text+0x2cc): undefined reference toCppUnit::TestNamer::getFixtureName() const' qa_tpms.cc:(.text+0x2eb): undefined reference to
CppUnit::TestSuite::TestSuite(std::string)' qa_tpms.cc:(.text+0x42d): undefined reference toCppUnit::TestSuiteBuilderContextBase::getTestNameFor(std::string const&) const' qa_tpms.cc:(.text+0x464): undefined reference to
CppUnit::TestCase::TestCase(std::string const&)' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms10qa_ask_envE[_ZTVN2gr4tpms10qa_ask_envE]+0x40): undefined reference toCppUnit::TestCase::getName() const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms10qa_ask_envE[_ZTVN2gr4tpms10qa_ask_envE]+0x48): undefined reference to
CppUnit::Test::findTestPath(std::string const&, CppUnit::TestPath&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms10qa_ask_envE[_ZTVN2gr4tpms10qa_ask_envE]+0x58): undefined reference toCppUnit::Test::findTest(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms10qa_ask_envE[_ZTVN2gr4tpms10qa_ask_envE]+0x60): undefined reference to
CppUnit::Test::resolveTestPath(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE]+0x40): undefined reference toCppUnit::TestCase::getName() const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE]+0x48): undefined reference to
CppUnit::Test::findTestPath(std::string const&, CppUnit::TestPath&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE]+0x58): undefined reference toCppUnit::Test::findTest(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms10qa_ask_envEEE]+0x60): undefined reference to
CppUnit::Test::resolveTestPath(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms26qa_fixed_length_frame_sinkE[_ZTVN2gr4tpms26qa_fixed_length_frame_sinkE]+0x40): undefined reference toCppUnit::TestCase::getName() const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms26qa_fixed_length_frame_sinkE[_ZTVN2gr4tpms26qa_fixed_length_frame_sinkE]+0x48): undefined reference to
CppUnit::Test::findTestPath(std::string const&, CppUnit::TestPath&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms26qa_fixed_length_frame_sinkE[_ZTVN2gr4tpms26qa_fixed_length_frame_sinkE]+0x58): undefined reference toCppUnit::Test::findTest(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN2gr4tpms26qa_fixed_length_frame_sinkE[_ZTVN2gr4tpms26qa_fixed_length_frame_sinkE]+0x60): undefined reference to
CppUnit::Test::resolveTestPath(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE]+0x40): undefined reference toCppUnit::TestCase::getName() const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE]+0x48): undefined reference to
CppUnit::Test::findTestPath(std::string const&, CppUnit::TestPath&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE]+0x58): undefined reference toCppUnit::Test::findTest(std::string const&) const' CMakeFiles/test-tpms.dir/qa_tpms.cc.o:(.rodata._ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE[_ZTVN7CppUnit10TestCallerIN2gr4tpms26qa_fixed_length_frame_sinkEEE]+0x60): undefined reference to
CppUnit::Test::resolveTestPath(std::string const&) const' libgnuradio-tpms.so: undefined reference togr::block::block(std::string const&, boost::shared_ptr<gr::io_signature>, boost::shared_ptr<gr::io_signature>)' libgnuradio-tpms.so: undefined reference to
gr::sync_block::sync_block(std::string const&, boost::shared_ptrpmt::string_to_symbol(std::string const&)' collect2: error: ld returned 1 exit status lib/CMakeFiles/test-tpms.dir/build.make:187: recipe for target 'lib/test-tpms' failed make[2]: *** [lib/test-tpms] Error 1 CMakeFiles/Makefile2:174: recipe for target 'lib/CMakeFiles/test-tpms.dir/all' failed make[1]: *** [lib/CMakeFiles/test-tpms.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2