Hi Bill,

On Sat, Jul 23, 2011 at 10:43:51PM -0400, Bill Cunningham wrote:
> nptl/sysdeps/unix/sysv/linux/bits/local_lim.h:39:26: fatal error: 
> linux/limits.h: No such file or directory
> compilation terminated.
...snip...
> make: *** [all] Error 2
 
> I'm not quite sure what is wrong with the above but I am trying to compile 
> glibc-2.14 with the development code. One I don't understand and deviated 
> from the online book a little was concerning copying the kernel headers. 
> With the 2.4 version I am familiar with you simply created in your 
> usr/include directory two directory called linux and asm. Linux kernel 
> headers when into "linux" and your arch's asm code went into "asm". There is 
> now called a directory "asm-generic" It has been completing changed from the 
> 2.4 kernel. This is my first workings with 2.6. How do I copy those kernel 
> headers over for a x86_64 or a i386. My old linux is a 32 bit version but I 
> would like to build a 64 bit lfs because I have an Athlon 3200+. 64 bit.
> 
> Bill

With the more recent 2.6 kernel, the installation of the header files
has changed.  Quoted from LFS-6.8, 5.6.1. Installation of Linux API Headers:

  make mrproper
  make headers_check
  make INSTALL_HDR_PATH=dest headers_install
  cp -rv dest/include/* /tools/include

Also, it is easier to build a 64 bit LFS on a 64 bit host.  If that is
not an option (or you are up to the challenge) you could cross compile the
64 bit LFS on a 32 bit host.  It is a bit tricky and I would suggest
looking into Cross Linux From Scratch.

Best of luck,
ae
-- 
My Blog: http://elian001.wordpress.com
-- 
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