[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Failed to create xml files
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Failed to create xml files |
Date: |
Wed, 13 Aug 2014 12:06:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Maybe a SWIG issue (needs cleaning and recompiling), or a virtual
function not declared pure virtual... this can be anything, and you'll
need to do the usual C++ debugging steps to figure this out.
Good luck,
M
On 08/11/2014 06:09 AM, Nguyễn Văn Lý wrote:
> Hi Martin,
>
> I wrote the XML files by hand as you suggested, but when I run a grc
> file to test the blocks, there's another error that I don't know.
>
> *Traceback (most recent call last):
> File "/home/van-ly/sandbox/gnuradio-builds/Test/top_block.py", line
> 18, in <module>
> import PNC
> File
> "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/PNC/__init__.py", line
> 45, in <module>
> from PNC_swig import *
> File
> "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/PNC/PNC_swig.py", line
> 28, in <module>
> _PNC_swig = swig_import_helper()
> File
> "/opt/gnuradio-3.7.3/lib/python2.7/dist-packages/PNC/PNC_swig.py", line
> 24, in swig_import_helper
> _mod = imp.load_module('_PNC_swig', fp, pathname, description)
> ImportError: /opt/gnuradio-3.7.3/lib/libgnuradio-PNC.so: undefined
> symbol:
> _ZN2gr3PNC18sync_end_node_impl17shift_window_funcESt6vectorISt7complexIfESaIS4_EES4_i
> *
> You can see my module and my grc test file in the enclosed files.
> Thank you very much,
> Ly
>
>
> Van-Ly Nguyen,
> Signals and Systems Laboratory - SSL
> Faculty of Electronics and Telecommunications - FET
> University of Engineering and Technology - UET
> Vietnam National University, Hanoi - VNU
>
> Tel: (+84) 978 819 406
>
>
>
> On Mon, Aug 11, 2014 at 1:33 AM, Martin Braun <address@hidden
> <mailto:address@hidden>> wrote:
>
> On 10.08.2014 20:06, Nguyễn Văn Lý wrote:
>
> Hi all,
>
> I am building an OOT module. When I run gr_modtool makexml
> beacon_gen, I
> got error:
> GNU Radio module name identified: PNC
> Warning: This is an experimental feature. Don't expect any magic.
>
>
> Well, it does warn you about being experimental.
>
> Searching for matching files in lib/:
> Making GRC bindings for lib/beacon_gen_impl.cc...
> Traceback (most recent call last):
> [...]
>
> Can anyone help me with this?
>
>
> If you post the module somewhere, I can take a look. Don't expect an
> immediate fix, though.
>
> In the meantime, I suggest you write the XML by hand.
>
> Cheers,
> Martin
>
> Thank you,
>
> Ly
>
> Van-Ly Nguyen,
> Signals and Systems Laboratory - SSL
> Faculty of Electronics and Telecommunications - FET
> University of Engineering and Technology - UET
> Vietnam National University, Hanoi - VNU
>
> Tel: (+84) 978 819 406
>
>
>
> _________________________________________________
> Discuss-gnuradio mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/__listinfo/discuss-gnuradio
> <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>
>
> _________________________________________________
> Discuss-gnuradio mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/__listinfo/discuss-gnuradio
> <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>
>