Glibc cannot find -lstdc++

Valter Douglas Lisbôa Jr. douglas at trenix.com.br
Tue Aug 26 12:25:03 PDT 2008


Em Tuesday 26 August 2008 15:45:50 Satish Patel escreveu:
> I got this error on make check for glibc
>
>
> ces/glibc-build/libc_nonshared.a -lstdc++ -lgcc_eh
> /mnt/lfs/sources/glibc-build/elf/ld.so
> /mnt/lfs/sources/glibc-build/libc_nonshared.a
> /tools/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> make[2]: *** [/mnt/lfs/sources/glibc-build/dlfcn/bug-atexit3-lib.so] Error
> 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/dlfcn'
> make[1]: *** [dlfcn/tests] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1'
> make: *** [check] Error 2
> lfs:/mnt/lfs/sources/glibc-build$ /tools/bin/ld
> ld      ld-new
> lfs:/mnt/lfs/sources/glibc-build$ /tools/bin/ld
> /tools/bin/ld: no input files
> lfs:/mnt/lfs/sources/glibc-build$
>
> What i do i ignore this error or do something to resolve it ?
Did you compile gcc with c++? 

>
>
>
> Regards,
>
> Satish Patel | Unix Administrator
> _________________________________
> Mobile : +1-646-327-9153
> Email  : satish at linuxbug.org
> Home page : www.linuxbug.org



-- 
Valter Douglas Lisbôa Jr.
Sócio-Diretor
Trenix - IT Solutions
"Nossas Idéias, suas Soluções!"
www.trenix.com.br
contato at trenix.com.br



More information about the lfs-support mailing list