Re: troubles with CC

Fons Rademakers (Fons.Rademakers@cern.ch)
Mon, 07 Jul 1997 14:18:47 +0200


Hi Luca,

add:

int Error;

in the global part of client.cxx
(see also $ROOTSYS/test/hworld.cxx).

Cheers, Fons.

Luca Sfarzo wrote:
>
> Hello,
> I am trying to compile on my machine (hp-ux 10.20) a file (client.cxx)
> which uses root classes.
> I use your makefile inlcluded in test directory but, when it links,
> appears always the same error:
>
> Luka>make
> CC -O -w +a1 +Z -I/disk2/kloe/root/include -c client.cxx
> CC -g +a1 -z client.o -L/disk2/kloe/root/lib -lBase -lCint
> -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMeta -lMinuit
> -lNet -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGX11 -lMotif
> -lWidgets -lX3d -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -lXm -lXt -lX11
> -lm -lPW -ldld -o client
> /usr/ccs/bin/ld: Unsatisfied symbols:
> Error (data)
> *** Error exit code 1
>
> Stop.
>
> Can you tell me something 'bout?
>
> Thanks, Luca Sfarzo

-- 
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