discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Porting cgran AIS to the new cmake build system


From: Nick Foster
Subject: Re: [Discuss-gnuradio] Porting cgran AIS to the new cmake build system
Date: Tue, 17 Jul 2012 14:24:52 -0700

Christian,

Are you using the version found here?

https://github.com/bistromath/gr-ais

If not, please use this version, as it is significantly more up-to-date than the one on CGRAN. I'm going to change the CGRAN page to point to the Github repository.

--n

On Tue, Jul 17, 2012 at 1:42 PM, Christian Gagneraud <address@hidden> wrote:
On 17/07/12 21:31, Josh Blum wrote:


On 07/17/2012 01:27 PM, Christian Gagneraud wrote:
Hi,

I tried to build https://cgran.org/wiki/AIS against gnuradio-3.6, and i
fails.
As 3.6 brings in a new build system, I decided to give it a go on the
AIS module. I based everything on gr-howto-write-a-block

[...]

ImportError: /usr/local/lib/python2.7/site-packages/ais/_ais_swig.so:
undefined symbol: _Z14ais_make_shiftv


Just a guess, but

In gnuradio we explicitly export the library symbols. If you arent doing
that for libgnuradioais, make sure that the visibility flag is being set
to default. You can read more here: http://gcc.gnu.org/wiki/Visibility

Hi Josh,

Actually, I've just discovered this was needed! So, yes that was it.
No it's complaining about usrp stuff, but it's another story. I don't have a USRP, I'm using a FUNcube dongle.

BTW, should I make this package install in lib/python2.7/site-packages/gnuradio/ais instead of lib/python2.7/site-packages/ais
Same with the include dir: include/gnuradio/ais instead of include/ais?

I would like to be able to use gnuradio-companion, and pick up the AIS block from the selection list, but it's not there. This might be due to the current install dir. Any comment?

Chris





-josh

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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