cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rodrirq
Adventurer
Adventurer
145 Views
Registered: ‎04-26-2021

SWIG error during cross-compilation

Jump to solution

Hello, I am cross-compiling gr-limesdr to work as a pluggin for GNU Radio 3.8.

I added GNU Radio using meta-sdr, and cross-compiled LimeSuite.

Now I have to cross-compile gr-limesdr and I manage to do the cmake, but during the make I get an error regarding python3.

 

/bin/sh: /opt/pkg/zynq-7010/build/tmp/work/cortexa9t2hf-neon-xilinx-linux-gnueabi/gnuradio/3.8.2.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: No such file or directory
swig/CMakeFiles/limesdr_swig_swig_doc.dir/build.make:60: recipe for target ‘swig/limesdr_swig_doc.i’ failed
make[2]: *** [swig/limesdr_swig_doc.i] Error 127
CMakeFiles/Makefile2:287: recipe for target ‘swig/CMakeFiles/limesdr_swig_swig_doc.dir/all’ failed
make[1]: *** [swig/CMakeFiles/limesdr_swig_swig_doc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

 

The error is about python3-native. I have installed python3 on PetaLinux, but I don't know if the problem is because I need python3 as a hosttool in sdk or what.

If someone know the reason, let me know.

Thanks.

0 Kudos
1 Solution

Accepted Solutions
rodrirq
Adventurer
Adventurer
63 Views
Registered: ‎04-26-2021
0 Kudos
1 Reply
rodrirq
Adventurer
Adventurer
64 Views
Registered: ‎04-26-2021
0 Kudos