Atchu Reddy wrote:
I am trying to install lfs 6.1.
I was following the book for the same.When trying to install TCL,i am
getting an error at the make command........
<snip>
../compat/strstr.c: In function `strstr':
../compat/strstr.c:67: error: `NULL' undeclared (first use in this function)
../compat/strstr.c:67: error: (Each undeclared identifier is reported only once
../compat/strstr.c:67: error: for each function it appears in.)

NULL should be declared in linux/stddef.h which comes from the linux-libc-headers package. Did you copy those headers across correctly?

Matt.
--
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