Jim Gifford wrote:
Another option here is to use the headers package I've been working with a lot of people. It compiles a base LFS and CLFS with no issues at all. http://ftp.jg555.com/headers/linux-headers-2.6.16.2.tar.bz2

I tried this and glibc failed to compile (in chapter 5) like this

-o /mnt/lfs/sources/glibc-build/inet/if_index.o -MD -MP -MF /mnt/lfs/sources/glibc-build/inet/if_index.o.dt -MT /mnt/lfs/sources/glibc-build/inet/if_index.o
In file included from /tools/include/linux/netlink.h:4,
                 from ../sysdeps/unix/sysv/linux/netlinkaccess.h:23,
                 from ../sysdeps/unix/sysv/linux/if_index.c:32:
/tools/include/linux/socket.h:3:72: error: sys//usr/src/linux-headers-2.6.16.2/include/linux/resource.h: No such file or directory
make[2]: *** [/mnt/lfs/sources/glibc-build/inet/if_index.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc/inet'
make[1]: *** [inet/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc'
make: *** [all] Error 2
andy:/mnt/lfs/sources$

Looking at linux/socket.h in the tarball, it looks like this

#ifndef LINUX_SOCKET_H

#include <sys//usr/src/linux-headers-2.6.16.2/include/linux/resource.h>

#endif

Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to