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:
> root@ettus-e300:~# 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 mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to