Johnathan Corgan wrote:
GNU Radio 3.2 release candidate 2 is now available for download and testing:
http://gnuradio.org/releases/gnuradio/gnuradio-3.2rc2.tar.gz
http://gnuradio.org/releases/gnuradio/gr-howto-write-a-block-3.2rc2.tar.gz
[etc]
My 3.2-rc2 build fails with the following error:
Making all in tests
make[4]: Entering directory
`/home/jan/gr-build/gnuradio-3.2rc2/gnuradio-core/src/tests'
/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -g -O2
-pthread -pthread -Wall -Woverloaded-virtual -o test_all test_all.o
../../../gnuradio-core/src/lib/libgnuradio-core-qa.la
/home/jan/gr-build/gnuradio-3.2rc2/gnuradio-core/src/lib/libgnuradio-core.la
libtool: link: g++ -g -O2 -g -O2 -pthread -pthread -Wall
-Woverloaded-virtual -o .libs/test_all test_all.o
../../../gnuradio-core/src/lib/.libs/libgnuradio-core-qa.so -L/usr/lib
/usr/lib/libcppunit.so -ldl
/home/jan/gr-build/gnuradio-3.2rc2/gnuradio-core/src/lib/.libs/libgnuradio-core.so
/home/jan/gr-build/gnuradio-3.2rc2/omnithread/.libs/libgromnithread.so
/home/jan/gr-build/gnuradio-3.2rc2/gruel/src/lib/.libs/libgruel.so
-lboost_thread-gcc43-mt-1_35 -lrt /usr/lib/libfftw3f.so -lgsl -lgslcblas
-pthread
../../../gnuradio-core/src/lib/.libs/libgnuradio-core-qa.so: undefined
reference to `CppUnit::assertDoubleEquals(double, double, double,
CppUnit::SourceLine)'
collect2: ld returned 1 exit status
make[4]: *** [test_all] Error 1
make[4]: Leaving directory
`/home/jan/gr-build/gnuradio-3.2rc2/gnuradio-core/src/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jan/gr-build/gnuradio-3.2rc2/gnuradio-core/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/jan/gr-build/gnuradio-3.2rc2/gnuradio-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jan/gr-build/gnuradio-3.2rc2'
make: *** [all] Error 2
This is on Ubuntu 9.04, following the instructions on the wiki
(http://gnuradio.org/trac/wiki/UbuntuInstall). cppunit is 1.12.1-1 as
installed from the Ubuntu repositories. Some output from nm:
j...@ubuntu:~$ nm --demangle /usr/lib/libcppunit.a | grep assertDoubleEquals
<snip/>
00000030 T CppUnit::assertDoubleEquals(double, double, double,
CppUnit::SourceLine, std::string const&)
<snip/>
So there seeems to be an extra parameter in the version of
assertDoubleEquals that I have. According to cppunit documentation,
there are macros with and without the extra parameter (which is a
user-supplied message in case of error).
Thanks,
Jan
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio