Forum: GNU Radio undefined symbols, causes?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dc48f9c00e3e6de9640898a531c26d89?d=identicon&s=25 Charles Swiger (Guest)
on 2006-04-28 21:07
(Received via mailing list)
Any tips what could cause this, Python does not like the
'U'ndefined symbol.


.../gnuradio/_atsc.so: undefined symbol: _Z14atsc_make_fpllv


$ nm _atsc.so | grep atsc_make_fpll
0004e9c0 T _Z14atsc_make_fplld
         U _Z14atsc_make_fpllv



Checking the .libs objects:

$ nm atsc_fpll.o | grep atsc_make_fpll
00000cf0 T _Z14atsc_make_fplld


but:

$ nm atsc.o | grep atsc_make_fpll
         U _Z14atsc_make_fpllv             <--- oh no!!!



SWIG missing something.
Files attached.

tia
--Chuck
D0731a285df9fc031514ba2dd01f2380?d=identicon&s=25 Ilia Mirkin (Guest)
on 2006-04-28 21:20
(Received via mailing list)
Usually when something like this happens, you have some versioning
problems
between interfaces. And indeed your files reveal this:

.h:

atsc_fpll_sptr atsc_make_fpll();

.cc:

atsc_fpll_sptr atsc_make_fpll(double a_initial_freq) { ... }

You need to figure out which interface is the right one, and use that.

I think that "f" means float, and "v" means void, for the arguments in
the name
mangling.

  -Ilia

Quoting Charles Swiger <cswiger@musicriver.homeunix.com>:
Dc48f9c00e3e6de9640898a531c26d89?d=identicon&s=25 Charles Swiger (Guest)
on 2006-04-28 22:37
(Received via mailing list)
On Fri, 2006-04-28 at 15:16 -0400, Ilia Mirkin wrote:
>
> You need to figure out which interface is the right one, and use that.
>

Ok, changed all to atsc_make_fpll() and that works.

Ideally it would take an argument for initial_freq but I'll sort that
out 'later'.


Tks
--Chuck
Dc48f9c00e3e6de9640898a531c26d89?d=identicon&s=25 Charles Swiger (Guest)
on 2006-04-28 23:10
(Received via mailing list)
On Fri, 2006-04-28 at 15:16 -0400, Ilia Mirkin wrote:

> You need to figure out which interface is the right one, and use that.
>

In small repayment for your assistance, here's two screenshots. First
is a local station live off the air, in 20MSps float centered on
5.75Mhz:

http://webpages.charter.net/cswiger/wchs_fc5.75.jpg

and the same after FPLL processing in gnuradio 2.x :

http://webpages.charter.net/cswiger/wchs_fc0.jpg

with the mixer image not yet filtered out.

--Chuck
This topic is locked and can not be replied to.