Hey Dan, thanx 1. used the wrong header fils 2. I did work in the wrong directory !!
after fixing that I got following error: In file included from version.c:33: /mnt/lfs/sources/glibc-build/csu/version-info.h:2: error: missing terminating " character /mnt/lfs/sources/glibc-build/csu/version-info.h:3: error: missing terminating " character version.c:40: error: syntax error before string constant make[2]: *** [/mnt/lfs/sources/glibc-build/csu/version.o] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.6' make: *** [all] Error 2 [EMAIL PROTECTED]:/mnt/lfs/sources/glibc-build$ Do I have to install a patch ? Kai On 2/12/07, Kai Ulrich <kaiu at gmx.de <http://linuxfromscratch.org/mailman/listinfo/lfs-support>> wrote: >/ />/ i did : />/ />/ cp -Rv include/asm-i386 /tools/include/asm />/ cp -Rv include/linux /tools/include / These are from linux-libc-headers-2.6.12.0? >/ - configure goes though />/ - make says /tools/include/asm/errno.h:4:31: error: asm-generic/errno.h: />/ No such file or directory / Could you show the contents of /tools/include/asm/errno.h? I don't think it should be including asm-generic/errno.h. This is what mine looks like: #ifndef _I386_ERRNO_H #define _I386_ERRNO_H #ifndef _LINUX_ERRNO_H #include <linux/errno.h> #endif #endif >/ I found />/ lfs at frunk <http://linuxfromscratch.org/mailman/listinfo/lfs-support>:/usr/include$ ls -all />/ [...] />/ drwxr-xr-x 2 root root 4096 Feb 11 20:55 arpa />/ drwxr-xr-x 2 root root 4096 Feb 11 20:55 asm />/ drwxr-xr-x 2 root root 4096 Feb 11 20:55 asm-generic />/ drwxr-xr-x 2 root root 4096 Feb 11 20:55 asm-i386 />/ drwxr-xr-x 2 root root 4096 Feb 11 20:55 asm-x86_64 />/ -rw-r--r-- 1 root root 3607 Jan 24 17:24 assert.h />/ -rw-r--r-- 1 root root 2284 Oct 12 18:42 autosprintf.h />/ [...] / These are the headers on your host. It shouldn't be trying to use these. It should be using the new headers in /tools/include. However, is this x86_64 you're trying to build on? >/ make[2]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.6/csu' / Do you have the source tree as a subdirectory of the build directory? They should be at the same level, and preferably in /sources or another dedicated build directory, not in the root of $LFS or /tools. You should have: /sources/glibc-build /sources/glibc-2.3.6 -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
