Hi, When I tried compiling my macro using the command: gROOT->LoadMacro("bbh_anal.C+") I get the following error message: ------------------------- /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main' /work/red-clued0/jyothsna/Higgs/bbh120/./fileeroLPt.o: In function `G__bbh_anal_Loop_6_0__FP8G__valuePCcP8G__parami': /work/red-clued0/jyothsna/Higgs/bbh120/fileeroLPt.C:5323: undefined reference to `bbh_anal::Loop(void)' collect2: ld returned 1 exit status *** Interpreter error recovered *** -------------------------- I'm using root version v3_03_07d (KCC_4_0) on Linux-2-4. I've used the options: TString comp = gSystem->GetMakeSharedLib(); comp.ReplaceAll(" +K3"," -g"); comp.ReplaceAll(" +K2"," -g"); comp.ReplaceAll(" +K1"," -g"); comp.ReplaceAll(" -O2"," -g"); comp.ReplaceAll(" -O1"," -g"); gSystem->SetMakeSharedLib(comp.Data()); before loading my macro. Can anyone tell me what does the above error message mean and ofcourse a soln for it??? Thanks a lot, Jyothsna ------------------------------------------------------------- K. Jyothsna Rani, Phone Number: Tata Institute, 630-840-3590 (Office) DZero Experiment, 630-840-4236 (Residence) Mail Station : 352, FAX: P.O.Box : 500, 630-840-8481 Fermilab, E-mail: Batavia, IL - 60510 jyothsna@fnal.gov ---------------------------------------------------------------
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:08 MET