Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tcl/Tk 8.3.4 on AIX 4.3.3 compilation trouble

93 views
Skip to first unread message

Gerard

unread,
Jan 18, 2002, 9:51:26 AM1/18/02
to
Hi all,

I'm trying to compile Tcl and Tk (version 8.3.4) on AIX version 4.3.3
using gcc version 2.95.2.1.

Configure is used for both Tcl and Tk as follows:

./configure --enable-gcc --enable-shared --prefix=/appl/tcl

Tcl 8.3.4 compiles and installs fine (the configure command is used as
shown above followed by 'make' and 'make install'). However, Tk 8.3.4,
yields the output below. Using IBM's compiler (cc) gives the same
results.

I tried to do the same with Tcl/Tk 8.3.3 from the source rpm file I
found on IBM's site and got the same results.

Is there anyone that has positive results compiling Tk8.3.4 on AIX
4.3.3?

Cheers,

Gerard

-----------------------------------
Output from gcc compiling Tk 8.3.4:
-----------------------------------
pi0578@madpr500:/home/pi0578/prog/tcl/tk8.3.4/unix>make
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int
-I/home/pi0578/prog/tcl/tk8.3.4/unix
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../generic
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../bitmaps
-I/home/pi0578/prog/tcl/tcl8.3.4/generic -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tk3d.c
Issuing GCC WITHOUT option -s (strip)
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int
-I/home/pi0578/prog/tcl/tk8.3.4/unix
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../generic
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../bitmaps
-I/home/pi0578/prog/tcl/tcl8.3.4/generic -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkArgv.c
Issuing GCC WITHOUT option -s (strip)
...
...
<< stuff deleted >>
...
...
.4/unix/../bitmaps -I/home/pi0578/prog/tcl/tcl8.3.4/generic
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1
-DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkFont.c
Issuing GCC WITHOUT option -s (strip)
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkFont.c: In function
`Tk_PostscriptFontName':
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkFont.c:1545: warning:
implicit declaration of function `strncasecmp'
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkFont.c:1548: warning:
implicit declaration of function `strcasecmp'
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int
-I/home/pi0578/prog/tcl/tk8.3.4/unix
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../generic
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../bitmaps
-I/home/pi0578/prog/tcl/tcl8.3.4/generic -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkGet.c
Issuing GCC WITHOUT option -s (strip)
...
...
<< stuff deleted >>
...
...
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int
-I/home/pi0578/prog/tcl/tk8.3.4/unix
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../generic
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../bitmaps
-I/home/pi0578/prog/tcl/tcl8.3.4/generic -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkTextMark.c
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int
-I/home/pi0578/prog/tcl/tk8.3.4/unix
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../generic
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../bitmaps
-I/home/pi0578/prog/tcl/tcl8.3.4/generic -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkTextTag.c
gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int
-I/home/pi0578/prog/tcl/tk8.3.4/unix
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../generic
-I/home/pi0578/prog/tcl/tk8.3.4/unix/../bitmaps
-I/home/pi0578/prog/tcl/tcl8.3.4/generic -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
/home/pi0578/prog/tcl/tk8.3.4/unix/../generic/tkTextWind.c
rm -f libtk8.3.so
/home/pi0578/prog/tcl/tcl8.3.4/unix/ldAix /bin/ld -bhalt:4
-bM:SRE -bE:lib.exp -H512 -T512 -bnoentry -o libtk8.3.so tk3d.o
tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o
tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o
tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o
tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o
tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o
tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o
tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o
tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o
tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o
tkStubInit.o tkStubLib.o tkButton.o tkEntry.o tkFrame.o tkListbox.o
tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o
tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o
tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o
tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap
.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o
tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o
tkTextWind.o -L/appl/tcl/lib -L/home/pi0578/prog/tcl/tcl8.3.4/unix
-lc -lX11 -ldl -lm -lc
noDotA="libtk8.3.so"
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetString
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetThreadData
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Alloc
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateObjCommand
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetIndexFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_InitHashTable
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetStringFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_WrongNumArgs
ld: 0711-317 ERROR: Undefined symbol: .Tcl_IsSafe
ld: 0711-317 ERROR: Undefined symbol: .Tcl_TranslateFileName
ld: 0711-317 ERROR: Undefined symbol: .Tcl_OpenFileChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringFree
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ResetResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_PosixError
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Seek
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Read
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Close
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Free
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteInterp
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AddErrorInfo
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetBoolean
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetInt
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetDouble
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateEncoding
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfToUniChar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UniCharToUtf
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfCharComplete
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetObjResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_FirstHashEntry
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewStringObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ListObjAppendElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NextHashEntry
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteHashTable
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetEncodingName
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewListObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfToExternalDString
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfToExternal
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetEncoding
ld: 0711-317 ERROR: Undefined symbol: .Tcl_FreeEncoding
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringInit
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringAppend
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Panic
ld: 0711-317 ERROR: Undefined symbol: .Tcl_StringMatch
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CancelIdleCall
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetAssocData
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetAssocData
ld: 0711-317 ERROR: Undefined symbol: .TclFreeObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteHashEntry
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetBooleanFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetIntFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetDoubleFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateTimerHandler
ld: 0711-317 ERROR: Undefined symbol: Tcl_Free
ld: 0711-317 ERROR: Undefined symbol: .Tcl_EventuallyFree
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Preserve
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringGetResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NumUtfChars
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfNext
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Release
ld: 0711-317 ERROR: Undefined symbol: .Tcl_BackgroundError
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetObjResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DoOneEvent
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteTimerHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringSetLength
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ExternalToUtfDString
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ExternalToUtf
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DoWhenIdle
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SplitList
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Merge
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetBooleanObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringStartSublist
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringAppendElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringEndSublist
ld: 0711-317 ERROR: Undefined symbol: .TclpGetTime
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateEventSource
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateExitHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteEventSource
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateFileHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteFileHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetMaxBlockTime
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ServiceEvent
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GlobalEval
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Sleep
ld: 0711-317 ERROR: Undefined symbol: .Tcl_QueueEvent
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewIntObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendToObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendStringsToObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewDoubleObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_HideCommand
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteCommandFromToken
ld: 0711-317 ERROR: Undefined symbol: .Tcl_VarEval
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetIntObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Eval
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ObjSetVar2
ld: 0711-317 ERROR: Undefined symbol: .Tcl_EvalObjEx
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetStringResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Write
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetVar2
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UntraceVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DuplicateObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ObjGetVar2
ld: 0711-317 ERROR: Undefined symbol: .Tcl_TraceVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_EvalObjv
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ListObjReplace
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ListObjLength
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ListObjIndex
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendObjToObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetCommandInfo
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfAtIndex
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AllowExceptions
ld: 0711-317 ERROR: Undefined symbol: .Tcl_PrintDouble
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ScanElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ConvertElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Realloc
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateCommand
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetVar2Ex
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetObjErrorCode
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetDoubleObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetLongObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetLongFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetStringObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UniCharToUpper
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UniCharToLower
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewBooleanObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ListObjGetElements
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UniCharIsUpper
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetChannelOption
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ListObjAppendList
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetObjType
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetByteArrayFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Eof
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetCommandInfo
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar2Ex
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_EvalEx
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ScanCountedElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ConvertCountedElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfFindFirst
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetListObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfPrev
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar2
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfToLower
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetRegExpFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_RegExpExec
ld: 0711-317 ERROR: Undefined symbol: .Tcl_RegExpRange
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UniCharIsAlpha
ld: 0711-317 ERROR: Undefined symbol: .Tcl_LinkVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_InterpDeleted
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UnlinkVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_PkgRequire
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetMaster
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetInterpPath
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetStdChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_WriteChars
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UtfToTitle
ld: 0711-317 ERROR: Undefined symbol: .Tcl_FindExecutable
ld: 0711-317 ERROR: Undefined symbol: .TclGetStartupScriptFileName
ld: 0711-317 ERROR: Undefined symbol: .Tcl_EvalFile
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Exit
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SourceRCFile
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateChannelHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Flush
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Gets
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteChannelHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CommandComplete
ld: 0711-317 ERROR: Undefined symbol: .Tcl_RecordAndEval
ld: 0711-317 ERROR: Undefined symbol: .Tcl_WriteObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetStdChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Init
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetErrno
ld: 0711-317 ERROR: Undefined symbol: .Tcl_PkgProvideEx
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetMainLoop
ld: 0711-317 ERROR: Undefined symbol: tclStubsPtr
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: The error code from the last command is 8.


Stop.

Mo

unread,
Jan 18, 2002, 7:09:43 AM1/18/02
to
Gerard wrote:
>
> Hi all,
>
> I'm trying to compile Tcl and Tk (version 8.3.4) on AIX version 4.3.3
> using gcc version 2.95.2.1.

...

> /home/pi0578/prog/tcl/tcl8.3.4/unix/ldAix /bin/ld -bhalt:4
> -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry -o libtk8.3.so tk3d.o
> tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o
> tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o
> tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o
> tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o
> tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o
> tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o
> tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o
> tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o
> tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o
> tkStubInit.o tkStubLib.o tkButton.o tkEntry.o tkFrame.o tkListbox.o
> tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o
> tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o
> tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o
> tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap
> .o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o
> tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o
> tkTextWind.o -L/appl/tcl/lib -L/home/pi0578/prog/tcl/tcl8.3.4/unix
> -lc -lX11 -ldl -lm -lc
> noDotA="libtk8.3.so"
> ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetString
> ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetThreadData

...

Could you grab the most recent code from the CVS and try to compile
it on your AIX box? This problem should have been fixed very recently.
Post a note to indicate if it worked or not.

thanks
Mo

Don Porter

unread,
Jan 19, 2002, 11:56:50 AM1/19/02
to
Gerard wrote:
>> I'm trying to compile Tcl and Tk (version 8.3.4) on AIX version 4.3.3
>> using gcc version 2.95.2.1.

[ ...when linking the Tk shared library... ]


>> ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetString
>> ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetThreadData

In article <3C481086...@nospam.com>, Mo wrote:
> Could you grab the most recent code from the CVS and try to compile
> it on your AIX box? This problem should have been fixed very recently.
> Post a note to indicate if it worked or not.

On my AIX box, the Tk shared library links fine now. Now there is
an error when linking wish:

gcc -pipe tkAppInit.o -Wl,-bI:/home/fs3c/dgp/tmp/tk8.4a4/unix/lib.exp \
-L/home/fs3c/dgp/tmp/tk8.4a4/unix -L/home/fs3c/dgp/tmp/tcl8.4a4/unix \
-lc -lX11 -ldl -lm -L/home/fs3c/dgp/rs6000/aix4/lib -o wish
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Init
ld: 0711-317 ERROR: Undefined symbol: .Tcl_StaticPackage
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar


ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

--
| Don Porter Mathematical and Computational Sciences Division |
| donald...@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|

Gerard

unread,
Jan 25, 2002, 7:47:23 AM1/25/02
to
Hi All,

I've got the same problems as Don Porter with the CVS tar file I got
from SourceForge (downloaded 22 januari 2002).

The makefile seems to be fixed partly. When linking wish, the
following errors appear:

gcc -pipe tkAppInit.o
-Wl,-bI:/home/username/prog/tcl/tk/unix/lib.exp
-L/home/username/prog/tcl/tk/unix -L/home/username/prog/tcl/tcl/unix
-lc -lX11 -ldl -lm -L/appl/tcl/lib -o wish


ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Init
ld: 0711-317 ERROR: Undefined symbol: .Tcl_StaticPackage
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

collect2: ld returned 8 exit status
make: The error code from the last command is 1.


Regards,

Gerard

Don Porter

unread,
Jan 25, 2002, 9:04:09 AM1/25/02
to
In article <1dfdcc1d.02012...@posting.google.com>, Gerard wrote:
> I've got the same problems as Don Porter with the CVS tar file I got
> from SourceForge (downloaded 22 januari 2002).

Did my fix work for you as well? Delete lines 4397-4398 of
tk/unix/configure.

If you have regular access to an AIX machine you could help us
a lot by testing bug fixes on the platform. If you have
knowledge about software linking quirks on AIX with gcc, you can
help even more. Check out the tktoolkit project at
sourceforge.net.

Gerard

unread,
Jan 28, 2002, 8:47:55 AM1/28/02
to
Hi,

When I delete the lines 4397-4398 of tk/unix/configure, it works!

I used a tar files
tcl-cvsroot.tar.gz
tktoolkit-cvsroot.tar
which I downloaded from
http://cvs.sourceforge.net/cvstarballs/
22 feb 2002.

Thanks!

Now, on to [incr tcl]...

Gerard


Don Porter <d...@email.nist.gov> wrote in messagenews:<slrna52pe...@clover.cam.nist.gov>...

Mo

unread,
Jan 28, 2002, 7:43:00 PM1/28/02
to
Gerard wrote:
>
> Hi,
>
> When I delete the lines 4397-4398 of tk/unix/configure, it works!

Try the most recent CVS version and see if that is working for
you. It should, I just want to make sure it is really fixed this
time.

later
Mo

Gerard

unread,
Feb 4, 2002, 12:02:29 PM2/4/02
to
Hi all,


The error in the configure script, packaged with tktoolkit is still
there.


1) configure / make -> ERROR
2) Modify the configure script / configure / make / make install -> OK

1) configure / make -> ERROR

(done with a tktoolkit tarball from the SourceForge repository 03 feb
2002)

TIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED
-DUSE_TCL_STUBS /data/playroom/pi0578/tcl/tk/unix/../generic/tkTextTag.c


gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int

-I/data/playroom/pi0578/tcl/tk/unix
-I/data/playroom/pi0578/tcl/tk/unix/../generic
-I/data/playroom/pi0578/tcl/tk/unix/../bitmaps
-I/data/playroom/pi0578/tcl/tcl/generic -DHAVE_UNISTD_H=1


-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1

-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS
/data/playroom/pi0578/tcl/tk/unix/../generic/tkTextWind.c
rm -f libtk8.4.so
/data/playroom/pi0578/tcl/tcl/unix/ldAix /bin/ld -bhalt:4
-bM:SRE -bE:lib.exp -H512 -T512 -bnoentry -o libtk8.4.so tk3d.o


tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o
tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o
tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o
tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o
tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o
tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o
tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o
tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o
tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o
tkStubInit.o tkStubLib.o tkButton.o tkEntry.o tkFrame.o tkListbox.o
tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o
tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o
tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o

tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o


tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o
tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o

-L/appl/tcl/lib -L/data/playroom/pi0578/tcl/tcl/unix -ltclstub8.4 -lc
-lX11 -ldl -lm
noDotA="libtk8.4.so"
: libtk8.4.so


gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int

-I/data/playroom/pi0578/tcl/tk/unix
-I/data/playroom/pi0578/tcl/tk/unix/../generic
-I/data/playroom/pi0578/tcl/tk/unix/../bitmaps
-I/data/playroom/pi0578/tcl/tcl/generic -DHAVE_UNISTD_H=1


-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1

-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS
/data/playroom/pi0578/tcl/tk/unix/../generic/tkStubImg.c
rm -f libtkstub8.4.a
ar cr libtkstub8.4.a tkStubLib.o tkStubImg.o
: libtkstub8.4.a


gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int

-I/data/playroom/pi0578/tcl/tk/unix
-I/data/playroom/pi0578/tcl/tk/unix/../generic
-I/data/playroom/pi0578/tcl/tk/unix/../bitmaps
-I/data/playroom/pi0578/tcl/tcl/generic -DHAVE_UNISTD_H=1


-DHAVE_LIMITS_H=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_SYS_SELECT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED

/data/playroom/pi0578/tcl/tk/unix/tkAppInit.c
gcc -pipe tkAppInit.o
-Wl,-bI:/data/playroom/pi0578/tcl/tk/unix/lib.exp
-L/data/playroom/pi0578/tcl/tk/unix
-L/data/playroom/pi0578/tcl/tcl/unix -lc -lX11 -ldl -lm


-L/appl/tcl/lib -o wish
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Init
ld: 0711-317 ERROR: Undefined symbol: .Tcl_StaticPackage
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.


Stop.


2) Modify the configure script / configure / make / make install -> OK

(done with the same tktoolkit tarball from the SourceForge repository
03 feb 2002 as above)

Lines 4397 and 4398 of file tk/unix/configure:
TCL_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_LIB_FLAG)'
TCL_STUB_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_STUB_LIB_FLAG)'

Deleted those lines and issued
./configure --enable-shared --enable-gcc --prefix=/appl/tcl
followed by make and make install. Ok.

So the configure script's still a bit flaky?

Kind regards,

Gerard

Mo <m...@nospam.com> wrote in message news:<3C55F014...@nospam.com>...

Mo

unread,
Feb 5, 2002, 2:21:26 AM2/5/02
to
Gerard wrote:

...

> /data/playroom/pi0578/tcl/tk/unix/tkAppInit.c
> gcc -pipe tkAppInit.o
> -Wl,-bI:/data/playroom/pi0578/tcl/tk/unix/lib.exp
> -L/data/playroom/pi0578/tcl/tk/unix
> -L/data/playroom/pi0578/tcl/tcl/unix -lc -lX11 -ldl -lm
> -L/appl/tcl/lib -o wish
> ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp

Humm, sounds like the tcl .exp file is not getting passed in
on the command line.

> (done with the same tktoolkit tarball from the SourceForge repository
> 03 feb 2002 as above)

Humm. Check the ChangeLog and see if the following entries are in there:

2002-01-28 <snip>

* unix/configure: Regen.
* unix/configure.in: Don't set TCL_LIB_SPEC and
TCL_STUB_LIB_SPEC variables since this breaks
the AIX build. This was used in the past to
support linking with Tcl from the build dir
or the install dir, but it is no longer needed.

2002-01-28 <snip>

* unix/Makefile.in: Remove commented out vars.
* unix/configure: Regen.
* unix/configure.in: Don't subst vars that are already
taken care of in SC_LOAD_TCLCONFIG.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.



> Lines 4397 and 4398 of file tk/unix/configure:
> TCL_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_LIB_FLAG)'
> TCL_STUB_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_STUB_LIB_FLAG)'
>
> Deleted those lines and issued
> ./configure --enable-shared --enable-gcc --prefix=/appl/tcl
> followed by make and make install. Ok.
>
> So the configure script's still a bit flaky?

These lines no longer exist in the configure script. This makes me wonder
if the version you downloaded was not up to date. Grab the CVS version
directly from the CVS and give it another try.

Mo

lvi...@yahoo.com

unread,
Feb 7, 2002, 1:23:47 PM2/7/02
to

According to Gerard <grrd...@dds.nl>:
: gcc -pipe tkAppInit.o
:-Wl,-bI:/data/playroom/pi0578/tcl/tk/unix/lib.exp
:-L/data/playroom/pi0578/tcl/tk/unix
:-L/data/playroom/pi0578/tcl/tcl/unix -lc -lX11 -ldl -lm
:-L/appl/tcl/lib -o wish

:ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp
:ld: 0711-317 ERROR: Undefined symbol: .Tcl_Init
:ld: 0711-317 ERROR: Undefined symbol: .Tcl_StaticPackage
:ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar
:ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
:information.
:collect2: ld returned 8 exit status
:make: The error code from the last command is 1.


Note that the link step above does not include
-ltk8.4 -ltcl8.4
as arguments - that's why you are getting the undefined

Also, I'm myself concerned about the ordering of the -l flags that are
there; I'd have expected something more along the lines of
-lX11 -ldl -lm -lc

--
"I know of vanishingly few people ... who choose to use ksh." "I'm a minority!"
<URL: mailto:lvi...@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

Mo

unread,
Feb 7, 2002, 6:47:15 PM2/7/02
to
lvi...@yahoo.com wrote:
>
> According to Gerard <grrd...@dds.nl>:
> : gcc -pipe tkAppInit.o
> :-Wl,-bI:/data/playroom/pi0578/tcl/tk/unix/lib.exp
> :-L/data/playroom/pi0578/tcl/tk/unix
> :-L/data/playroom/pi0578/tcl/tcl/unix -lc -lX11 -ldl -lm
> :-L/appl/tcl/lib -o wish
>
> :ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateInterp
> :ld: 0711-317 ERROR: Undefined symbol: .Tcl_Init
> :ld: 0711-317 ERROR: Undefined symbol: .Tcl_StaticPackage
> :ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar
> :ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> :information.
> :collect2: ld returned 8 exit status
> :make: The error code from the last command is 1.
>
> Note that the link step above does not include
> -ltk8.4 -ltcl8.4
> as arguments - that's why you are getting the undefined

That is not how AIX does things. Trust me, you don't want to know.

Mo

bo...@aol.com

unread,
Feb 8, 2002, 2:54:22 AM2/8/02
to
Don Porter <d...@email.nist.gov> wrote in message news:<slrna52pe...@clover.cam.nist.gov>...
> In article <1dfdcc1d.02012...@posting.google.com>, Gerard wrote:
> > I've got the same problems as Don Porter with the CVS tar file I got
> > from SourceForge (downloaded 22 januari 2002).
>
> Did my fix work for you as well? Delete lines 4397-4398 of
> tk/unix/configure.

What code does this remove? When I tried it I got a shell syntax
error ('fi unexpected').

Mo

unread,
Feb 8, 2002, 4:16:49 AM2/8/02
to
bo...@aol.com wrote:
>
> Don Porter <d...@email.nist.gov> wrote in message news:<slrna52pe...@clover.cam.nist.gov>...
> > In article <1dfdcc1d.02012...@posting.google.com>, Gerard wrote:
> > > I've got the same problems as Don Porter with the CVS tar file I got
> > > from SourceForge (downloaded 22 januari 2002).
> >
> > Did my fix work for you as well? Delete lines 4397-4398 of
> > tk/unix/configure.
>
> What code does this remove? When I tried it I got a shell syntax
> error ('fi unexpected').

This problem should already be fixed in the CVS HEAD. Just get the
HEAD from the CVS and run configure, it should work.

Mo

bo...@aol.com

unread,
Feb 11, 2002, 7:46:58 PM2/11/02
to
Mo <m...@nospam.com> wrote in message news:<3C639781...@nospam.com>...
OK

I downloaded tk/unix/configure version 1.30 (the head) and I am using
that with 8.3.4 from sourceforge. I get:

Undefined symbol: tclStubsPtr
" " tclInitStubsPtr
" " .Tcl_InitStubs

I am on AIX 4.2.1 using gcc.

Ideas?

bob

Mo

unread,
Feb 12, 2002, 2:07:32 AM2/12/02
to
bo...@aol.com wrote:

> I downloaded tk/unix/configure version 1.30 (the head) and I am using
> that with 8.3.4 from sourceforge. I get:
>
> Undefined symbol: tclStubsPtr
> " " tclInitStubsPtr
> " " .Tcl_InitStubs
>
> I am on AIX 4.2.1 using gcc.

Just grab both Tcl and Tk from the HEAD and compile them. Don't try to
mix configure script in with the older 8.3.4 release, that is not going
to work.

Mo

bo...@aol.com

unread,
Feb 12, 2002, 1:33:06 PM2/12/02
to
Mo <m...@nospam.com> wrote in message news:<3C68BF34...@nospam.com>...
Easy to say. Hard to sell when you need a 'released' version.

I am trying to get 8.3.4 working. I could use 8.4.x if that were
available and can be built.

Activestate has 8.4.0.1b1, but they seem to be primarily supporting
Win, Lin, and Solaris. Their source code doesn't seem to identify the
minor version, which is kind of scary. I couldn't find source code
for 8.4.0.1b1 at activestate. I don't know if it will work anyway.

The last one I built was 8.2.1, I may have to stay with that.

bob

Jeffrey Hobbs

unread,
Feb 13, 2002, 1:15:45 AM2/13/02
to
bo...@aol.com wrote:
...

> I am trying to get 8.3.4 working. I could use 8.4.x if that were
> available and can be built.
>
> Activestate has 8.4.0.1b1, but they seem to be primarily supporting
> Win, Lin, and Solaris. Their source code doesn't seem to identify the
> minor version, which is kind of scary. I couldn't find source code
> for 8.4.0.1b1 at activestate. I don't know if it will work anyway.

The release notes clearly state what revisions ActiveTcl releases
are built on, and in the case of 8.4.0.1b1 it was the 8.4a4 head.
You can also get this with a simple 'info patchlevel' when run.
ActiveState does support more than Win, Lin and Sol, but we don't
make public binaries for the other platforms at this time.

The reason you don't see the release notes posted for the 8.4 beta
when you go to the ActiveTcl page is that beta are really there for
those who like the cutting edge. This is also only the first beta
we've released based on the 8.4 core.

--
Jeff Hobbs The Tcl Guy
Senior Developer http://www.ActiveState.com/
Tcl Support and Productivity Solutions

bo...@aol.com

unread,
Feb 13, 2002, 7:23:12 PM2/13/02
to
Jeffrey Hobbs <Je...@ActiveState.com> wrote in message news:<3C6A0543...@ActiveState.com>...

> bo...@aol.com wrote:
> ...
> > I am trying to get 8.3.4 working. I could use 8.4.x if that were
> > available and can be built.
> >
> > Activestate has 8.4.0.1b1, but they seem to be primarily supporting
> > Win, Lin, and Solaris. Their source code doesn't seem to identify the
> > minor version, which is kind of scary. I couldn't find source code
> > for 8.4.0.1b1 at activestate. I don't know if it will work anyway.
>
> The release notes clearly state what revisions ActiveTcl releases
> are built on, and in the case of 8.4.0.1b1 it was the 8.4a4 head.
> You can also get this with a simple 'info patchlevel' when run.
> ActiveState does support more than Win, Lin and Sol, but we don't
> make public binaries for the other platforms at this time.
>
> The reason you don't see the release notes posted for the 8.4 beta
> when you go to the ActiveTcl page is that beta are really there for
> those who like the cutting edge. This is also only the first beta
> we've released based on the 8.4 core.

I couldn't figure this out from the web site. I supposed I could
download stuff to figure out what to download. :-(

The problem that I still have is:

I need the latest stable release I can build on AIX 4.2.1 for a new
install. I have gcc 2.95.2 and xlc 3.1.4. I have to stay with these
versions.

8.3.4 won't build (gcc problems posted earlier, xlc dies on first tcl
.c file with 'Internal error, call your service rep'. UGH!).

8.4.0 doesn't exist, but previous posts I've read indicate it may
work. It would be nice to have 8.4.x, but I'm going back to 8.2.1 if
I can't find anything else, because thats the latest one I know will
work. I sure hate to do that.

bob

Mo

unread,
Feb 13, 2002, 8:41:54 PM2/13/02
to
bo...@aol.com wrote:

> The problem that I still have is:
>
> I need the latest stable release I can build on AIX 4.2.1 for a new
> install. I have gcc 2.95.2 and xlc 3.1.4. I have to stay with these
> versions.
>
> 8.3.4 won't build (gcc problems posted earlier, xlc dies on first tcl
> .c file with 'Internal error, call your service rep'. UGH!).
>
> 8.4.0 doesn't exist, but previous posts I've read indicate it may
> work. It would be nice to have 8.4.x, but I'm going back to 8.2.1 if
> I can't find anything else, because thats the latest one I know will
> work. I sure hate to do that.
>
> bob

You either have to use the CVS HEAD version of 8.4 or go back to 8.2
if that works for you. The 8.3.4 release does not compile on AIX
and it would be a non-trivial amount of work to merge all the
build system fixes from 8.4 back into the 8.3 branch.

Mo

Jeffrey Hobbs

unread,
Feb 14, 2002, 12:36:06 AM2/14/02
to
Mo wrote:
> bo...@aol.com wrote:
...

> > 8.3.4 won't build (gcc problems posted earlier, xlc dies on first tcl
> > .c file with 'Internal error, call your service rep'. UGH!).

Do you have an IBM service rep to call? It sounds like xlc
really doesn't work. Have you tried building anything else?

> > 8.4.0 doesn't exist, but previous posts I've read indicate it may
> > work. It would be nice to have 8.4.x, but I'm going back to 8.2.1 if

...


> You either have to use the CVS HEAD version of 8.4 or go back to 8.2
> if that works for you. The 8.3.4 release does not compile on AIX

Errr... no. I have an 8.3.4 compile on AIX 4.3.3 with xlc - no
problems. May have had to add one tweak to the Tk makefile,
but I think I commited it back. This is of course also the
8.3.4cvs version, not the released sources.

bo...@aol.com

unread,
Feb 15, 2002, 5:09:41 PM2/15/02
to
Jeffrey Hobbs <Je...@ActiveState.com> wrote in message news:<3C6B4D7A...@ActiveState.com>...

> Mo wrote:
> > bo...@aol.com wrote:
> ...
> > > 8.3.4 won't build (gcc problems posted earlier, xlc dies on first tcl
> > > .c file with 'Internal error, call your service rep'. UGH!).
>
> Do you have an IBM service rep to call? It sounds like xlc
> really doesn't work. Have you tried building anything else?
>
> > > 8.4.0 doesn't exist, but previous posts I've read indicate it may
> > > work. It would be nice to have 8.4.x, but I'm going back to 8.2.1 if
> ...
> > You either have to use the CVS HEAD version of 8.4 or go back to 8.2
> > if that works for you. The 8.3.4 release does not compile on AIX
>
> Errr... no. I have an 8.3.4 compile on AIX 4.3.3 with xlc - no
> problems. May have had to add one tweak to the Tk makefile,
> but I think I commited it back. This is of course also the
> 8.3.4cvs version, not the released sources.

Hurray, It's working. What I found is that tcl 8.3.3 built clean with
no changes on my AIX 4.2.1. The xlc crash was caused by the -O
(optimize) flag put in by configure. Oddly, 8.2.1 and 8.3.4 both put
in -O for AIX. 8.3.3 does not. Of course there are lots of versions
of AIX and xlc out there, so who knows which ones will build tcl with
-O and which will not.

Thanks to you and Mo for your help and encouragement.

bob

Jeffrey Hobbs

unread,
Feb 16, 2002, 6:03:01 AM2/16/02
to
bo...@aol.com wrote:
...

> Hurray, It's working. What I found is that tcl 8.3.3 built clean with
> no changes on my AIX 4.2.1. The xlc crash was caused by the -O
> (optimize) flag put in by configure. Oddly, 8.2.1 and 8.3.4 both put
> in -O for AIX. 8.3.3 does not. Of course there are lots of versions
> of AIX and xlc out there, so who knows which ones will build tcl with
> -O and which will not.

Arg, if Tk is getting compiled with xlc and -O, that's not good.
There is a definite bug in the xlc compiler (v5.something) across
AIX 4.x that caused the crash. If you up to -O2/3/4 or no -O,
you don't have a problem.

0 new messages