Trouble Compiling tcl-dp !!

Trouble Compiling tcl-dp !!

Post by Ed Tawfal » Fri, 18 Aug 1995 04:00:00



Help, I am trying to compile tcl-dp3.2 or 3.3, so I can run zircon.
Below is a partical list of the errors I get.
What is Wrong???

gcc version 2.7.0

gcc -fwritable-strings -c -O  -I. -I/usr/include -I../tcl7.4 -I../tk4.0
-I/usr/X11R6/include -DLINUX=1 -DMULTICAST=1 -DSTDC_HEADERS=1
-DHAVE_FCNTL_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_UN_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TOLOWER=1
-DHAVE_NTOHL=1 -DNO_WRITEV=1 -DTIME_WITH_SYS_TIME=1  -DNO_PROTOTYPE  
-DTCL_LIBRARY=\"/usr/lib/tcl\" -DTK_LIBRARY=\"/usr/lib/tk\"
-DDP_LIBRARY=\"/usr/local/lib/dp\"   ns.c
rm -f libdpnetwork.a
ar cr libdpnetwork.a dpnetInit.o dpnetwork.o dpaddress.o dprpc.o ns.o
ranlib libdpnetwork.a
gcc -fwritable-strings -o dpwish tkMain.o tkAppInit.o  libdpnetwork.a
-L/usr/lib -ltk -L/usr/lib -ltcl -L/usr/X11R6/lib -lX11  -lm -lc
tkMain.o(.text+0xd): undefined reference to `Tcl_CreateInterp'
tkMain.o(.text+0x29): undefined reference to `Tk_ParseArgv'
tkMain.o(.text+0x13b): undefined reference to `Tcl_SetVar2'
tkMain.o(.text+0x167): undefined reference to `Tk_CreateMainWindow'
tkMain.o(.text+0x1cc): undefined reference to `Tk_GeometryRequest'
..
tkMain.o(.text+0x4de): undefined reference to `Tcl_GetVar'
tkMain.o(.text+0x50c): undefined reference to `Tcl_Eval'
tkMain.o(.text+0x581): undefined reference to `Tcl_Eval'
tkMain.o(.text+0x593): undefined reference to `Tk_DeleteFileHandler'
tkMain.o(.text+0x5b0): undefined reference to `Tcl_DStringAppend'
tkMain.o(.text+0x5d3): undefined reference to `Tcl_CommandComplete'
tkMain.o(.text+0x606): undefined reference to `Tk_CreateFileHandler'
tkMain.o(.text+0x614): undefined reference to `Tcl_RecordAndEval'
tkMain.o(.text+0x626): undefined reference to `Tk_CreateFileHandler'
tkMain.o(.text+0x633): undefined reference to `Tcl_DStringFree'
tkMain.o(.text+0x6ae): undefined reference to `Tcl_GetVar'
tkMain.o(.text+0x6e3): undefined reference to `Tcl_Eval'
tkMain.o(.text+0x6f5): undefined reference to `Tcl_AddErrorInfo'
..