LFS-6.1-testing binutils failure

Bruce Dubbs bdubbs at swbell.net
Sun Apr 3 20:33:21 PDT 2005


I am trying to build a test system from the LFS6 boot cd.

In chapter 5, I can't even get through the 1st binutils:

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../binutils-2.15.94.0.2.2/bfd -I. -D_GNU_SOURCE   -DTRAD_CORE   -I. 
-I../../binutils-2.15.94.0.2.2/bfd 
-I../../binutils-2.15.94.0.2.2/bfd/../include 
-I../../binutils-2.15.94.0.2.2/bfd/../intl -I../intl   -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -g -O2
  -c -o bfdio.lo ../../binutils-2.15.94.0.2.2/bfd/bfdio.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.94.0.2.2/bfd -I. 
-D_GNU_SOURCE -DTRAD_CORE -I. -I../../binutils-2.15.94.0.2.2/bfd 
-I../../binutils-2.15.94.0.2.2/bfd/../include 
-I../../binutils-2.15.94.0.2.2/bfd/../intl -I../intl -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c 
../../binutils-2.15.94.0.2.2/bfd/bfdio.c -o bfdio.o
../../binutils-2.15.94.0.2.2/bfd/bfdio.c: In function `bfd_seek':
../../binutils-2.15.94.0.2.2/bfd/bfdio.c:352: error: `EINVAL' undeclared 
(first use in this function)
../../binutils-2.15.94.0.2.2/bfd/bfdio.c:352: error: (Each undeclared 
identifier is reported only once
../../binutils-2.15.94.0.2.2/bfd/bfdio.c:352: error: for each function 
it appears in.)
make[3]: *** [bfdio.lo] Error 1

The boot CD has
/usr/include/linux/errno.h:#define      EINVAL          22      /* 
Invalid argument */


Is this new?

   -- Bruce




More information about the lfs-dev mailing list