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 >> [email protected] >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
