OS: Linux 1.2.8
GCC: 2.7.0
When I compile tk4.0 I get the following errors,
gcc -O -I. -I./../tcl7.4 -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DTK_FILE_READ_PTR=1 -DTK_LIBRARY=\"/usr/lib/tk4.0\" tkAppInit.o libtk.a ../tcl7.4/libtcl.a -L/usr/X11R6/lib -lX11 -lieee -lm -o wish
tkMain.o(.text+0x274): undefined reference to `XSynchronize'
tkWindow.o(.text+0x1fa): undefined reference to `XOpenDisplay'
tkWindow.o(.text+0xcb3): undefined reference to `XDestroyWindow'
tkWindow.o(.text+0xd0d): undefined reference to `XDestroyIC'
tkWindow.o(.text+0xe9f): undefined reference to `XMapWindow'
tkWindow.o(.text+0xf1b): undefined reference to `XRootWindow'
tkWindow.o(.text+0xf4b): undefined reference to `XConfigureWindow'
tkWindow.o(.text+0xfa6): undefined reference to `XCreateWindow'
I get many such errors. Any idea what is the problem?
thanks
--
The Dalmatian Group Inc. | Home page: http://www.jagunet.com/~mahesh/
User Interface Specialists | FAQ Maintainer of TeleUSE GUI Builder