From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: teTeX-0.9-980422 and xdvik
Date: Mon, 27 Apr 1998 15:44:29 -0600 (MDT) [thread overview]
Message-ID: <199804272144.PAA12537@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.ULT.3.91.980427124836.6640A-100000@wald.ucdavis.edu> from "Larry Tai" at Apr 27, 98 01:05:15 pm
> 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
prev parent reply other threads:[~1998-04-27 21:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-27 20:05 teTeX-0.9-980422 and xdvik Larry Tai
1998-04-27 21:44 ` Michal Jaegermann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox