gcc chapter 5

Roel Neefs geryon at gaosu.rave.org
Mon May 3 13:08:18 PDT 2004


On Monday 03 May 2004 22:02, vincent.vandaele at tele2.fr wrote:
> Hello
> I reinstall a new Mandrake for build my lfs (rebuilt because a bad
> script of my modem drivers made a rm to all my files) I want to build
> gcc-3.3.1 pass1
> But I have this error
>
> -O2" LDFLAGS="-static" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"
> STRICT_WARN="-Wtraditional -pedantic -Wno-long-long"
> libdir=/tools/lib LANGUAGES="c gcov " MAKEOVERRIDES=
> OUTPUT_OPTION="-o \$@" make[2]: Entering directory
> `/mnt/lfs/sources/gcc-build/gcc' stage1/xgcc -Bstage1/
> -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H
> -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3.1/gcc
> -I../../gcc-3.3.1/gcc/. -I../../gcc-3.3.1/gcc/config
> -I../../gcc-3.3.1/gcc/../include ../../gcc-3.3.1/gcc/gengenrtl.c -o
> gengenrtl.o stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/  
> -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
> -DHAVE_CONFIG_H -DGENERATOR_FILE -static -o gengenrtl \ gengenrtl.o
> ../libiberty/libiberty.a
> /tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
                                                ^^^^^^^^
Please read the faq before posting messages.

> collect2: ld returned 1 exit status
> make[2]: *** [gengenrtl] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
> make: *** [bootstrap] Error 2
>
> Thanks
>
> -------------------------------------------------
> Internet simplement moins cher avec Tele2 : http://www.tele2.fr
> -------------------------------------------------

-- 
Roel Neefs
http://lfs.rave.org/lfs/news.html and ftp://gaosu.rave.org/pub/linux/lfs



More information about the lfs-support mailing list