Installing glibc-2.2.4

Mark Hymers markh at linuxfromscratch.org
Sat Mar 2 05:13:35 PST 2002


On Fri, 01, Mar, 2002 at 10:03:03PM -0500, G. Rush spoke thus..
> Hi,
>     I am trying to install glibc-2.2.4 using the instructions layed out in
> the LFS Book 3.1 Chapter 6. Up to this point I did not have any trouble. But
> when I try to run make, I get the following error...
> 
> /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/asm/posix_types.h:4:
> asm/posix_types.h: No such file or directory
> In file included from /usr/include/linux/sysctl.h:28,
>                  from ../sysdeps/unix/sysv/linux/sys/sysctl.h:28,
>                  from ../include/sys/sysctl.h:2,
>                  from ../sysdeps/unix/sysv/linux/dl-osinfo.h:21,
>                  from ../sysdeps/unix/sysv/linux/init-first.c:33:
> /usr/include/linux/types.h:9: asm/types.h: No such file or directory
> make[2]: *** [/usr/src/glibc-build/csu/init-first.o] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.2.4/csu'
> make[1]: *** [csu/subdir_lib] Error 2
> make[1]: Leaving directory `/usr/src/glibc-2.2.4'
> make: *** [all] Error 2b
> 
> Anyone know what the problem is and how I can solve it. Thanks.
It looks like you haven't installed the kernel headers properly in
chapter 5.  Go back there, try re-installing the kernel headers (check
that $LFS/usr/include/asm and $LFS/usr/include/linux exist and are
populated) then remove the gcc source tree and try again. 

Actually, on a second look; it just appears that the $LFS/usr/include/asm
files are missing; you appear to have the $LFS/usr/include/linux files.
Make sure you copied the asm headers.

Mark

-- 
Mark Hymers					BLFS Editor
markh at linuxfromscratch.org
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list