| Ticket UUID: | 1863007 | |||
| Title: | undefined symbol: ttkStubsPtr | |||
| Type: | Bug | Version: | obsolete: 8.5.0 | |
| Submitter: | fandom | Created on: | 2008-01-03 09:59:18 | |
| Subsystem: | 84. Unix Build | Assigned To: | jenglish | |
| Priority: | 8 | Severity: | ||
| Status: | Closed | Last Modified: | 2008-04-25 22:22:09 | |
| Resolution: | Fixed | Closed By: | jenglish | |
| Closed on: | 2008-04-25 15:22:09 | |||
| Description: |
After compiling tileqt with -DUSE_TTK_STUBS, I get the error "undefined symbol: ttkStubsPtr" even though libtkstub8.5.a is included in the compile command. In the newsgroup Donal D. Fellows commented: At a guess (looking at win/Makefile.in without much thought) I'd say that ttkStubLib.o is getting packed into the wrong build library. A quick glance at the unix build file indicates that the same problem seems to be there too. The thread: http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/2691af20c43a12b7/fa6cb486de155ae6?lnk=raot#fa6cb486de155ae6 | |||
| User Comments: |
jenglish added on 2008-04-25 22:22:09:
Logged In: YES user_id=68433 Originator: NO Believed to be fixed in 8.5.2. jenglish added on 2008-03-18 13:58:33: Logged In: YES user_id=68433 Originator: NO With Tile, dependent extensions should (a) #include "tkTheme.h", (b) call Ttk_InitializeStubs in their package_Init() routine, (c) compile with -DUSE_TTK_STUBS, and (d) link with -lttkstub. Dependent extensions compiled this way should still be loadable into Tk 8.5 _as long as Tile 0.8.2 is present and loadable at runtime as a separate extension_. This does not work when building directly against Tk 8.5.0 or Tk 8.5.1. The cause of this particular problem is that the Ttk stub library ended up in libtk.a instead of libtkstub.a. Should be fixed now in CVS. There may be other problems. petasis added on 2008-03-17 02:14:15: Logged In: YES user_id=92283 Originator: NO This bug also affects the tileqt extension. The missing TTK stubs does not allow the extension to use the ttk stubs (which will be included in the tk stub library?). And the fact that the Ttk API functions are *not* exported from tk shared library (nm reports all of them as "local") makes impossible to link tileqt under 8.5. Can we please provide a solution to this? | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki