I have reached pass 2 of the binutils and I receive the following error when I execute make:
Code:
config.h is unchanged
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty'
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.15.91.0.2/libiberty/../include -W -Wall -Wtraditional -pedantic -fpic ../../binutils-2.15.91.0.2/libiberty/regex.c -o pic/regex.o; \
else true; fi
In file included from ../../binutils-2.15.91.0.2/libiberty/../include/xregex.h:26,
from ../../binutils-2.15.91.0.2/libiberty/regex.c:197:
../../binutils-2.15.91.0.2/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../binutils-2.15.91.0.2/libiberty/regex.c:651:
../../binutils-2.15.91.0.2/libiberty/regex.c: In function `byte_compile_range':
../../binutils-2.15.91.0.2/libiberty/regex.c:4550: warning: signed and unsigned type in conditional expression
../../binutils-2.15.91.0.2/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
../../binutils-2.15.91.0.2/libiberty/regex.c:4560: warning: signed and unsigned type in conditional expression
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/sources/binutils-build/libiberty'
make: *** [all-libiberty] Error 2
First of all I am a bit confused about the re-installation of Binutils. In Chapter 5.14.1 Re-installation of Binutils it says that you have to:
Quote:
Create a separate build directory again:
|
with the following command:
Code:
mkdir ../binutils-build
How can you do that when the directory already have been created in 5.4.1 Binutils-2.15.91.0.2 - Pass 1 and you are told
Quote:
Warning Do not remove the Binutils build and source directories yet. These will be needed again in their current state later in this chapter.
|
So I used the existing binutils-build directory from 5.4.1 pass 1 to reinstall binutils in. Is that correct and what am I doing wrong?