Stalled on binutils

Chris Lingard chris at stockwith.co.uk
Thu Apr 1 01:37:06 PST 2004


Ruben Lopez wrote:

> I am trying to get past the binutils configuration in Chp. 5 of
> LFS5.1pre1, and I have tried to build version 2.15.90.0.1, 2.14.90.0.7
> (with patch) and 2.14, and I am getting a similar error with each try:
> 
> (config.log)
> 
> configure:635: checking for makeinfo
> configure:681: checking for perl
> configure:721: checking host system type
> configure:744: checking build system type
> configure:770: checking for ar
> configure:802: checking for ranlib
> configure:871: checking for gcc
> configure:950: checking whether we are using GNU C
> configure:975: checking whether gcc accepts -g
> configure:1007: checking whether gcc and cc understand -c and -o together
> configure:1022: gcc -c conftest.c -o conftest.o 1>&5
> configure:1023: gcc -c conftest.c -o conftest.o 1>&5
> configure:1028: cc -c conftest.c 1>&5
> configure:1030: cc -c conftest.c -o conftest.o 1>&5
> configure:1031: cc -c conftest.c -o conftest.o 1>&5
> configure:1067: checking for POSIXized ISC
> configure:1088: checking for working const
> configure:1163: checking for inline
> configure:1220: checking for a BSD compatible install
> configure:1281: checking how to run the C preprocessor
> configure:1364: checking for sys/file.h
> configure:1374: /lib/cpp  conftest.c >/dev/null 2>conftest.out
> configure:1370: sys/file.h: No such file or directory
> configure: failed program was:
> #line 1369 "configure"
> #include "confdefs.h"
> #include <sys/file.h>
> 
> Since I am seeing this with every version ofr binutils I assume that I
> have missed a setting, although I followed and double-checked the
> environmental settings. My host is Debian woody r1. Can someone point me
> in the right direction to correct this error?

This should not happen on 2.14,  why does your system not have
a /usr/include/sys/file.h

This file is part of glibc; have you got all your "static glibc"
packages loaded, (or whatever your distro calls them).



More information about the lfs-support mailing list