2010/12/14 Baho Utot <baho-u...@columbus.rr.com>

> On Tuesday, December 14, 2010 01:38:20 am you wrote:
> > 2010/12/14 code.xiyou <code.xi...@gmail.com>
> >
> > > 2010/12/14 Baho Utot <baho-u...@columbus.rr.com>
> > >
> > > On Monday, December 13, 2010 06:27:26 am code.xiyou wrote:
> > >> > Hello everyone,
> > >> >
> > >> >             Some errors happened like following when i compile
> LFS6.3.
> > >>
> > >> My
> > >>
> > >> > version is Ubuntu 9.04.
> > >> > l...@jiawei-laptop:/mnt/lfs/sources/glibc-build$ sudo make install
> > >>
> > >> [putolin]
> > >>
> > >> > /mnt/lfs/sources/glibc-build/libc.so.6
> > >> > /mnt/lfs/sources/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed
> > >>
> > >> -lgcc_s
> > >>
> > >> > -Wl,--no-as-needed `gcc -B/tools/bin/ --print-file-name=crtend.o`
> > >> > /mnt/lfs/sources/glibc-build/csu/crtn.o
> > >> > /tools/bin/ld: unrecognized option '--hash-style=both'
> > >> > /tools/bin/ld: use the --help option for usage information
> > >> > collect2: ld returned 1 exit status
> > >>
> > >> LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
> > >>
> > >  You mean take  "LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" in the
> >
> > Makefile or terminal command?
>
> LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" make
>
It also prints the same error like following. And i think i should turn to
other LFS version like 6.4 :)

l...@jiawei-laptop:/mnt/lfs/sources/glibc-build$
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" make
......
 --print-file-name=crtend.o` /mnt/lfs/sources/glibc-build/csu/crtn.o
/tools/bin/ld: unrecognized option '--hash-style=gnu'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1'
make: *** [all] Error 2


>
> >
> > >> > make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconv_prog] Error 1
> > >> > make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/iconv'
> > >> > make[1]: *** [iconv/subdir_install] Error 2
> > >> > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1'
> > >> > make: *** [install] Error 2
> > >> >
> > >> > Any answer is okay, thanks.
> > >>
> > >> --
> > >> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> > >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> > >> Unsubscribe: See the above information page
> > >
> > > --
> > > Best Regards.
> > > Harry Wei.
>



-- 
Best Regards.
Harry Wei.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to