Sorry, I did not google well enough :-( . I found this thread here: https://lists.nongnu.org/archive/html/discuss-gnuradio/2015-02/msg00122.html
and ldd libgnuradio-<mymodname>.so does not show libboost-serialization, so I have to add the library as written by Tom in above's thread. Sorry for bothering you. Best regards Stephan Ludwig Robert Bosch GmbH Corporate Sector Research & Advance Engineering, Communication Technology (CR/AEH4) Renningen 70465 Stuttgart GERMANY www.bosch.com Tel. +49(711)811-8809 Fax +49(711)811-1052 Mobile +49(172)5630639 stephan.ludw...@de.bosch.com Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 14000; Chairman of the Supervisory Board: Franz Fehrenbach; Managing Directors: Dr. Volkmar Denner, Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr. Dirk Hoheisel, Christoph Kübel, Uwe Raschke, Wolf-Henning Scheider, Dr. Werner Struth, Peter Tyroller -----Ursprüngliche Nachricht----- Von: discuss-gnuradio-bounces+stephan.ludwig2=de.bosch....@gnu.org [mailto:discuss-gnuradio-bounces+stephan.ludwig2=de.bosch....@gnu.org] Im Auftrag von Ludwig Stephan (CR/AEH4) Gesendet: Mittwoch, 4. März 2015 15:32 An: discuss-gnuradio@gnu.org Betreff: [Discuss-gnuradio] boost::serialization/archive -> Attribute Error: 'module' object has no attribute '<blockname>' Hello all, I have some problems in getting my OOT module running with boost::serialization (have never used this part of boost before). The library is installed on a recent Kubuntu 14.10 with pybombs GNU radio. Once trying to run a GRC model with a component of this module, I get the error Attribute Error: 'module' object has no attribute '<blockname>'. But let's start from the beginning: I am trying to use the serialization feature of boost (http://www.boost.org/doc/libs/1_57_0/libs/serialization/doc/index.html) in order to be able to make a BLOB out of my transmit data (some integer values and a std::vector<gr_complex>) to be then passed to gr-ieee802-11 blocks. I have hunted the problem down to a minimal example block, which does nothing but has the following two lines in the constructor: std::stringstream serialized_strm; boost::archive::binary_oarchive oa(serialized_strm); All run smoothly (i.e. block does nothing) without the latter line, but once I add boost::archive::binary_oarchive [..], I do get the described error. If I import the module into plain python and try to construct the block - same error message. To the standard header I added: #include <sstream> #include <boost/archive/binary_oarchive.hpp> I have not changed CMakeLists.txt, because boost is already linked by GNU radio (correct?) and such the added part should be. Could you give any hints, how to further hunt down my problem? Any ideas for a solution? Do I have to edit some CMakeLists.txt in order to add the functionality? Where do I have to? Mit freundlichen Grüßen / Best regards Stephan Ludwig Robert Bosch GmbH Corporate Sector Research & Advance Engineering, Communication Technology (CR/AEH4) Renningen 70465 Stuttgart GERMANY www.bosch.com Tel. +49(711)811-8809 Fax +49(711)811-1052 Mobile +49(172)5630639 stephan.ludw...@de.bosch.com Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 14000; Chairman of the Supervisory Board: Franz Fehrenbach; Managing Directors: Dr. Volkmar Denner, Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr. Dirk Hoheisel, Christoph Kübel, Uwe Raschke, Wolf-Henning Scheider, Dr. Werner Struth, Peter Tyroller _______________________________________________ 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