Problems with Tcl

Christian Wolf lupus1987 at aol.com
Tue Feb 24 08:50:29 PST 2004


Hello,
I am trying to install my first LFS version. When I want to install the Tcl 
packet, the compiler aborts with an error. I just copied out the last lines 
printed on screen:

> gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -DTCL_DBGX= -Wall 
> -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -fno-inline  
> -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 
> -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 
> -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 
> -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 
> -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 
> -DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 
> -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1        
> -DTCL_SHLIB_EXT=\".so\" ./../compat/strstr.c
> ../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.)
> make: *** [strstr.o] Error 1

Do you know what's the problem here? Could you give me a solution to this 
problem, please?

Thank you in advance
Christian Wolf




More information about the lfs-support mailing list