Hi Paul, My guess is that you have includes from old Root versions left somewhere in your directories. Several Root classes (including TPaveLabel) had their signature changed from char* to const char* Rene Brun On Wed, 1 Dec 1999, Paul Nord wrote: > 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