Re: problem linking test program

Fons Rademakers (Fons.Rademakers@cern.ch)
Wed, 11 Mar 1998 17:56:39 +0100


Hi Nicolas,

you have an old libXpm on your machine (all RedHat's >=4.2 are ok).
You can get ftp://root.cern.ch/pub/libXpm.so.4.9.gz which should
work. Or you can install the latest version from the Xpm source
(take: ftp://root.cern.ch/root/xpm-3.4j.tar.gz).

Put in $ROOTSYS/lib and it should be fine, or replace old one in
/usr/X11R6/lib directly.

-- Fons.

Produit Nicolas wrote:
>
> Trying to make the test example on a linux machine
> Event compile and link ok but:
>
> g++ -g hworld.o -L/ams/data/produit/root/lib -lNew -lBase -lCint -lClib
> -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit
> -lNet -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d
> -L/usr/X11R6/lib -lXpm -lX11 -lg++ -lm -ldl -rdynamic -o hworld
> /ams/data/produit/root/lib/libGX11.so: undefined reference to `XpmFree'
> make: *** [hworld] Error 1
>
> --
> Nicolas Produit

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910