Problem compiling TCL

Matthew Burgess matthew at linuxfromscratch.org
Sat Oct 29 14:34:04 PDT 2005


Paul Lewis wrote:
> Hi,
> 
> I'm using LFS 6.1, and have come across a problem when I try to compile TCL
> (version 8.4.9, as recommended by the book).

...

> \".so\" ./../compat/strstr.c
> ./../compat/strstr.c: In function 'strstr':
> ./../compat/strstr.c:67: error: 'NULL' undeclared (first use in this
> function)

That should be defined in /tools/include/linux/stddef.h, installed by 
linux-libc-headers in section 5.5.

Regards,

Matt.



More information about the lfs-support mailing list