-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bastians solution seems to have fixed your problem by adding the gr-blocks library to your linker targets. But now your error exposes that you didn't link against the gr-runtime. Are you sure you have something like set(GR_REQUIRED_COMPONENTS RUNTIME BLOCKS) and not deleted the RUNTIME component, leaving only set(GR_REQUIRED_COMPONENTS BLOCKS) ?
could you please share your project (preferably on github or bitbucket or the like) or at least the CMakeLists (e.g gists.github.com, pastebin, or the like) ? Greetings, Marcus On 11.02.2014 10:41, raf raf wrote: > Hi, > > Thank you Batian for your feedback; > > I try to install a new module based on a blocks of ieeee 802.15.4 > for gnuradio 3.7. > > I followed your indications and the advise of Manu, I found after a > modification a similar error with a message : > > ImportError: /usr/local/lib/libgnuradio-ieee_868_915.so: undefined > symbol: > _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_ > > After using c++filt I got : > > gr::msg_accepter::post(boost::intrusive_ptr<pmt::pmt_base>, > boost::intrusive_ptr<pmt::pmt_base>) > > Please help me. > > >> From: bastian.bloe...@uibk.ac.at Date: Mon, 10 Feb 2014 21:13:39 >> +0100 To: adi...@cs.nyu.edu CC: discuss-gnuradio@gnu.org Subject: >> Re: [Discuss-gnuradio] .so: undefined symbol: >> _ZN2gr6blocks12count_bits16E >> >> Hi Aditya, >> >> just in case the problem still exists, you might miss something >> like this in your cmake files >> >> https://github.com/bastibl/gr-ieee802-15-4/commit/a586256ad5e3fe1cf8c998a68a7276adf6e2d691 >> >> >> Best, >> Bastian >> >> >> On 10 Feb 2014, at 19:40, Aditya Dhananjay <adi...@cs.nyu.edu> >> wrote: >> >>> You could also try "sudo ldconfig". It looks like the linker >>> can't find some required symbols. >>> >>> Happy hacking! >>> >>> >>> On Mon, Feb 10, 2014 at 12:59 PM, Nick Foster >>> <bistrom...@gmail.com> wrote: Usually a "make clean" will solve >>> this. >>> >>> --n >>> >>> >>> On Mon, Feb 10, 2014 at 9:57 AM, raf raf <raf...@hotmail.fr> >>> wrote: Hi all gnuradio users, >>> >>> I have an error when I try to execute a python script after >>> adding a new block. >>> >>> My block is add to a gnuradio 3.7 with gr_modtool with a >>> command : >>> >>> >>> >>> gr_modtool add -t sync packet_sink >>> >>> The module containing a blocks is ieee_868_915. The error is >>> : >>> >>> Traceback (most recent call last): File >>> "./qa_symbols_to_chips_bs.py", line 25, in <module> import >>> ieee_868_915 File >>> "/usr/local/lib/python2.7/dist-packages/ieee_868_915/__init__.py", >>> line 45, in <module> from ieee_868_915_swig import * File >>> "/usr/local/lib/python2.7/dist-packages/ieee_868_915/ieee_868_915_swig.py", >>> line 26, in <module> _ieee_868_915_swig = swig_import_helper() >>> File >>> "/usr/local/lib/python2.7/dist-packages/ieee_868_915/ieee_868_915_swig.py", >>> line 22, in swig_import_helper _mod = >>> imp.load_module('_ieee_868_915_swig', fp, pathname, >>> description) ImportError: >>> /usr/local/lib/libgnuradio-ieee_868_915.so: undefined symbol: >>> _ZN2gr6blocks12count_bits16Ej >>> >>> >>> I tried to delete a lib file libgnuradio-ieee_868_915.so and >>> reinstall all a block, but it didn't give a result. >>> >>> >>> Please help me to fix this error. >>> >>> Thank you. >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >>> >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >> _______________________________________________ Discuss-gnuradio >> mailing list Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > _______________________________________________ Discuss-gnuradio > mailing list Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS+fGrAAoJEAFxB7BbsDrLHTIH/RDGJLZ0zX82hTRCRUP02ppe Fzvf4lBfSY3+5dKu29tuva17KWOXu+vRJN+B1lWkzn8j2CRXjCp8OPowe+VjQsKl H9xFrzpWcDTbYbxWVB+hfj4L/h3zHmEnfM++EF0XtQMMDMTl7RDZTZfKBBT8Tvai B3ogVLz7O93II23pHYO5B08jIL0T60k7t9G3Z+EYm1+jkpK3WBG4SrE186M7AyV1 w2NeYuKhx4sGMw8mkOEl+rGI9tkYErAzzVwBDDdbQILNU70HToMiqV6i2dNvGK// UN6U5sEegRNhin/9PaxPi2OGAhI7/6j2FrK8bMbnME89Ho7greHtLVVEb4pXQ+I= =T7rd -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio