[tex-live] XGrabServer
George White
aa056 at chebucto.ns.ca
Sat Aug 20 14:29:22 CEST 2005
Quoting Gerben Wierda <Gerben.Wierda at rna.nl>:
> I have no in depth knowledge of X11 stuff. On compiling (latest
> sources) I now get
>
> gcc -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o dvisel.o
> encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-
> magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-
> internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-
> internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o
> xserver-info.o x_util.o ./gui/libgui.a ../../libs/t1lib/
> libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6/lib -lXaw -
> lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -L/usr/lib -liconv -lXpm ../
> kpathsea/.libs/libkpathsea.a -lm
> /usr/bin/ld: Undefined symbols:
> _XGrabServer
> _XUngrabServer
> collect2: ld returned 1 exit status
>
> Does anybody know how I can find out what is wrong?
Add:
-Wl,--trace-symbol=XGrabServer -Wl,--trace-symbol=XUnGrabServer
to the link command. For comprison with a link that works (and because
I dont know how to get tl sources thru the firewall), teTeX-3.0 using Motif
on Fedora Core 4 has:
gcc -o xdvi-motif.bin -O3 -march=i686 browser.o dvi-draw.o dvi-init.o dvisel.o
encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o
mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o
psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o
string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o
-Wl,--allow-multiple-definition -Wl,--trace-symbol=XGrabServer
-Wl,--trace-symbol=XUngrabServer ./gui/libgui.a ../../libs/t1lib/libt1.a
../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6/lib -lXm -lXmu -lXt -lSM
-lICE -lXp -lXext -lX11 -lXpm ../kpathsea/.libs/libkpathsea.a -lm
/usr/X11R6/lib/libXm.so: reference to XUngrabServer
/usr/X11R6/lib/libXm.so: reference to XGrabServer
/usr/X11R6/lib/libXmu.so: reference to XUngrabServer
/usr/X11R6/lib/libXmu.so: reference to XGrabServer
/usr/X11R6/lib/libX11.so: definition of XUngrabServer
/usr/X11R6/lib/libX11.so: definition of XGrabServer
/usr/X11R6/lib/libXpm.so: reference to XUngrabServer
/usr/X11R6/lib/libXpm.so: reference to XGrabServer
--
George N. White III
Head of St. Margarets Bay, Nova Scotia
More information about the tex-live
mailing list