Compiling Error
Closed / Fixed218790ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:23
OriginalBugID: 2137 Bug
Version: 8.1.1
SubmitDate: '1999-06-03'
LastModified: '1999-10-21'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
OSVersion: 4.1.4
Machine: Sparc
FixedDate: '1999-10-21'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'
Name:
Hideyuki Osawa
CVS:
27 May /JPN
ReproducibleScript:
Cdspc57:g103r0[266]% pwd
/tmp_mnt/files2/home/g103r0/tcl/tcl8.1.1/unix
dspc57:g103r0[267]% uname -a
SunOS dspc57 4.1.4 2 sun4m
dspc57:g103r0[268]% gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.8.1/specs
gcc version 2.8.1
dspc57:g103r0[269]% ./configure --enable-gcc
ObservedBehavior:
dspc57:g103r0[270]% make
gcc -pipe -c -O -Wall -Wconversion -fPIC -I./../generic -I.
-DHAVE_GETCWD=1 -DNO_STRERROR=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
-DNO_MEMMOVE=1 -DNO_STRING_H=1 -Dstrtod=fixstrtod -DNEED_MATHERR=1
-DRETSIGTYPE=void -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DUSE_FIONBIO=1
-DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
In file included from ../generic/tcl.h:1529,
from ../generic/tclInt.h:33,
from ../generic/regcustom.h:2,
from ../generic/regguts.h:12,
from ./../generic/regcomp.c:6:
../generic/tclDecls.h:1073: parse error before `size_t'
../generic/tclDecls.h:1128: parse error before `size_t'
../generic/tclDecls.h:1131: parse error before `size_t'
../generic/tclDecls.h:1531: parse error before `size_t'
../generic/tclDecls.h:1547: parse error before `size_t'
../generic/tclDecls.h:1548: parse error before `size_t'
./../generic/regcomp.c: In function `TclReComp':
./../generic/regcomp.c:365: warning: implicit declaration of function
`fprintf'
./../generic/regcomp.c: In function `dovec':
./../generic/regcomp.c:1558: warning: passing arg 1 of `free' from
incompatible pointer type
./../generic/regcomp.c: In function `dumpst':
./../generic/regcomp.c:2066: warning: implicit declaration of function
`fflush'
*** Error code 1
make: Fatal error: Command failed for target `regcomp.o'
DesiredBehavior:
succeed of compiling
Note from Redman:
This has been fixed in 8.2b2 (soon to be released).
You're temporary solution is to add:
#include <sys/types.h>
to tcl.h before:
#include "tclDecls.h"
-- 10/21/1999 hobbs
welch Closed ticket [218790ffff].
[History diff]2000-10-26 08:29:15
Log in (anonymous is fine) to add a comment.