Gentoo Archives: gentoo-mips

From: Jason Pepas <cell@×××××××××××.edu>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] bootstrap.sh on asus wl500g
Date: Fri, 16 Sep 2005 13:43:08
Message-Id: 20050916134248.GC1024@ices.utexas.edu
In Reply to: [gentoo-mips] bootstrap.sh on asus wl500g by Jason Pepas
hmm, this guy had a similar problem, and it turned out his path was
incorrect:

http://www.linuxquestions.org/questions/history/339554

-jason pepas

On Fri, Sep 16, 2005 at 08:34:43AM -0500, Jason Pepas wrote:
> Hi, > > I have an asus wl500g (same chip as the linksys wrt54g). I put openwrt > on it and chrooted into a > experimental/mips/embedded/stages/stage1-mipsel-uclibc-2005.0.tar.bz2 > tarball, with the idea of changing the profile and rebuiling. > > I set up make.conf like so: > > CFLAGS="-Os -pipe -march=mips1" > CHOST="mipsel-unknown-linux-gnu" > > and the profile like so: > > make.profile -> /usr/portage/profiles/default-linux/mips/2005.0 > > then ran scripts/bootstrap.sh > > > gnuconfig had some bus errors, but didn't stop the script: > > >>> Install gnuconfig-20050602 into > >>> /var/tmp/portage/gnuconfig-20050602/image/ category sys-devel > man: > prepallstrip: > strip: strip --strip-unneeded > strip: strip --strip-unneeded > usr/share/gnuconfig/config.sub > /usr/lib/portage/bin/prepstrip: line 19: 12405 Bus error > ${STRIP} -g "${x}" > usr/share/gnuconfig/config.sub > /usr/lib/portage/bin/prepstrip: line 19: 12406 Bus error > ${STRIP} "${x}" > usr/share/gnuconfig/config.sub > /usr/lib/portage/bin/prepstrip: line 19: 12407 Bus error > ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}" > readelf: Error: Unable to read in 0x656e bytes of section headers > readelf: Error: Not an ELF file - it has the wrong magic bytes at the > start > usr/share/gnuconfig/config.guess > /usr/lib/portage/bin/prepstrip: line 19: 12411 Bus error > ${STRIP} -g "${x}" > usr/share/gnuconfig/config.guess > /usr/lib/portage/bin/prepstrip: line 19: 12412 Bus error > ${STRIP} "${x}" > usr/share/gnuconfig/config.guess > /usr/lib/portage/bin/prepstrip: line 19: 12413 Bus error > ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}" > readelf: Error: Unable to read in 0x6d65 bytes of section headers > readelf: Error: Not an ELF file - it has the wrong magic bytes at the > start > >>> Completed installing gnuconfig-20050602 into > >>> /var/tmp/portage/gnuconfig-20050602/image/ > > > and glibc failed during configure: > > checking for suffix of object files... configure: error: cannot compute > suffix of object files: cannot compile > See `config.log' for more details. > > !!! ERROR: sys-libs/glibc-2.3.5 failed. > !!! Function glibc_do_configure, Line 938, Exitcode 1 > !!! failed to configure glibc > > > any ideas? I see the mips project website was just updated today, and I > just realized last night that the cobalt images are little endian (the > asus wl500g is little endian), so I'll try chrooting into one of those > images next. > > Thanks, > Jason Pepas > > -- > gentoo-mips@g.o mailing list
-- gentoo-mips@g.o mailing list

Replies

Subject Author
Re: [gentoo-mips] bootstrap.sh on asus wl500g Jason Pepas <cell@×××××××××××.edu>