[oe] task base build Error in OE

chanemouganandam saravanan schane at osmozis.com
Mon Sep 17 09:32:11 UTC 2007


Hi all,

I am a newbie to OE and started trying to setup and build "angstrom-minimal-image_with_mtdutils" using Openembedded on my 
Linux x86 host development machine running linux 2.6.8-3-k7.

Using Openembedded getting started, I have installed all the required packages and when I start building the task base , I get the
following error message ( multiple definition  of `__i686.get_pc_thunk.bx' )

schane:/stuff# bitbake taks base
Foo None
NOTE: Handling BitBake files: \ (4684/4684) [100 %]
NOTE: Parsing finished. 0 cached, 4440 parsed, 244 skipped, 0 masked.
NOTE: build 200709171006: started

OE Build Configuration:
BB_VERSION     = "1.8.9"
OE_REVISION    = "8071f5c572ec78c0b57e4e56c6e31dfd9a26c414"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-uclibcgnueabi"
MACHINE        = "compulab-pxa270"
DISTRO         = "angstrom"
DISTRO_VERSION = "2007.9-test-20070917"
TARGET_FPU     = "soft"

NOTE: Resolving missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 74 of 1079 (ID: 615, /stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb, do_compile)
NOTE: package gettext-native-0.14.1: started
NOTE: package gettext-native-0.14.1-r5: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in /stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/temp/log.do_compile.32052
NOTE: Task failed: /stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/temp/log.do_compile.32052
NOTE: package gettext-native-0.14.1-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gettext-native-0.14.1: failed
ERROR: Build of /stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb do_compile failed
ERROR: Task 615 (/stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 73 tasks of which 73 didn't need to be rerun and 1 failed.
ERROR: '/stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb' failed
schane:/stuff#                                                                         


Looking into log file  /stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/temp/log.do_compile.32052 shows ::::
....
gcc -shared  .libs/allocsa.o .libs/argmatch.o .libs/backupfile.o .libs/addext.o .libs/basename.o .libs/c-ctype.o .libs/classpath.o .libs/closeout.o .libs/copy-file.o .libs/csharpcomp.o .libs/csharpexec.o .libs/error.o .libs/error-progname.o .libs/execute.o .libs/fatal-signal.o .libs/findprog.o .libs/fstrcmp.o .libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/getopt.o .libs/getopt1.o .libs/hash.o .libs/javacomp.o .libs/javaexec.o .libs/linebreak.o .libs/mbswidth.o .libs/obstack.o .libs/concatpath.o .libs/pipe-bidi.o .libs/pipe-in.o .libs/pipe-out.o .libs/progname.o .libs/progreloc.o .libs/safe-read.o .libs/safe-write.o .libs/sh-quote.o .libs/stpncpy.o .libs/strtoul.o .libs/tmpdir.o .libs/wait-process.o .libs/xmalloc.o .libs/xstrdup.o .libs/xallocsa.o .libs/xerror.o .libs/xreadlink.o .libs/xsetenv.o .libs/localcharset.o  -L/stuff/tmp/staging/i686-linux/lib -lc  -Wl,-rpath-link -Wl,/stuff/tmp/staging/i686-linux/lib -Wl,-rpath -Wl,/stuff/tmp/staging/i686-linux/lib -Wl,-O1 -Wl,-soname -Wl,libgettextlib-0.14.1.so -o .libs/libgettextlib-0.14.1.so
/usr/lib/libc_nonshared.a(atexit.oS)(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [libgettextlib.la] Error 1
make[3]: Leaving directory `/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/gettext-0.14.1/gettext-tools/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/gettext-0.14.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/gettext-0.14.1/gettext-tools'
make: *** [all-recursive] Error 1
FATAL: oe_runmake failed


The problem is with multiple definition of `__i686.get_pc_thunk.bx' found in /usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o and /usr/lib/libc_nonshared.a(atexit.oS).
Could any one tell me how to solve this dependency problem of looking into the /usr/lib/gcc-lib/i486-linux on the host ?

Regards,
Sara
R&D Eningeer - OSMOZIS
Montpellier


More information about the Openembedded-devel mailing list