Just getting started with OE and having problems - help!

Mark Butsch mbutsch at syntech-fuelmaster.com
Fri Jan 11 20:27:20 UTC 2008


Hello,

I have justed started working with OpenEmbedded and have run into some
problems.

I am using the "i686-generic" machine and the "angstrom-2008.1" distro
and trying to build the "helloworld" package as a way to learn how OE
works.

OE Build Configuration:
BB_VERSION     = "1.8.9"
OE_REVISION    = "d2ed3d10f5e025325bb94b222f449714369d6378"
TARGET_ARCH    = "i686"
TARGET_OS      = "linux"
MACHINE        = "i686-generic"
DISTRO         = "angstrom"
DISTRO_VERSION = "2008.1-test-20080111"
TARGET_FPU     = ""

When "glibc-intermediate-2.6.1" is compiled, I get many warnings like:

| ftw.c: In function 'process_entry':
| ftw.c:248: warning: inlining failed in call to 'add_object': --param
max-inlin
e-insns-single limit reached
| ftw.c:463: warning: called from here
| ftw.c: In function 'ftw_startup':
| ftw.c:248: warning: inlining failed in call to 'add_object': --param
max-inlin
e-insns-single limit reached
| ftw.c:769: warning: called from here

I also get several occurences of "undefined reference to..." while
compiling "glibc-intermediate-2.6.1" and the build errors out.

|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os: In function `__fork':
| (.text+0x5f0af): undefined reference to
`__sync_bool_compare_and_swap_4'
|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os: In function
`nscd_getpw_r':
| nscd_getpw_r.c:(.text+0xad5e6): undefined reference to
`__sync_fetch_and_add_4'
| nscd_getpw_r.c:(.text+0xad629): undefined reference to
`__sync_fetch_and_add_4'
|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os: In function
`nscd_getgr_r':
| nscd_getgr_r.c:(.text+0xadbb5): undefined reference to
`__sync_fetch_and_add_4'
| nscd_getgr_r.c:(.text+0xadbed): undefined reference to
`__sync_fetch_and_add_4'
|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os: In function
`nscd_gethst_r':
| nscd_gethst_r.c:(.text+0xae26d): undefined reference to
`__sync_fetch_and_add_4'
|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os:nscd_gethst_r.c:(.text+0x
ae2a5): more undefined references to `__sync_fetch_and_add_4' follow
|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os: In function
`__nscd_get_map_ref':
| (.text+0xaf86b): undefined reference to
`__sync_val_compare_and_swap_4'
|
/home/oe/build/tmp/angstrom/work/i686-angstrom-linux/glibc-intermediate-
2.6.1-r1/build-i686-angstrom-linux/libc_pic.os: In function
`__GI___libc_freeres':
| (__libc_freeres_fn+0x5d7): undefined reference to
`__sync_bool_compare_and_swap_4'
| collect2: ld returned 1 exit status

Any help is greatly appreciated.

Mark




More information about the Openembedded-users mailing list