Gentoo Archives: gentoo-embedded

From: Isidore Ducasse <ducasse.isidore@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Update the chroot jail problem
Date: Thu, 14 Jun 2007 17:15:23
Message-Id: 20070614191412.58112ee9@Bazaar
In Reply to: Re: [gentoo-embedded] Update the chroot jail problem by The MoonSeeker
1 le Wed, 30 May 2007 10:49:55 +0200
2 The MoonSeeker <themoonseeker@×××××.com> a écrit:
3
4 > I added "sys-apps/findutils ~x86" in /etc/portage/package.keywords
5 > but I still have the problem :
6 [...]
7 > i386-gentoo-linux-uclibc-gcc -Os -pipe -Wl,-z,relro -o find
8 > ftsfind.o ./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a
9 > ../gnulib/lib/libgnulib.a(close-stream.o): In function `close_stream':
10 > close-stream.c:(.text+0xb): warning:
11 > ./libfindtools.a(parser.o): In function `get_relative_timestamp':
12 > parser.c:(.text+0xca0): undefined reference to `modf'
13 > collect2: ld returned 1 exit status
14
15 Now you have a real compiling problem. Things you could do are:
16
17 - send details about your machine to the list (gcc version, architecture, used libc, etc. basically, everything contained in emerge --info) in case someone knows a better answer than mine.
18 - seek on a search engine with keywords extracted of the error log above to find a known workaround. This involves patching code by hand, sometimes it's doable in a small amount of time. Have a go for bugs.gentoo.org too: your package is ~i386 against uclibc, the bug can be worked out over there.
19 - look for a replacement find command. Try configuring busybox by hand, it may provide an optional one. The busybox ebuild has a "configure" or something USE flag that allows to provide a main .configure .
20
21 Good luck!
22 --
23 gentoo-embedded@g.o mailing list