Linux-2.6.37 API headers installation for glibc compilation:
untar the linux-2.6.37.tar.bz2
cd  linux-2.6.37

And ran the following command to setup the headers for Glibc compilation
make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
find dest/include \(-name .install -o -name ..install.com\) -delete
cp -rv dest/include/* /usr/include

so all headers installed in /tools/include

Also applied the glibc-2.13-gcc_fix-1.patch and I noticed that it is about
pthread/pt-initfini.c and i386/sysdep.h


But I got following error while compiling glibc while compilint

In file included from nscd.c:46:0:
selinux.h:26:29: fatal error: sys/capability.h: No such file or directory
compilation terminated.


I have tried to find the sys/capability.h but there is no folder like sys.
There is a capability.h but in linux directory.

So anybody please tell me what is the problem here?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to