[uClibc] tcl-8.4.6 with uClibc-0.9.26

Rogelio M.Serrano Jr. rogelio at smsglobal.net
Wed Jul 7 01:52:12 UTC 2004


This is where i stop building tcl with uclibc. I will come back to 
this problem later when i resume testing objc-improvements-branch.

gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -DTCL_DBGX= 
-Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. 
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_ISOC99_SOURCE=1 
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long 
-DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=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 -DNO_GETWD=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_SELECT_H=1 
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 
-DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 
-DHAVE_SYS_IOCTL_H=1         -DTCL_SHLIB_EXT=\".so\" 
./../unix/tclUnixFCmd.c
../unix/tclUnixFCmd.c: In function `DoRenameFile':
../unix/tclUnixFCmd.c:258: warning: implicit declaration of function 
`realpath'
../unix/tclUnixFCmd.c:258: warning: comparison between pointer and 
integer
../unix/tclUnixFCmd.c:259: warning: comparison between pointer and 
integer
../unix/tclUnixFCmd.c: In function `DoCopyFile':
../unix/tclUnixFCmd.c:373: error: `S_IFMT' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c:373: error: (Each undeclared identifier is 
reported only once
../unix/tclUnixFCmd.c:373: error: for each function it appears in.)
../unix/tclUnixFCmd.c:375: error: `S_IFLNK' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c:379: warning: implicit declaration of function 
`readlink'
../unix/tclUnixFCmd.c:384: warning: implicit declaration of function 
`symlink'
../unix/tclUnixFCmd.c:390: error: `S_IFBLK' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c:390: error: `S_IFBLK' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c:391: error: `S_IFCHR' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c:392: warning: implicit declaration of function 
`mknod'
../unix/tclUnixFCmd.c:398: error: `S_IFIFO' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c: In function `CopyFile':
../unix/tclUnixFCmd.c:438: error: `u_int' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c:438: error: parse error before "blockSize"
../unix/tclUnixFCmd.c:454: error: `blockSize' undeclared (first use in 
this function)
../unix/tclUnixFCmd.c: In function `GetGroupAttribute':
../unix/tclUnixFCmd.c:1142: warning: implicit declaration of function 
`endgrent'../unix/tclUnixFCmd.c: In function `GetOwnerAttribute':
../unix/tclUnixFCmd.c:1194: warning: implicit declaration of function 
`endpwent'../unix/tclUnixFCmd.c: In function `TclpObjNormalizePath':
../unix/tclUnixFCmd.c:1702: warning: comparison between pointer and 
integer
../unix/tclUnixFCmd.c:1752: warning: comparison between pointer and 
integer
make: *** [tclUnixFCmd.o] Error 1


On 2004-07-07 09:16:27 +0800 Rogelio M.Serrano Jr. 
<rogelio at smsglobal.net> wrote:

> another problem:
> 
> gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -DTCL_DBGX= 
> -Wall 
> -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. 
> -DHAVE_UNISTD_H=1 
> -DHAVE_LIMITS_H=1 -D_ISOC99_SOURCE=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 
> -DHAVE_TYPE_OFF64_T=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 -DNO_GETWD=1 -DHAVE_UNISTD_H=1 
> -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_SELECT_H=1 
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 
> -DHAVE_GMTIME_R=1 
> -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 
> -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 
> -DHAVE_LANGINFO=1 
> -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1         
> -DTCL_SHLIB_EXT=\".so\" 
> ./../unix/tclUnixChan.c
> ../unix/tclUnixChan.c: In function `TtySetOptionProc':
> ../unix/tclUnixChan.c:929: warning: implicit declaration of function 
> `strncasecmp'
> ../unix/tclUnixChan.c: In function `TclUnixWaitForFile':
> ../unix/tclUnixChan.c:3164: error: `fd_mask' undeclared (first use in 
> this 
> function)
> ../unix/tclUnixChan.c:3164: error: (Each undeclared identifier is 
> reported 
> only
> once
> ../unix/tclUnixChan.c:3164: error: for each function it appears in.)
> ../unix/tclUnixChan.c:3164: error: parse error before "readyMasks"
> ../unix/tclUnixChan.c:3198: error: `readyMasks' undeclared (first use 
> in this 
> function)
> make: *** [tclUnixChan.o] Error 1
> 
> On 2004-07-07 09:06:28 +0800 Rogelio M.Serrano Jr. 
> <rogelio at smsglobal.net> 
> wrote:
> 
>> tcl-8.4.6 build fails in linuxfromscratch uclibc build with:
>> 
>> gcc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES 
>> -DTCL_DBGX= -Wall 
>> -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. 
>> -DHAVE_UNISTD_H=1 
>> -DHAVE_LIMITS_H=1 -D_ISOC99_SOURCE=1 -D_LARGEFILE64_SOURCE=1 
>> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 
>> -DHAVE_TYPE_OFF64_T=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 -DNO_GETWD=1 -DHAVE_UNISTD_H=1 
>> -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_SELECT_H=1 
>> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 
>> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 
>> -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 
>> -DHAVE_SIGNED_CHAR=1 
>> -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 
>> -DTCL_SHLIB_EXT=\".so\" ./../generic/tclClock.c
>> ../generic/tclClock.c: In function `FormatClock':
>> ../generic/tclClock.c:314: error: `timezone' undeclared (first use 
>> in this 
>> function)
>> ../generic/tclClock.c:314: error: (Each undeclared identifier is 
>> reported 
>> only once
>> ../generic/tclClock.c:314: error: for each function it appears in.)
>> make: *** [tclClock.o] Error 1
>> 
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://uclibc.org/mailman/listinfo/uclibc
>> 
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 




More information about the uClibc mailing list