AnsweredAssumed Answered

Crosscompile the IIO scope

Question asked by on Jul 6, 2015
Latest reply on Jul 20, 2015 by larsc
Branched from an earlier discussion

Thanks, that worked.


I am trying to build iio-oscilloscope from scratch - I am setting



on the Linux on my host (Ubuntu 14.04)


However, I keep getting the following errors at the linking phase:



/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lgthread-2.0

//usr/lib/ file not recognized: File format not recognized

collect2: error: ld returned 1 exit status

make: *** [] Error 1



I have installed libglib2.0-dev, libgtkdatabox-dev, and configured my base ubuntu to get packages for armhf and armel, but it looks like glib and gtkdatabox are not available for these architectures? Do I need to build these from source or are there ubuntu packages that I can install to get this to work?


Apologies for the question, but I have tried a whole number of things but to no avail.