[Frost] eloss problem

Sungkyun Park sp06k at fsu.edu
Sun Oct 25 13:53:16 EDT 2009


Hi Eugene,

I make libc_bos_io.so in ~clasg9/rootbeer2.1/slib/LinuxRHFC8/ using my name, supark.
And then I try to rebuild it using the account, clasg9 however I can not do it because of the following error massage:

     cc1: warning: command line option "-Wno-deprecated" is valid for C++/Java/ObjC++ but not for C
      extra_packages/c_bos_io/bid2btr.c:11:21: error: utility.h: No such file or directory
     make: *** [extra_packages/c_bos_io/bid2btr.o] Error 1

So I make libc_bos_io.so using my c_bos_io in ~supark/rootbeer2.1/slib/LinuxRHFC8/.
Can you check libc_bos_io.so in ~clag9/rootbeer2.1?

Sung









----- Original Message -----
From: Eugene Pasyuk <pasyuk at jlab.org>
Date: Thursday, October 22, 2009 1:49 pm
Subject: Re: [Frost] eloss problem
To: Sungkyun Park <sp06k at fsu.edu>
Cc: Eugene Pasyuk <pasyuk at jlab.org>, Brian Morrison <btmorr at jlab.org>, FROST <frost at jlab.org>

> Sung, 
> Those functions are part of this library. Perhaps it is corrupted or
> something
> Try rebuilding your c_bos_io library.
> delete it first and then do make c_bos_io
> 
> -Eugene
> 
> 
> On Thu, 2009-10-22 at 12:05 -0400, Sungkyun Park wrote:
> > 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;
> > 
> >    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