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- -I. -D_GNU_SOURCE   -DTRAD_CORE   -I. 
-I../../binutils- -I../intl   -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -g -O2
  -c -o bfdio.lo ../../binutils-
gcc -DHAVE_CONFIG_H -I. -I../../binutils- -I. 
-D_GNU_SOURCE -DTRAD_CORE -I. -I../../binutils- 
-I../../binutils- -I../intl -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c 
../../binutils- -o bfdio.o
../../binutils- In function `bfd_seek':
../../binutils- error: `EINVAL' undeclared 
(first use in this function)
../../binutils- error: (Each undeclared 
identifier is reported only once
../../binutils- 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