On Sunday 20 January 2008, Mike Diehl wrote:
> On Saturday 19 January 2008 03:12:23 am Roman Zilka wrote:
> > Hi Mike!
> >
> > > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such
> > > file or directory
> > > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file
> > > or directory
> >
> > i486 - this is kinda weird for a brand new box.
>
> Ya, very weird.  Here is what I've got in /etc/make.conf:
> CHOST="i686-pc-linux-gnu"
> MAKEOPTS="-j2"

Did you install from a stage3? You probably have not rebuilt gcc then.

> USE="-acl -cups -dri -fortran -gpm -iconv -ipv6 -isdnlog -midi
> -mudflap -nls -openmp -pppd -reflection -session -tcpd
> -truetype-fonts -type1-fonts -unicode -xorg"
>
> Seems rational to me.  The box is going to be a stripped-down server.
>
> > What's does your
> > 'emerge --info' look like?
> > Maybe you've got a wrong CHOST set up. What
> > does 'ls /usr/lib/gcc/*/*/crt*S.o' report (just to be sure)? Are
> > you able to emerge any other packages?
> >
> > -rz
>
>  # gcc-config  -l
>  [1] i686-pc-linux-gnu-4.1.2 *
>
> # ls /usr/lib/gcc/*/*/crt*S.o
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o 
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtendS.o
>
> It almost seems like it might be easier to start over....  What do
> you think?

No, that will probably just land you up in exactly the same position. 
This isn't Windows where reinstalls produce random different results 
every time :-)

Somehow apr is confused about which version of gcc you have. Rebuild 
your tool chain and try again.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to