gcc 2nd pass error

Georgina Joyce gena at genaj.plus.com
Wed May 10 05:17:03 PDT 2006


Hi

I have a debian sarge host system using gcc-3.3 and everything has gone well following the steps in the book, great job.  However, I'm having problems with the second pass of gcc and I don't know what I've done, or not done.  I've searched and a posting stated that someone had the same error with the second pass of binutils and the response was to use another version.  What do I need to do?

executing default commands
make[1]: Entering directory `/mnt/lfs/gcc-build/libiberty'
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../gcc-3.4.3/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../gcc-3.4.3/libiberty/regex.c -o pic/regex.o; \else true; fi
In file included from ../gcc-3.4.3/libiberty/../include/xregex.h:26,
                 from ../gcc-3.4.3/libiberty/regex.c:195:
../gcc-3.4.3/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../gcc-3.4.3/libiberty/regex.c:649:
../gcc-3.4.3/libiberty/regex.c: In function `byte_compile_range':
../gcc-3.4.3/libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../gcc-3.4.3/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../gcc-3.4.3/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../gcc-3.4.3/libiberty/regex.c: In function `xregcomp':
../gcc-3.4.3/libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
../gcc-3.4.3/libiberty/regex.c: At top level:
../gcc-3.4.3/libiberty/regex.c:8178: warning: unused parameter 'preg'
Assembler messages:
FATAL: can't create pic/regex.o: No such file or directory
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/mnt/lfs/gcc-build/libiberty'
make: *** [all-libiberty] Error 2
lfs at orchid:/mnt/

Regards

Gena

-- 
2E0AXU

Freedom & Power provided by debian GNU Linux



More information about the lfs-support mailing list