Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-11-19
23:31 • Closed ticket [2900542fff]: build of tclAppInit.c fails on Solaris 8 plus 7 ... artifact: ae25fdb307 user: dgp
23:10 • Ticket [2900542fff]: 2 changes artifact: 74112941ef user: nijtmans
23:08 • Ticket [2900542fff]: 4 changes artifact: 741cf6fc56 user: nijtmans
22:56 • Ticket [2900542fff]: 4 changes artifact: 9746074cb7 user: andreas_kupries
15:49 • New ticket [2900542fff]. artifact: ba1f4f60e0 user: lvirden

build of tclAppInit.c fails on Solaris 8

Closed / Fixed2900542fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-11-19 15:49:13
SPARC Solaris 8
Sun C compiler
CVS head from ActiveState tcl cvs ftp site
  $ ./configure --prefix=/projects/sprs_lwv/tcl86 --enable-shared --enable-symbols --enable-stubs
  $ gmake genstubs all test install

I build nearly every day. Today, however, the build failed with this error:
/opt/SUNWspro/bin/cc -c -g    -KPIC -I"." -I/vol/tclsrcsol/tcl86/tcl/unix -I/vol/tclsrcsol/tcl86/tcl/generic -I/vol/tclsrcsol/tcl86/tcl/libtommath -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1        \
        -DTCL_BUILDTIME_LIBRARY="\"/vol/tclsrcsol/tcl86/tcl/library\"" \
        -DTCL_TEST /vol/tclsrcsol/tcl86/tcl/unix/tclAppInit.c
"/vol/tclsrcsol/tcl86/tcl/unix/tclAppInit.c", line 126: undefined symbol: Tcltest_SafeInit
cc: acomp failed for /vol/tclsrcsol/tcl86/tcl/unix/tclAppInit.c
gmake: *** [tclTestInit.o] Error 2
andreas_kupriesplain2009-11-19 22:56:13
This bug is likely a duplicate of 
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2883850&group_id=10894
Please see if the patch attached to that bug fixes the build.
nijtmansplain2009-11-19 23:08:52
Yes, I screwed up win/tclAppInit.c and unix/tclAppInit.c, just a matter of proper syncing before checking in :-(.  In a few hours, I will check in the fix; right now I'm behind a proxy which doesn't allow me to do this......
nijtmans Ticket [2900542fff]: 2 changes [History diff]2009-11-19 23:10:45
dgpplain2009-11-19 23:31:39
allow_comments - 1


fix from nijtmans committed.
Log in (anonymous is fine) to add a comment.