[oe] [meta-oe] Issues while building gpsd

Andrei Gherzan andrei at gherzan.ro
Wed Jul 30 12:56:00 UTC 2014


I'm using Fedora 20 and yocto / meta-oe master / HEAD. While trying to
build gspd I encounter this error:

...
| i586-poky-linux-gcc -m32 -march=i586
--sysroot=/build/tmp/sysroots/qemux86 -o gpspipe.o -c -O2 -pipe -g
-feliminate-unused-debug-types -D_GNU_SOURCE
--sysroot=/media/SSHDD-WRS/Projects/Genivi/2014-07-23-qemux86/tmp/sysroots/qemux86
-Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers
-Wcast-align -Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -g -O0 gpspipe.c
| i586-poky-linux-gcc -m32 -march=i586
--sysroot=/build/tmp/sysroots/qemux86 -o gpxlogger.o -c -O2 -pipe -g
-feliminate-unused-debug-types -D_GNU_SOURCE
--sysroot=/build/tmp/sysroots/qemux86 -Wextra -Wall -Wno-uninitialized
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -g
-O0 gpxlogger.c
| //usr/lib/libpthread.so.0: undefined reference to `__uname at GLIBC_PRIVATE'
| //usr/lib/libpthread.so.0: undefined reference to
`__getrlimit at GLIBC_PRIVATE'
| collect2: error: ld returned 1 exit status
| //usr/lib/libpthread.so.0: undefined reference to `__uname at GLIBC_PRIVATE'
| //usr/lib/libpthread.so.0: undefined reference to
`__getrlimit at GLIBC_PRIVATE'
| collect2: error: ld returned 1 exit status
| scons: *** [gpsdecode] Error 1
| scons: *** [gpsctl] Error 1
| scons: building terminated because of errors.
| ERROR: scons build execution failed.
| WARNING:
/build/tmp/work/i586-poky-linux/gpsd/3.7-r14/temp/run.do_compile.24778:1
exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at
/build/tmp/work/i586-poky-linux/gpsd/3.7-r14/temp/log.do_compile.24778)
ERROR: Task 6 (//meta-openembedded/meta-oe/recipes-navigation/gpsd/
gpsd_3.7.bb, do_compile) failed with exit code '1'

Any hints?
-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12



More information about the Openembedded-devel mailing list