Re: Tk/Tcl interface module

Bill Janssen (janssen@parc.xerox.com)
Wed, 1 Jun 1994 18:05:07 PDT

Which version of Tcl/Tk is expected? I build against Tcl 7.3, Tk 3.6,
and get the following problems:

/import-writable/python/sparc-sun-sunos4.1/src/Extensions/tkinter 475 % make all CC=acc
acc -g -I/import/python/sparc-sun-sunos4.1/include/Py -I/import/python/sparc-sun-sunos4.1/lib -DHAVE_CONFIG_H -DPYTHONPATH=\".:/import/python-1.0.0/common/lib/python:/import/python-1.0.0/common/lib/python/test\" -c config.c
acc -g -I/import/python/sparc-sun-sunos4.1/include/Py -I/import/python/sparc-sun-sunos4.1/lib -DHAVE_CONFIG_H -I/import/python/sparc-sun-sunos4.1/include -I/import/tcl7/include/tcl7.3 -I/import/tcl7/include/tk3.6 -I/import/X11R4/include -c ./tkinter.c
"./tkinter.c", line 94: warning: assignment type mismatch
ar cr lib.a tkinter.o
acc config.o lib.a /import/python/sparc-sun-sunos4.1/lib/libModules.a /import/python/sparc-sun-sunos4.1/lib/libPython.a /import/python/sparc-sun-sunos4.1/lib/libObjects.a /import/python/sparc-sun-sunos4.1/lib/libParser.a \
-L/import/tcl7/lib -L/import/X11R4/usr/lib -ltk -ltcl -lX11 -lm -o python
ld: lib.a: warning: archive has no table of contents; add one using ranlib(1)
ld: Undefined symbol
_Tcl_AppInit
*** Error code 2
make: Fatal error: Command failed for target `python'

Bill