This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: Trouble compiling Insight 6.6 on cygwin
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Sunil Kulkarni'" <linux_sunil at hotmail dot com>, <insight at sourceware dot org>
- Date: Fri, 21 Sep 2007 16:49:37 +0100
- Subject: RE: Trouble compiling Insight 6.6 on cygwin
- References: <BAY122-W1303519D84CA9A7F67EBA39BBB0@phx.gbl>
On 21 September 2007 16:36, Sunil Kulkarni wrote:
> tclAppInit.o: In function `Tcl_AppInit':
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:139: undefined
> reference to `__imp__Tcl_Init'
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:147: undefined
> reference to `__imp__Tcl_AsyncCreate'
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:193: undefined
> reference to `__imp__Tcl_SetVar' tclAppInit.o: In function `main':
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:252: undefined
> reference to `__imp__Tcl_Alloc'
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:110: undefined
> reference to `__imp__Tcl_Main' tclAppInit.o: In function `asyncExit':
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:333: undefined
> reference to `__imp__Tcl_Exit' tclAppInit.o: In function `sigHandler':
> /home/skulkarni/dld/insight-6.6/tcl/win/tclAppInit.c:368: undefined
> reference to `__imp__Tcl_AsyncMark' collect2: ld returned 1 exit status
>
>
> There is a similar question in the archive [in 2003] but no answer :-(
> I checked libtcl84.a and it does *not* have these symbols.
What output do you see from "cygcheck -f /lib/libtcl84.a" ? I have this
version:
/gnu/gdb/gdb-6.6 $ cygcheck -f /lib/libtcl84.a
tcltk-20060202-1
and it certainly does have the various functions listed:
/gnu/gdb/gdb-6.6 $ nm /lib/libtcl84.a | grep Async
00000000 T _Tcl_AsyncReady
00000000 I __imp__Tcl_AsyncReady
00000000 T _Tcl_AsyncMark
00000000 I __imp__Tcl_AsyncMark
00000000 T _Tcl_AsyncInvoke
00000000 I __imp__Tcl_AsyncInvoke
00000000 T _Tcl_AsyncDelete
00000000 I __imp__Tcl_AsyncDelete
00000000 T _Tcl_AsyncCreate
00000000 I __imp__Tcl_AsyncCreate
00000000 T _TclFinalizeAsync
00000000 I __imp__TclFinalizeAsync
/gnu/gdb/gdb-6.6 $ nm /lib/libtcl84.a | grep '\(Exit\|Init\|Alloc\)$'
00000000 T _TclpThreadExit
00000000 I __imp__TclpThreadExit
00000000 T _TclpAlloc
00000000 I __imp__TclpAlloc
00000000 T _Tcl_Init
00000000 I __imp__Tcl_Init
00000000 T _Tcl_Exit
00000000 I __imp__Tcl_Exit
00000000 T _Tcl_DStringInit
00000000 I __imp__Tcl_DStringInit
00000000 T _Tcl_AttemptAlloc
00000000 I __imp__Tcl_AttemptAlloc
00000000 T _Tcl_Alloc
00000000 I __imp__Tcl_Alloc
00000000 T _TclWinInit
00000000 I __imp__TclWinInit
00000000 T _TclInterpInit
00000000 I __imp__TclInterpInit
00000000 T _TclInExit
00000000 I __imp__TclInExit
cheers,
DaveK
--
Can't think of a witty .sigline today....