50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
From: kernr at mail.ncifcrf.gov (Robert Kern)
|
|
Date: Sun, 11 Apr 1999 19:32:31 -0400
|
|
Subject: cygwin32-b20 _tkinter problem
|
|
References: <371071b0.15953469@news.btx.dtag.de>
|
|
Message-ID: <3711310F.65CA2C0A@mail.ncifcrf.gov>
|
|
Content-Length: 1438
|
|
X-UID: 908
|
|
|
|
Monika G?hmann wrote:
|
|
>
|
|
> When I try to compile python-1.5.2b2 under WinNT with Cygwin32-B20 it
|
|
> works very well without Tk-Module. But when I try to include Tk, I get
|
|
> the following messages:
|
|
>
|
|
> gcc python.o \
|
|
> ../libpython1.5.a -ltix4180 -ltk80 -ltcl80 -lstdc++ -lm
|
|
> -lm -o python
|
|
> ../libpython1.5.a(_tkinter.o): In function `Tkapp_CreateFileHandler':
|
|
> //c/temp/Python-1.5.2b2/Modules/./_tkinter.c:1459: undefined
|
|
> reference to `Tcl_CreateFileHandler'
|
|
> ../libpython1.5.a(_tkinter.o): In function `Tkapp_DeleteFileHandler':
|
|
> //c/temp/Python-1.5.2b2/Modules/./_tkinter.c:1486: undefined
|
|
> reference to `Tcl_DeleteFileHandler'
|
|
> ../libpython1.5.a(_tkinter.o): In function `EventHook':
|
|
> //c/temp/Python-1.5.2b2/Modules/./_tkinter.c:1913: undefined
|
|
> reference to `Tcl_CreateFileHandler'
|
|
> //c/temp/Python-1.5.2b2/Modules/./_tkinter.c:1943: undefined
|
|
> reference to `Tcl_DeleteFileHandler'
|
|
> collect2: ld returned 1 exit status
|
|
> make[1]: *** [link] Error 1
|
|
> make: *** [python] Error 2
|
|
|
|
Add -lexpect526 to the command line. Those symbols are only defined in
|
|
libexpect526.a of the cygwin B20.1 distribution.
|
|
|
|
Hope that helps.
|
|
|
|
[snip]
|
|
|
|
--
|
|
Robert Kern |
|
|
----------------------|"In the fields of Hell where the grass grows high
|
|
This space | Are the graves of dreams allowed to die."
|
|
intentionally | - Richard Harter
|
|
left blank. |
|
|
|
|
|
|
|
|
|