GCC second pass make error

Ken Moffat ken at linuxfromscratch.org
Sun Jan 28 04:29:37 PST 2007


On Sun, Jan 28, 2007 at 12:49:57PM +0100, Steffen H. Larsen wrote:
> okay it still makes the same error I'm gonna try and write down the
> last 30 lines  ^^
> 
> gcc -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/libcpp/../include -I../..gcc-4.0.3/libcpp/include -g
> -02 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -World-style-definition -pedantic -Wno-long-long
> -I../../gcc-4.0.3/libcpp -I. -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/lipcpp/include -c ../../gcc-4.0.3/libcpp/pch.c
> gcc -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/libcpp/../include -I../..gcc-4.0.3/libcpp/include -g
> -02 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -World-style-definition -pedantic -Wno-long-long
> -I../../gcc-4.0.3/libcpp -I. -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/lipcpp/include -c ../../gcc-4.0.3/libcpp/symtab.c
> gcc -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/libcpp/../include -I../..gcc-4.0.3/libcpp/include -g
> -02 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -World-style-definition -pedantic -Wno-long-long
> -I../../gcc-4.0.3/libcpp -I. -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/lipcpp/include -c
> ../../gcc-4.0.3/libcpp/traditional.c
> rm -f libcpp.a
> ar cru libcpp.a charset.o directives.o errors.o expr.o files.o
> identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o
> traditional.o
> ranlib libcpp.a
> gcc -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/libcpp/../include -I../..gcc-4.0.3/libcpp/include -g
> -02 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -World-style-definition -pedantic -Wno-long-long
> -I../../gcc-4.0.3/libcpp -I. -I../../gcc-4.0.3/libcpp/../include
> -I../../gcc-4.0.3/lipcpp/include -c
> ../../gcc-4.0.3/libcpp/makedepend.c
> gcc -g -02    -o makedepend \
>    makedepend.o libcpp.a ../libiberty/libiberty.a \
> 
> make[1]: Leaving directory `/mnt/hda1/tools/gcc-Build2/libcpp´

 Thanks, that shows that the build is ok in libcpp

> make[1]: Entering directory `/mnt/hda1/tools/gcc-Build2/gcc´
> make[1]: *** No rule to make target `all´. Stop
> make[1]: Leaving directory `/mnt/hda1/tools/gcc-Build2/gcc
> make: ** [all-gcc] Error 2
>

 This really makes me think that you have trashed the Makefile for
gcc/.  Please run the 'ls' command I suggested in my reply yesterday
so that we can see if it is there and not empty.  Listing it via
/tools will also confirm that your /tools symlink is pointing to the
right place. 

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list