discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] compile problems..


From: Ramakrishnan Muthukrishnan
Subject: Re: [Discuss-gnuradio] compile problems..
Date: 14 Aug 2003 22:20:12 +0530
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

 || On 12 Aug 2003 21:51:45 +0530
 || address@hidden (Ramakrishnan Muthukrishnan) wrote: 

 rm> Hi folks,
 rm> I am still facing problems with compiling on my debian
 rm> system. Here is what I am getting.. I see that the qa_gr.cc
 rm> is not getting compiled and because of which I get linker error.



I made some changes in the autoconf,automake files and was 
able to surmount the above problem. Here is the simple change.

@@ -198,13 +198,13 @@
        qa_gr_mmse_fir_interpolator.cc
  
  
-if MD_CPU_generic
-libgr_la_SOURCES = $(libgr_la_common_SOURCES) $(generic_CODE)
-endif
+# if MD_CPU_generic
+# libgr_la_SOURCES = $(libgr_la_common_SOURCES) $(generic_CODE)
+# endif
  
-if MD_CPU_x86
+#if MD_CPU_x86
 libgr_la_SOURCES = $(libgr_la_common_SOURCES) $(x86_CODE)
-endif
+#endif

Now, after this change, I recompiled the sources and am confronted 
with a new problem. The log is given below.

make[4]: Entering directory `/home/rkrishnan/gnuradio-0.8/src/gnu/atsc'
/bin/sh ../../../libtool --mode=link g++  -g -O2 -Wall -Woverloaded-virtual  -o 
atsc_rx  atsc_rx.o ../../../src/gnu/lib/libgnuradio.la
g++ -g -O2 -Wall -Woverloaded-virtual -o .libs/atsc_rx atsc_rx.o  
../../../src/gnu/lib/.libs/libgnuradio -lrfftw -lfftw -lm -Wl,--rpath 
-Wl,/usr/local/gnuradio/lib
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestAssert::assertImplementation(bool, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, long, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestAssert::assertEquals(double, double, double, long, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::getName() const'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::TestCase[not-in-charge]()'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to `typeinfo for 
CppUnit::TestCase'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::setUp()'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::countTestCases() const'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::TestCase[not-in-charge](std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::runTest()'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::run()'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::~TestCase [not-in-charge]()'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestSuite::TestSuite[in-charge](std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestAssert::assertEquals(long, long, long, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::run(CppUnit::TestResult*)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::toString() const'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestSuite::addTest(CppUnit::Test*)'
../../../src/gnu/lib/.libs/libgnuradio: undefined reference to 
`CppUnit::TestCase::tearDown()'
collect2: ld returned 1 exit status
make[4]: *** [atsc_rx] Error 1
make[4]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src/gnu/atsc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src/gnu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rkrishnan/gnuradio-0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rkrishnan/gnuradio-0.8'
make: *** [all-recursive-am] Error 2
astra:~/gnuradio-0.8$


It appears to me that the autoconfiscation of gnuradio is completely
broken. I am curious to know whether anyone could *ever* compile
gnuradio on a Debian system.

best regards
-- 
    Ramakrishnan                   http://www.hackGNU.org/
    Use Free Software -- Help stamp out Software Hoarding!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]