All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe] Issues while building gpsd
@ 2014-07-30 12:56 Andrei Gherzan
  2014-07-30 17:00 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Gherzan @ 2014-07-30 12:56 UTC (permalink / raw)
  To: openembedded

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@GLIBC_PRIVATE'
| //usr/lib/libpthread.so.0: undefined reference to
`__getrlimit@GLIBC_PRIVATE'
| collect2: error: ld returned 1 exit status
| //usr/lib/libpthread.so.0: undefined reference to `__uname@GLIBC_PRIVATE'
| //usr/lib/libpthread.so.0: undefined reference to
`__getrlimit@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe] Issues while building gpsd
  2014-07-30 12:56 [meta-oe] Issues while building gpsd Andrei Gherzan
@ 2014-07-30 17:00 ` Khem Raj
  2014-07-31  9:38   ` Andrei Gherzan
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2014-07-30 17:00 UTC (permalink / raw)
  To: openembeded-devel

On Wed, Jul 30, 2014 at 5:56 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> | //usr/lib/libpthread.so.0: undefined reference to `__uname@GLIBC_PRIVATE'
> | //usr/lib/libpthread.so.0: undefined reference to
> `__getrlimit@GLIBC_PRIVATE'
> | collect2: error: ld returned 1 exit status
> | //usr/lib/libpthread.so.0: undefined reference to `__uname@GLIBC_PRIVATE'
> | //usr/lib/libpthread.so.0: undefined reference to
> `__getrlimit@GLIBC_PRIVATE'
> | collect2: error: ld returned 1 exit status

well gpsd's own build system seems to be not so cross compile
friendly. Figure out why it decided to poke
at your host thread library instead of one from target sysroot


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe] Issues while building gpsd
  2014-07-30 17:00 ` Khem Raj
@ 2014-07-31  9:38   ` Andrei Gherzan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrei Gherzan @ 2014-07-31  9:38 UTC (permalink / raw)
  To: openembedded

On Wed, Jul 30, 2014 at 8:00 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Wed, Jul 30, 2014 at 5:56 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > | //usr/lib/libpthread.so.0: undefined reference to
> `__uname@GLIBC_PRIVATE'
> > | //usr/lib/libpthread.so.0: undefined reference to
> > `__getrlimit@GLIBC_PRIVATE'
> > | collect2: error: ld returned 1 exit status
> > | //usr/lib/libpthread.so.0: undefined reference to
> `__uname@GLIBC_PRIVATE'
> > | //usr/lib/libpthread.so.0: undefined reference to
> > `__getrlimit@GLIBC_PRIVATE'
> > | collect2: error: ld returned 1 exit status
>
> well gpsd's own build system seems to be not so cross compile
> friendly. Figure out why it decided to poke
> at your host thread library instead of one from target sysroot
>

Ok. Thanks. Hoped somebody already saw this before. No luck.


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-31  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-30 12:56 [meta-oe] Issues while building gpsd Andrei Gherzan
2014-07-30 17:00 ` Khem Raj
2014-07-31  9:38   ` Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.