From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14111 invoked from network); 27 Apr 1998 21:44:15 -0000 Received: from ellpspace.math.ualberta.ca (michal@129.128.88.19) by mail2.redhat.com with SMTP; 27 Apr 1998 21:44:15 -0000 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.5/8.8.5) id PAA12537 for axp-list@redhat.com; Mon, 27 Apr 1998 15:44:29 -0600 From: Michal Jaegermann Message-Id: <199804272144.PAA12537@ellpspace.math.ualberta.ca> Subject: Re: teTeX-0.9-980422 and xdvik To: axp-list@redhat.com Date: Mon, 27 Apr 1998 15:44:29 -0600 (MDT) In-Reply-To: from "Larry Tai" at Apr 27, 98 01:05:15 pm Content-Type: text > Now I am getting the following messages: > > xdvi.o: In function `string_to_pixel': > d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1219: undefined reference to `XParseColor' > d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1222: undefined reference to `XAllocColor' > d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1226: undefined reference to `XAllocNamedColor' > d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1226: undefined reference to > `XAllocNamedColor' xdvi.o: In function `parse_options': > d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1343: undefined reference to `XOpenDisplay' > d.teTeX/teTeX-0.9/texk/xdvik/xdvi.c:1350: undefined reference to `XGetDefault' As all these functions are provided by a basic libX11, not even one of extra toolkits, it is obvious that you are not linking this library. Why it is hard to tell as you are telling what you are doing and my crystal ball is in a storage. Probably xdvi came with Imakefile and you did not bother to run 'xmkmf -a' before trying to compile but instead you are using Makefile which happened to be siting there and which was for a totally different system. This has really nothing to do with Linux and even less with Alpha. In case of sources with no Imakefile around it is often advantageous, instead of hacking Makefile and forgetting something, to provide a link 'ln -s X11R6 X11' in /usr. It is harmless until the moment when you replace your revision of X with the next one. Not for a some time yet. Michal