Tk Source Code

View Ticket
Login
Ticket UUID: 3069474
Title: undefined reference to `_TkFinalize
Type: Bug Version: None
Submitter: mescalinum Created on: 2010-09-17 20:54:28
Subsystem: 85. Win Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2011-09-09 15:01:02
Resolution: Fixed Closed By: nijtmans
    Closed on: 2011-09-09 08:01:02
Description:
patch 3059923 fixes this compiler error by removing usage of SEH on this case (gcc, have_no_seh, win64)

environment:
windows7 x64 - gcc-4.5.1 mingw64 - w64 target

x86_64-w64-mingw32-gcc -shared -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE  -o tk86.dll -pipe            -Wl,--out-implib,libtk86.a tkConsole.o tkUnixMenubu.o tkUnixScale.o xcolors.o xdraw.o xgc.o ximage.o xutil.o tkWin3d.o tkWin32Dll.o tkWinButton.o tkWinClipboard.o tkWinColor.o tkWinConfig.o tkWinCursor.o tkWinDialog.o tkWinDraw.o tkWinEmbed.o tkWinFont.o tkWinImage.o tkWinInit.o tkWinKey.o tkWinMenu.o tkWinPixmap.o tkWinPointer.o tkWinRegion.o tkWinScrlbr.o tkWinSend.o tkWinSendCom.o tkWinWindow.o tkWinWm.o tkWinX.o stubs.o tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkBusy.o tkButton.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkCanvas.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkCursor.o tkEntry.o tkError.o tkEvent.o tkFileFilter.o tkFocus.o tkFont.o tkFrame.o tkGC.o tkGeometry.o tkGet.o tkGrab.o tkGrid.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPNG.o tkImgPPM.o tkImgPhoto.o tkImgPhInstance.o tkImgUtil.o tkListbox.o tkMacWinMenu.o tkMain.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkPanedWindow.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o tkPointer.o tkRectOval.o tkScale.o tkScrollbar.o tkSelect.o tkStyle.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o tkTrig.o tkUndo.o tkUtil.o tkVisual.o tkStubInit.o tkWindow.o ttkWinMonitor.o ttkWinTheme.o ttkWinXPTheme.o ttkBlink.o ttkButton.o ttkCache.o ttkClamTheme.o ttkClassicTheme.o ttkDefaultTheme.o ttkElements.o ttkEntry.o ttkFrame.o ttkImage.o ttkInit.o ttkLabel.o ttkLayout.o ttkManager.o ttkNotebook.o ttkPanedwindow.o ttkProgress.o ttkScale.o ttkScrollbar.o ttkScroll.o ttkSeparator.o ttkSquare.o ttkState.o ttkTagSet.o ttkTheme.o ttkTrace.o ttkTrack.o ttkTreeview.o ttkWidget.o ttkStubInit.o tk.res.o "/c/pd/tcltk-cvs/tcl/win/libtclstub86.a" -lkernel32 -luser32 -ladvapi32 -lws2_32 -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32
Creating library file: libtk86.atkWin32Dll.o:tkWin32Dll.c:(.text+0x59): undefined reference to `_TkFinalize
'
collect2: ld returned 1 exit status
make: *** [tk86.dll] Error 1
User Comments: nijtmans added on 2011-09-09 15:01:02:

allow_comments - 1

Don't remember when, but this has been fixed for a long time.