AnsweredAssumed Answered

Crosscompile the IIO scope

Question asked by apillai2011@gmail.com 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

ARCH=arm

CROSS_COMPILE=arm-linux-gnueabi-

on the Linux on my host (Ubuntu 14.04)

 

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

================

LD      libosc.so

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

//usr/lib/libgtkdatabox.so: file not recognized: File format not recognized

collect2: error: ld returned 1 exit status

make: *** [libosc.so] 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.

 

Thanks,

Arun

Outcomes