Re: [Xcircuit-dev] xcircuit 3.3.30 build error
Brought to you by:
rtedwards
From: R. T. E. <tim...@mu...> - 2005-08-04 04:28:36
|
Dear Nicolas and Richard, > gcc -g -O2 -fPIC -fPIC -o lib/tcl/xcircuit.so -shared > -Wl,-soname,lib/tcl/xcircuit.so -Wl,--version-script=symbol.map xcwrap.o \ > elements.o events.o filelist.o files.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 -lXt -lSM -lICE -lm -lX11 -lXpm -ldl -lieee -lm > /usr/bin/ld: lib/tcl/xcircuit.so: undefined versioned symbol name > _LIB_VERSION@@GLIBC_2.0 > /usr/bin/ld: failed to set dynamic section sizes: Bad value I googled the error message, and it appears that it is always the result of having "-lm" coming before "-lieee" in the compile line. This can be easily modified in the Makefile---just remove the first "-lm" in the line "LIBS=...". It is apparently a new feature of Tcl/Tk that it adds "-lieee" to the LIBS line. . . so any addition of "-lm" (math library) needs to be done after Tcl/Tk has made its additions. Easy enough to fix in the distribution. Regards, Tim +--------------------------------+-------------------------------------+ | Dr. R. Timothy Edwards (Tim) | email: tim...@mu... | | MultiGiG, Inc. | web: http://www.multigig.com | | 100 Enterprise Way, Suite A-3 | phone: (831) 621-3283 | | Scotts Valley, CA 95066 | cell: (240) 401-0616 | +--------------------------------+-------------------------------------+ |