Hi, I have constructed a very simplistic C file which as far as the code goes runns perfectly under the interpreter. Then I add the needed header files: #include "TFile.h" #include "TNtuple.h" #include "TObject.h" #include "TStorage.h" and use the command xlC -w -O -I$ROOTSYS/include -I/usr/lpp/xlC/include -I/usr/include write_ntuple_prog.C The result of this is that I receive the errors: ld: 0711-317 ERROR: Undefined symbol: TObject::operator delete(void*) ld: 0711-317 ERROR: Undefined symbol: .TStorage::ObjectAlloc(unsigned long) ld: 0711-317 ERROR: Undefined symbol: .TNtuple::TNtuple(const char*,const char*,const char*,int) ld: 0711-317 ERROR: Undefined symbol: .TFile::TFile(const char*,const char*,const char*,int) What should I do to rubish the afore mentioned annoyances? Regards, Will ____________________________________ William Hamish Bell Department of Physics and Astronomy, University of Glasgow, Glasgow, G12 8QQ Scotland ____________________________________
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET