Hi ROOTers, First of all, sorry for this somewhat long mail. I have a class that uses TProfile, and I get the error message quoted below when trying to use ACLiC to compile it. I've checked that I still have the problem with a simple script that the only thing it does is instantiating a TProfile object. So, I guess I've some problem with the library path, or something like that, but I cannot find out what it exactly is. Does anybody have an idea? I'm using ROOT v.3.03.02 on lxplus at CERN. The relevant environmental variables are ROOTSYS /afs/cern.ch/cms/external/ROOT/3.03.02/i386_linux22/gcc-2.95.2/root PATH /afs/cern.ch/cms/external/ROOT/3.03.02/i386_linux22/gcc-2.95.2/root/bin: /afs/cern.ch/user/g/graboso/ORCA_6_1_1/bin/Linux__2.2: /afs/cern.ch/cms/Releases/ORCA/ORCA_6_1_1/bin/Linux__2.2: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Qt/3.0.1/bin: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Objectivity/6.1.3/bin: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/PublicDomainPackages/bin: /afs/cern.ch/cms/Releases/COBRA/COBRA_6_1_0/bin/Linux__2.2: /afs/cern.ch/cms/Releases/IGUANA/IGUANA_3_1_0/bin/Linux__2.2: /afs/cern.ch/cms/utils:/afs/cern.ch/user/g/graboso/bin: /afs/cern.ch/user/g/graboso/scripts:/afs/cern.ch/cms/bin/i386_linux22: /afs/cern.ch/cms/system/bin:/usr/sue/bin:/usr/bin:/bin:/usr/bin/X11: /usr/local/bin:/usr/local/bin/X11:/cern/pro/bin: /usr/local/lsf/bin: /afs/cern.ch/user/g/graboso LD_LIBRARY_PATH /usr/local/gcc-alt-2.95.2/lib: /afs/cern.ch/user/g/graboso/ORCA_6_1_1/lib/Linux__2.2: /afs/cern.ch/cms/Releases/ORCA/ORCA_6_1_1/lib/Linux__2.2: /usr/local/gcc-alt-2.95.2/lib: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/Qt/3.0.1/lib: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/3.6.6/lib: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/OpenInventor/2.6/lib: /afs/cern.ch/sw/lhcxx/specific/redhat61/Mesa/3.2/lib: /afs/cern.ch/cms/external/zlib/1.1.3/Linux__2.2/lib: /afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/PublicDomainPackages/lib: /afs/cern.ch/cms/external/ROOT/3.03.02/i386_linux22/gcc-2.95.2/root/lib: /afs/cern.ch/cms/Releases/COBRA/COBRA_6_1_0/lib/Linux__2.2: /afs/cern.ch/cms/Releases/IGUANA/IGUANA_3_1_0/lib/Linux__2.2: /afs/cern.ch/cms/Releases/CMSToolBox/CMSToolBox_1_1_1/lib/Linux__2.2: /afs/cern.ch/cms/external/ROOT/3.03.02/i386_linux22/gcc-2.95.2/root/include THE MESSAGE: Info in <ACLiC>: creating shared library /scratch2w/g/graboso/work/./h1_C.so In file included from /scratch2w/g/graboso/work/h1.C:16, from /scratch2w/g/graboso/work/fileuhkn91.h:29, from /scratch2w/g/graboso/work/./fileuhkn91.C:5: /scratch2w/g/graboso/work/h1.h:278: warning: `class h1' has virtual functions but non-virtual destructor /scratch2w/g/graboso/work/h1.C: In method `void h1::CreateProfPt(const class TAdjust &, class TProfile *, class TProfile *)': In file included from /scratch2w/g/graboso/work/fileuhkn91.h:29, from /scratch2w/g/graboso/work/./fileuhkn91.C:5: /scratch2w/g/graboso/work/h1.C:349: warning: `Float_t phi1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:349: warning: `Float_t phi2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:349: warning: `Float_t phib' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:350: warning: `UInt_t s1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:350: warning: `UInt_t s2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:351: warning: `Int_t w1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:351: warning: `Int_t w2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C: In method `void h1::CreateProfDirect(const class TAdjust &, class TProfile *)': /scratch2w/g/graboso/work/h1.C:461: warning: `Float_t phi1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:461: warning: `Float_t phi2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:461: warning: `Float_t phib' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:462: warning: `UInt_t s1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:462: warning: `UInt_t s2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:463: warning: `Int_t w1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:463: warning: `Int_t w2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C: In method `void h1::PlotProfDirect(class TAdjust &, class TProfile *, Bool_t)': /scratch2w/g/graboso/work/h1.C:704: warning: unused variable `class TPad * pPad' /scratch2w/g/graboso/work/h1.C: In method `void h1::PlotProfPt(const class TAdjust &, class TProfile *, class TProfile *)': /scratch2w/g/graboso/work/h1.C:807: warning: unused variable `class TPad * pPad' dlopen error: /scratch2w/g/graboso/work/./h1_C.so: undefined symbol: __8TProfilePCcT1iddPCc Load Error: Failed to load Dynamic link library /scratch2w/g/graboso/work/./h1_C.so In file included from /scratch2w/g/graboso/work/h1.C:16, from /scratch2w/g/graboso/work/fileuhkn91.h:29, from /scratch2w/g/graboso/work/./fileuhkn91.C:5: /scratch2w/g/graboso/work/h1.h:278: warning: `class h1' has virtual functions but non-virtual destructor /scratch2w/g/graboso/work/h1.C: In method `void h1::CreateProfPt(const class TAdjust &, class TProfile *, class TProfile *)': In file included from /scratch2w/g/graboso/work/fileuhkn91.h:29, from /scratch2w/g/graboso/work/./fileuhkn91.C:5: /scratch2w/g/graboso/work/h1.C:349: warning: `Float_t phi1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:349: warning: `Float_t phi2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:349: warning: `Float_t phib' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:350: warning: `UInt_t s1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:350: warning: `UInt_t s2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:351: warning: `Int_t w1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:351: warning: `Int_t w2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C: In method `void h1::CreateProfDirect(const class TAdjust &, class TProfile *)': /scratch2w/g/graboso/work/h1.C:461: warning: `Float_t phi1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:461: warning: `Float_t phi2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:461: warning: `Float_t phib' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:462: warning: `UInt_t s1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:462: warning: `UInt_t s2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:463: warning: `Int_t w1' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C:463: warning: `Int_t w2' might be used uninitialized in this function /scratch2w/g/graboso/work/h1.C: In method `void h1::PlotProfDirect(class TAdjust &, class TProfile *, Bool_t)': /scratch2w/g/graboso/work/h1.C:704: warning: unused variable `class TPad * pPad' /scratch2w/g/graboso/work/h1.C: In method `void h1::PlotProfPt(const class TAdjust &, class TProfile *, class TProfile *)': /scratch2w/g/graboso/work/h1.C:807: warning: unused variable `class TPad * pPad' /usr/lib/crt1.o(.text+0x18): undefined reference to `main' /scratch2w/g/graboso/work/./fileuhkn91.o: In function `h1::CreateProfPt(TAdjust const &, TProfile *, TProfile *)': /scratch2w/g/graboso/work/./fileuhkn91.o(.text+0x1a8c): undefined reference to `TProfile::TProfile(char const *, char const *, int, double, double, char const *)' /scratch2w/g/graboso/work/./fileuhkn91.o(.text+0x1ad3): undefined reference to `TProfile::TProfile(char const *, char const *, int, double, double, char const *)' /scratch2w/g/graboso/work/./fileuhkn91.o: In function `h1::CreateProfDirect(TAdjust const &, TProfile *)': /scratch2w/g/graboso/work/./fileuhkn91.o(.text+0x2082): undefined reference to `TProfile::TProfile(char const *, char const *, int, double, double, char const *)' collect2: ld returned 1 exit status *** Interpreter error recovered *** Cheers, Alberto
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:03 MET