discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Compile/swig error


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Compile/swig error
Date: Tue, 30 Oct 2007 10:38:33 +0000
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Alex Young wrote:
Eric Blossom wrote:
command line, and enter "from gnuradio import gr" and this is what i get:
You need to make install from gnuradio-core.  You're not rebuilding
the swig glue.



Thanks Eric.  I tried that and ran into this problem:

g++ -g -O2 -Wall -Woverloaded-virtual -pthread -o .libs/benchmark_dotprod
benchmark_dotprod.o ../../../gnuradio-core/src/lib/.libs/libgnuradio-core.so
../../../gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined
reference to `vtable for gr_interp_test_bb'
collect2: ld returned 1 exit status
make[2]: *** [benchmark_dotprod] Error 1
make[2]: Leaving directory
`/work/gnuradio_src/trunk/gnuradio-core/src/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/gnuradio_src/trunk/gnuradio-core/src'
make: *** [all-recursive] Error 1

All I could find out about any vtable errors was something about gcc and
g++, but I haven't updated anything on my system except the actual gnuradio
source.
Any other suggestions?

Thanks,
Alex Young
Alex,

Have you made a destructor function for the class? Those errors tend to pop up when you haven't properly overloaded the virtual functions.

Tom






reply via email to

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