Gentoo Archives: gentoo-embedded

From: Philipp Riegger <lists@××××××××××××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] busybox build error on ppc: readahead not found by linker
Date: Thu, 02 Aug 2007 13:33:00
Message-Id: 1186061195.3909.8.camel@b136a
1 Hi!
2
3 I try to build a stage3 image using catalyst on powerpc and get the
4 following build error when building busybox:
5
6 CC util-linux/umount.o
7 AR util-linux/lib.a
8 LINK busybox_unstripped
9 miscutils/lib.a(readahead.o): In function `readahead_main':
10 readahead.c:(.text.readahead_main+0x58): undefined reference to
11 `readahead'
12 collect2: ld returned 1 exit status
13 make: *** [busybox_unstripped] Error 1
14
15 !!! ERROR: sys-apps/busybox-1.4.1-r2 failed.
16 Call stack:
17 ebuild.sh, line 1615: Called dyn_compile
18 ebuild.sh, line 972: Called qa_call 'src_compile'
19 ebuild.sh, line 44: Called src_compile
20 busybox-1.4.1-r2.ebuild, line 173: Called die
21
22 Some lines before when building readahead.o i get the following:
23
24 CC miscutils/raidautorun.o
25 CC miscutils/readahead.o
26 miscutils/readahead.c: In function 'readahead_main':
27 miscutils/readahead.c:26: warning: implicit declaration of function
28 'readahead'
29 CC miscutils/runlevel.o
30 CC miscutils/rx.o
31
32 Any idea what i can do to be able to build busybox?
33
34 I'm using some older portage snapshot, therefore the old version of
35 busybox. But it's still in the tree, therefore it should wor imho.
36
37 Thanks,
38 Philipp
39
40
41
42 --
43 gentoo-embedded@g.o mailing list

Replies