[Xcircuit-dev] Compiling 3.4 under WinXP & Cygwin (again)
Brought to you by:
rtedwards
From: James V. <jam...@nt...> - 2005-10-14 22:10:41
|
Hi, I'm having trouble compiling xcircuit 3.4.3 with tcl under Cygwin & WinXP, although my error message looks a bit different to some others in the archives I compiled tcl and tk from source using the "XCircuit for Windows XP" instructions in the /opt directory so as not to interfere with cygwin's packages. wish starts okay. I go to xcircuit's directory and type: ./configure --prefix=/opt --with-tclincls=/opt/include --with-tkincls=/opt/include and configure prints the following .... <SNIP> checking for tclConfig.sh... /opt/lib/tclConfig.sh checking for tclConfig.sh... /opt/lib/tkConfig.sh <SNIP> make runs happily until it reaches xcircuit.c, but then it starts to look like tcl isn't as well installed as I thought! I've pasted part of the output of make below. I get the same problem with the 3.3.38 version of xcircuit. I can post the whole output of configure or make if I've left too much out. Any ideas how to get this to compile? Cheers, James <SNIP> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" - DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\" -DVERSION=\"3.4\" -DPROTOTYPES=1 -D__PROTOTYPES=1 - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DHAVE_STRING_H=1 -DSIZEOF_VOID_P=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DHAVE_LIBXT=1 - DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 - DHAVE___VA_COPY=1 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1 -DHAVE_X11_XPM_H=1 -DHAVE_XPM=1 -DCYGWIN=1 -DLGF=1 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\" -DTCL_WRAPPER=1 -DPROG_VERSION=3.4 - DPROG_REVISION=3 -DCAD_DIR=\"/opt\" -DTEMP_DIR=\"/tmp\" -DRESOURCES_DIR=\"/opt/lib/xcircuit-3.4/app- defaults\" -DBUILTINS_DIR=\"/opt/lib/xcircuit-3.4\" -DBUILTINS_FILE=\"\" - DUSER_RC_FILE=\".xcircuitrc\" -DPROLOGUE_DIR=\"/opt/lib/xcircuit-3.4\" - DPROLOGUE_FILE=\"xcircps2.pro\" -DSTARTUP_FILE=\"xcstartup.tcl\" -DLGF_LIB=\"lgf.lps\" - DASG_SPICE_LIB=\"asg_spice.lps\" -I. -I. -IXw -I/opt/include/ -I/opt/include -I/usr/X11R6/include -g -O2 -c xcircuit.c rm -f lib/xcircuit.dll gcc -g -O2 -fPIC -o lib/tcl/xcircuit.dll -shared -Wl,--enable-auto-image-base -Wl,-rpath,/opt/lib - Wl,--version-script=symbol.map xcwrap.o \ elements.o events.o filelist.o files.o flate.o fontfile.o formats.o functions.o graphic.o help.o keybindings.o libraries.o menucalls.o netlist.o ngspice.o opengl.o parameter.o python.o rcfile.o render.o schema.o selection.o text.o undo.o tclxcircuit.o tkSimple.o tkPixmap.o xcircuit.o - L/usr/X11R6/lib \ -lc -lltdl -lz -lXt -lSM -lICE -lX11 -lXpm -lm \ xcwrap.o: In function `Xcircuit_Init': /opt/src/xcircuit-3.4.3/xcwrap.c:154: undefined reference to `_Tcl_PkgRequire' /opt/src/xcircuit-3.4.3/xcwrap.c:163: undefined reference to `_Tk_MainWindow' /opt/src/xcircuit-3.4.3/xcwrap.c:169: undefined reference to `_Tcl_CreateObjCommand' /opt/src/xcircuit-3.4.3/xcwrap.c:178: undefined reference to `_Tcl_CreateObjCommand' /opt/src/xcircuit-3.4.3/xcwrap.c:187: undefined reference to `_Tcl_Eval' /opt/src/xcircuit-3.4.3/xcwrap.c:198: undefined reference to `_Tcl_SetVar' /opt/src/xcircuit <SNIP> /opt/src/xcircuit-3.4.3/xcircuit.c:3017: undefined reference to `_Tcl_CreateTimerHandler' xcircuit.o: In function `popupprompt': /opt/src/xcircuit-3.4.3/xcircuit.c:1137: undefined reference to `_Tk_MapWindow' xcircuit.o: In function `outputpopup': /opt/src/xcircuit-3.4.3/xcircuit.c:1309: undefined reference to `_Tcl_Eval' collect2: ld returned 1 exit status make[2]: *** [lib/tcl/xcircuit.dll] Error 1 make[2]: Leaving directory `/opt/src/xcircuit-3.4.3' make[1]: *** [tcl] Error 2 make[1]: Leaving directory `/opt/src/xcircuit-3.4.3' make: *** [all-recursive] Error 2 |