[oe] trying to compile recent gpsd (one with scons) with OE

Henning Heinold heinold at inf.fu-berlin.de
Fri Nov 11 16:12:26 UTC 2011


On Fri, Nov 11, 2011 at 04:14:04PM +0300, Sergey Lapin wrote:
> -L/home/build1/slave/angstrom_build/build/build/tmp-angstrom_2010_x-eglibc/sysroots/crux/usr/lib
> -lm -mthumb-interwork -mno-thumb
> --sysroot=/home/build1/slave/angstrom_build/build/build/tmp-angstrom_2010_x-eglibc/sysroots/crux
> -o driver_garmin.os -c -O2 -pipe -g -feliminate-unused-debug-types -O2
> -fPIC -I/usr/include/libusb-1.0 driver_garmin.c
           ^^^^^^^^^^^^^^^^^
Host includes used, wonder why gcc do not choke anymore.

> | driver_garmin.c:95:20: fatal error: libusb.h: No such file or directory
> | compilation terminated.
> | scons: *** [driver_garmin.os] Error 1
> | scons: building terminated because of errors.
> | + oefatal 'scons build execution failed.'
> | /home/build1/slave/angstrom_build/build/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/gpsd-git-r18.8/temp/run.do_compile.20570:
> line 104: oefatal: command not found
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
looks like scons class needs to changed, but do not know at the moment how it could be done
or what replaces the oe(msg) commands.

Bye Henning




More information about the Openembedded-devel mailing list