[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] pybombs cross-compile mako error
From: |
Philip Balister |
Subject: |
Re: [Discuss-gnuradio] pybombs cross-compile mako error |
Date: |
Fri, 13 Nov 2015 10:52:29 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 11/13/2015 10:43 AM, Jason Matusiak wrote:
> Thank you Philip. I blew away my old toolchain, re-grabbed the latest
> and installed it. I can then run the cmake, make, and make install to
> load up the SD card on the E310 without error.
>
> Sadly, it doesn't appear to be 100% right because if I run a python
> script I created in GRC on my PC, I get:
> address@hidden:~# python RFNOCtest2.py Traceback (most recent call
> last):
> File "RFNOCtest2.py", line 12, in <module>
> from gnuradio import uhd
> File "/usr/lib/python2.7/site-packages/gnuradio/uhd/__init__.py", line
> 135, in <module>
> _prepare_uhd_swig()
> File "/usr/lib/python2.7/site-packages/gnuradio/uhd/__init__.py", line
> 38, in _prepare_uhd_swig
> import uhd_swig
> File "/usr/lib/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line
> 28, in <module>
> _uhd_swig = swig_import_helper()
> File "/usr/lib/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line
> 24, in swig_import_helper
> _mod = imp.load_module('_uhd_swig', fp, pathname, description)
> ImportError: libuhd.so.003: wrong ELF class: ELFCLASS64
>
> Which looks like something is not cross compiling properly. Am I
> missing something in pybombs to get libuhd to build properly when doing
> my crosscompile in uhd/host/build-arm?
>
Assuming you are using Release-3 on the E310, make sure the sdk and file
system image come from the same directory. The error looks like this is
not the case.
There is a file on the image /etc/version that has a timestamp in it.
This should be close to the one in the sdk.
Philip
- [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/13
- Re: [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/13
- Re: [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/13
- Re: [Discuss-gnuradio] pybombs cross-compile mako error,
Philip Balister <=
- Re: [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/13
- Re: [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/13
- Re: [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/16
- Re: [Discuss-gnuradio] pybombs cross-compile mako error, Jason Matusiak, 2015/11/17