[Frost] eloss problem
Sungkyun Park
sp06k at fsu.edu
Thu Oct 22 12:05:34 EDT 2009
Hi Eugene and Brian
I think there are problems in eloss package or my setup.
To add "-lc_bos_io" to the list of libraries, I use the following comment;
mkexe("sample_code/rbtest_eloss.C","-leloss -lc_bos_io")
And I get the following undefined reference error massage;
/home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `getGroup'
/home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `getBank'
/home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `formatBank'
I do not understand why I get the continuous error massage like undefined reference.
Brain, I understand you use your code, pi0.C under the eloss program
Can you give me your detailed instructions how to set up eloss and excute your code, pi0.C?
Sung
The following are all results I get after excuting pi0.C in rootbeer
rootbeer [3] mkexe("sample_code/rbtest_eloss.C","-leloss -lc_bos_io")
g++ -O2 -o /home/supark/rootbeer2.1/bin/LinuxRHFC8/rbtest_eloss -Wno-deprecated -Wall -Wno-unused -Woverloaded-virtual -fPIC -I./ -I./include -I"/u/apps/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/rbtest_eloss.C
/home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `getGroup'
/home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `getBank'
/home/supark/rootbeer2.1/slib/LinuxRHFC8/libc_bos_io.so: undefined reference to `formatBank'
collect2: ld returned 1 exit status
rootbeer [4]
> Sung,
>
> The function v3_to_v4 is in c_bos_io library. Add "-lc_bos_io" to the
> list of libraries and that should solve your problem.
>
> -Eugene
>
> On Thu, 2009-10-22 at 10:51 -0400, Sungkyun Park wrote:
> > Hi Eugene, Brian
> >
> > I touch eloss library in rootbeer2.1/extra_packages/eloss.
> > I rebuilt them again. Can you check their status again?
> >
> > I rebuilt both libraries in packages/eloss and
> rootbeer2.1/extra_packages/eloss of my directory
> > I test the brian's code using rootbeer 2.1.
> > I had the following problem in the process:
> >
> > root [0]
> > Processing RootBeerSetup.cxx...
> > rootbeer [1] mkexe("sample_code/pi0.C","-leloss")
> > g++ -O2 -o /home/supark/rootbeer2.1/bin/LinuxRHFC8/pi0 -Wno-
> deprecated -Wall -Wno-unused -Woverloaded-virtual -fPIC -I./ -
> I./include -I"/u/apps/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
> sample_code/pi0.C>
> /home/supark/rootbeer2.1/slib/LinuxRHFC8/libeloss.so: undefined
> reference to `v3_to_v4'
> > collect2: ld returned 1 exit status
> > rootbeer [2]
> >
> > Brain, Can you experience this problem, undefined reference to
> `v3_to_v4' when excuting your program?
> > Let me know what is my problem?
> >
> > Sung
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Eugene Pasyuk <pasyuk at jlab.org>
> > Date: Wednesday, October 21, 2009 12:29 pm
> > Subject: [Frost] eloss under clag9 account
> > To: FROST <frost at jlab.org>
> >
> > > I updated eloss package in both places: packages/eloss and
> > > rootbeer2.1/extra_packages/eloss.
> > > I also rebuilt eloss libraries in both places.
> > >
> > > -Eugene
> > >
> > > _______________________________________________
> > > Frost mailing list
> > > Frost at jlab.org
> > > https://mailman.jlab.org/mailman/listinfo/frost
> > >
>
>
>
More information about the Frost
mailing list