Paul (and rooters), I've had similar problems on Linux. However, I was using ROOT 2.22v09. I had problems with many different classes besides TPaveLabel. I had assumed that the documentation on the web had been updated, and that I was using an older version that did not implement certain functions. I find it interesting that you have a similar problem with another version... I also had type casting problems when calling functions, i.e. I would try to pass a character string (char *) to a function with a Text_t * parameter, and had funny messages saying that there was no function with an equivalent signature. I assume this was part of the same problem... Fons, Rene? Regards, Dan. Daniel Flath LCD Group Stanford Linear Accelerator Center <dflath@slac.stanford.edu> (650) 926-8794 > -----Original Message----- > From: Paul Nord [SMTP:PNORD@exodus.valpo.edu] > Sent: Wednesday, December 01, 1999 9:02 AM > To: roottalk@hpsalo.cern.ch > Subject: hworld.cxx won't link on Linux > > Good Day, > > I ran into a problem linking my code on Linux. The linker doesn't > seem to > know what to do with the TPaveLabel. I discovered that hworld.cxx has > the same > problem. > > Paul Nord > > > $ make hworld > g++ -O -Wall -fPIC -I/home/pnord/root/include -c hworld.cxx > g++ -g hworld.o -L/home/pnord/root/lib -lNew -lCore -lCint -lHist > -lGraf > -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl > -rdynamic -o hworld > hworld.o: In function `main': > hworld.o(.text+0xa2): undefined reference to > `TPaveLabel::TPaveLabel(float, > float, float, float, char const *, char const *)' > collect2: ld returned 1 exit status > make: *** [hworld] Error 1 > > > > This is the version of ROOT I have currently. I'm downloading the > newer one. > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 2.23/08 2 November 1999 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > CINT/ROOT C/C++ Interpreter version 5.14.21, Oct 22 1999 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET