1 |
hmm, this guy had a similar problem, and it turned out his path was |
2 |
incorrect: |
3 |
|
4 |
http://www.linuxquestions.org/questions/history/339554 |
5 |
|
6 |
-jason pepas |
7 |
|
8 |
On Fri, Sep 16, 2005 at 08:34:43AM -0500, Jason Pepas wrote: |
9 |
> Hi, |
10 |
> |
11 |
> I have an asus wl500g (same chip as the linksys wrt54g). I put openwrt |
12 |
> on it and chrooted into a |
13 |
> experimental/mips/embedded/stages/stage1-mipsel-uclibc-2005.0.tar.bz2 |
14 |
> tarball, with the idea of changing the profile and rebuiling. |
15 |
> |
16 |
> I set up make.conf like so: |
17 |
> |
18 |
> CFLAGS="-Os -pipe -march=mips1" |
19 |
> CHOST="mipsel-unknown-linux-gnu" |
20 |
> |
21 |
> and the profile like so: |
22 |
> |
23 |
> make.profile -> /usr/portage/profiles/default-linux/mips/2005.0 |
24 |
> |
25 |
> then ran scripts/bootstrap.sh |
26 |
> |
27 |
> |
28 |
> gnuconfig had some bus errors, but didn't stop the script: |
29 |
> |
30 |
> >>> Install gnuconfig-20050602 into |
31 |
> >>> /var/tmp/portage/gnuconfig-20050602/image/ category sys-devel |
32 |
> man: |
33 |
> prepallstrip: |
34 |
> strip: strip --strip-unneeded |
35 |
> strip: strip --strip-unneeded |
36 |
> usr/share/gnuconfig/config.sub |
37 |
> /usr/lib/portage/bin/prepstrip: line 19: 12405 Bus error |
38 |
> ${STRIP} -g "${x}" |
39 |
> usr/share/gnuconfig/config.sub |
40 |
> /usr/lib/portage/bin/prepstrip: line 19: 12406 Bus error |
41 |
> ${STRIP} "${x}" |
42 |
> usr/share/gnuconfig/config.sub |
43 |
> /usr/lib/portage/bin/prepstrip: line 19: 12407 Bus error |
44 |
> ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}" |
45 |
> readelf: Error: Unable to read in 0x656e bytes of section headers |
46 |
> readelf: Error: Not an ELF file - it has the wrong magic bytes at the |
47 |
> start |
48 |
> usr/share/gnuconfig/config.guess |
49 |
> /usr/lib/portage/bin/prepstrip: line 19: 12411 Bus error |
50 |
> ${STRIP} -g "${x}" |
51 |
> usr/share/gnuconfig/config.guess |
52 |
> /usr/lib/portage/bin/prepstrip: line 19: 12412 Bus error |
53 |
> ${STRIP} "${x}" |
54 |
> usr/share/gnuconfig/config.guess |
55 |
> /usr/lib/portage/bin/prepstrip: line 19: 12413 Bus error |
56 |
> ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}" |
57 |
> readelf: Error: Unable to read in 0x6d65 bytes of section headers |
58 |
> readelf: Error: Not an ELF file - it has the wrong magic bytes at the |
59 |
> start |
60 |
> >>> Completed installing gnuconfig-20050602 into |
61 |
> >>> /var/tmp/portage/gnuconfig-20050602/image/ |
62 |
> |
63 |
> |
64 |
> and glibc failed during configure: |
65 |
> |
66 |
> checking for suffix of object files... configure: error: cannot compute |
67 |
> suffix of object files: cannot compile |
68 |
> See `config.log' for more details. |
69 |
> |
70 |
> !!! ERROR: sys-libs/glibc-2.3.5 failed. |
71 |
> !!! Function glibc_do_configure, Line 938, Exitcode 1 |
72 |
> !!! failed to configure glibc |
73 |
> |
74 |
> |
75 |
> any ideas? I see the mips project website was just updated today, and I |
76 |
> just realized last night that the cobalt images are little endian (the |
77 |
> asus wl500g is little endian), so I'll try chrooting into one of those |
78 |
> images next. |
79 |
> |
80 |
> Thanks, |
81 |
> Jason Pepas |
82 |
> |
83 |
> -- |
84 |
> gentoo-mips@g.o mailing list |
85 |
-- |
86 |
gentoo-mips@g.o mailing list |