[Frost] updated eloss

Ken Livingston k.livingston at physics.gla.ac.uk
Fri Oct 23 09:58:14 EDT 2009


Hi All,
I'm having a look at the eloss integration in rootbeer at the moment.

Cheers,
Ken

Sungkyun Park wrote:
> Hi Brian,
>
> I am curious about why I can not build eloss packages without error.
>
> I will get c_bos_io and eloss from packages using CVS and rebuild them in my rootbeer2.1/extra_packages. and I had the test using your code pi0.C like the following;
>      mkexe("sample_code/pi0.C","-leloss -lc_bos_io")
> I had the bad result, more undefined references like the following;
>
>    root [0]
>    Processing RootBeerSetup.cxx...
>    rootbeer [1] mkexe("sample_code/pi0.C","-leloss -lc_bos_io")
>    g++ -O2 -o /home/supark/rootbeer2.1/bin/LinuxRHFC8/pi0 -Wno-deprecated -Wall -Wno-unused -Woverloaded-virtual -fPIC -I./ -I./include ps/root/5.22-00/root/include"  -I"././include"  -I"/u/apps/root/5.22-00/root/include/cint"  -D_REENTRANT -DROOTEXE -L$ROOTSYS/lib -lCore -lCint    -lMathCore -lRint  -lPhysics -lThread -lm -ldl  -pthread -traditional -L$ROOTBEER_SLIB -lRootBeer -leloss -lc_bos_io sample_code/pi0.C
>    /tmp/cctbbvjg.o: In function `pi0(int, char*, char*)':
>    pi0.C:(.text+0x909): undefined reference to `initELoss(float, float, float, float)'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined reference to `e_wsli'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `getGroup'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined reference to `s_copy'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined reference to `s_wsli'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `getBank'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined reference to `do_lio'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `formatBank'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined reference to `recmes_'
>    /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined reference to `eLoss(TLorentzVector, float, TVector3, int, int)'
>    collect2: ld returned 1 exit status
>
> As the second trial, I used the rootbeer in clasg9 and I had the same result like upper.
> Do you know what is my problem? Can you test eloss program after compiling?
>
> Sung
>
> ----- Original Message -----
> From: Brian Morrison <btmorr at jlab.org>
> Date: Thursday, October 22, 2009 2:05 pm
> Subject: [Frost] updated eloss
> To: frost at jlab.org
>
>   
>> Some alterations have been made to the FROST.F function so be sure to
>> update the eloss package if you haven't done so lately.  clasg9 and 
>> cvsshould both have the latest versions.
>>
>> -Brian
>>
>> _______________________________________________
>> Frost mailing list
>> Frost at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/frost
>>
>>     
> _______________________________________________
> Frost mailing list
> Frost at jlab.org
> https://mailman.jlab.org/mailman/listinfo/frost
>   


-- 
=======================================================
Ken Livingston          

Dept. of Physics & Astronomy,        Tel: +44 141 330 6428
University of Glasgow,               Fax: +44 141 330 5889
Glasgow G12 8QQ.
Scotland. UK.
=======================================================



More information about the Frost mailing list