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: Josh Blum
Subject: Re: [Discuss-gnuradio] Porting cgran AIS to the new cmake build system
Date: Tue, 17 Jul 2012 13:53:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1


On 07/17/2012 01:42 PM, Christian Gagneraud 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?
> 

It should just be a matter of setting the desired install directory in
the CMakeLists.txt

> Chris
> 
> 
> 
>>
>> -josh
>>
>> _______________________________________________
>> 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]