<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am a newbie to OE and started trying to
setup and build "angstrom-minimal-image_with_mtdutils" using Openembedded on my
</FONT></DIV>
<DIV><FONT face=Arial size=2>Linux x86 host development </FONT><FONT face=Arial
size=2>machine running linux 2.6.8-3-k7.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Using Openembedded getting started, I have
installed all the required packages and when I start building the task base , I
get the</FONT></DIV>
<DIV><FONT face=Arial size=2>following error message ( multiple definition
of <FONT face="Times New Roman" size=3>`__i686.get_pc_thunk.bx'
)</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>schane:/stuff# bitbake taks base</FONT><FONT
face=Arial size=2></FONT></DIV>
<DIV>Foo None<BR>NOTE: Handling BitBake files: \ (4684/4684) [100 %]<BR>NOTE:
Parsing finished. 0 cached, 4440 parsed, 244 skipped, 0 masked.<BR>NOTE: build
200709171006: started<BR><BR>OE Build
Configuration:<BR>BB_VERSION =
"1.8.9"<BR>OE_REVISION =
"8071f5c572ec78c0b57e4e56c6e31dfd9a26c414"<BR>TARGET_ARCH =
"arm"<BR>TARGET_OS =
"linux-uclibcgnueabi"<BR>MACHINE =
"compulab-pxa270"<BR>DISTRO =
"angstrom"<BR>DISTRO_VERSION =
"2007.9-test-20070917"<BR>TARGET_FPU =
"soft"<BR><BR>NOTE: Resolving missing task queue dependencies<BR>NOTE: Preparing
runqueue<BR>NOTE: Executing runqueue<BR>NOTE: Running task 74 of 1079 (ID: 615,
/stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb,
do_compile)<BR>NOTE: package gettext-native-0.14.1: started<BR>NOTE: package
gettext-native-0.14.1-r5: task do_compile: started<BR>ERROR: function do_compile
failed<BR>ERROR: see log in
/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/temp/log.do_compile.32052<BR>NOTE:
Task failed:
/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/temp/log.do_compile.32052<BR>NOTE:
package gettext-native-0.14.1-r5: task do_compile: failed<BR>ERROR: TaskFailed
event exception, aborting<BR>NOTE: package gettext-native-0.14.1:
failed<BR>ERROR: Build of
/stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb do_compile
failed<BR>ERROR: Task 615
(/stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb,
do_compile) failed<BR>NOTE: Tasks Summary: Attempted 73 tasks of which 73 didn't
need to be rerun and 1 failed.<BR>ERROR:
'/stuff/org.openembedded.dev/packages/gettext/gettext-native_0.14.1.bb'
failed<BR>schane:/stuff#
<BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Looking into log file </FONT>
/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/temp/log.do_compile.32052
shows ::::<BR>....<BR>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<BR><STRONG>/usr/lib/libc_nonshared.a(atexit.oS)(.text.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_pc_thunk.bx':<BR></STRONG>:<STRONG> multiple definition
of
`__i686.get_pc_thunk.bx'</STRONG><BR>/<STRONG>usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
first defined here<BR>collect2: ld returned 1 exit status<BR></STRONG>make[3]:
*** [libgettextlib.la] Error 1<BR>make[3]: Leaving directory
`/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/gettext-0.14.1/gettext-tools/lib'<BR>make[2]:
*** [all-recursive] Error 1<BR>make[2]: Leaving directory
`/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/gettext-0.14.1/gettext-tools'<BR>make[1]:
*** [all] Error 2<BR>make[1]: Leaving directory
`/stuff/tmp/work/i686-linux/gettext-native-0.14.1-r5/gettext-0.14.1/gettext-tools'<BR>make:
*** [all-recursive] Error 1<BR>FATAL: oe_runmake failed<BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem is with multiple definition of <FONT
face="Times New Roman" size=3>`__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).</FONT></FONT></DIV>
<DIV>Could any one tell me how to solve this dependency problem of looking
into the /usr/lib/gcc-lib/i486-linux on the host ?</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Sara<BR>R&D Eningeer -
OSMOZIS<BR>Montpellier</FONT></DIV></FONT></DIV></BODY></HTML>