Hi Flemming, I'm still not having any luck. What I've done: Steps followed on rcas: Cleaned out ~/lib and ~/include directories mv brat brat_old cvs checkout brat cd brat ./setup.sh make make install mv bdst bdst_old cvs checkout bdst autoreconf --verbose -i -f ./configure --prefix=/brahms/u/sanders/ make make install mv banapp banapp_old cvs checkout banapp autoreconf --verbose -i -f ./configure make make install Running my test program below leads to the same error message (as shown in the thread below). My .rootrc file in my working directory looks like: sanders_at_rcas0054:~/analysis/spectra> cat .rootrc *.Root.DynamicPath: .:~/lib:~/lib/banapp:$(HOME)/brahms_app/sjs_app/lib Rint.Logon: rootlogon.C gStype->SetPalette(1) # Activate memory statistics Root.MemStat: 0 Root.MemStat.size -1 Root.MemStat.cnt -1 Root.ObjectStat: 0 Root.Debug: 0 Rint.Root.Debug: 0 Canvas.MoveOpaque: false Canvas.ResizeOpaque: false Canvas.HighLightColor: 4 Rint.Canvas.HighLightColor: 5 X11.UseXft:no with rootlogon.C: sanders_at_rcas0054:~/analysis/spectra> cat rootlogon.C { gSystem->Load("libDstModules.so"); gSystem->Load("libAcceptance.so"); gSystem->Load("libSelection.so"); gSystem->Load("libGeant.so"); gSystem->Load("libSpectraObject.so"); gSystem->Load("libReactPlane.so"); gSystem->AddIncludePath("-I/brahms/u/sanders/include/brat"); gSystem->AddIncludePath("-I/brahms/u/sanders/include/banapp"); } I have also tried running in a different work directory where I don't load all of the libraries. Same problem. I also changed the Polarity variable in my test code from a char * to TString after double checking the argument types. This doesn't make any difference. Any other suggestions? ...steve p.s. Just for completeness, my environment looks as follows: sanders_at_rcas0054:~/analysis/spectra> setenv USER=sanders LOGNAME=sanders HOME=/brahms/u/sanders PATH=/brahms/u/sanders/bin:/afs/rhic/opt/brahms/pro/bin:/opt/brahms/ util/bin:/brahms/u/sanders/bin:/cern/2002/bin:/afs/rhic.bnl.gov/opt/ brahms/new/bin:/afs/rhic.bnl.gov/opt/brahms/pro/bin:/usr/afsws/bin:/ usr/afsws/etc:/usr/local/lsf/bin:/usr/lsf/6.0/linux2.6-glibc2.3-x86/ bin:/usr/lsf/6.0/linux2.6-glibc2.3-x86/etc:/usr/kerberos/bin:/usr/ local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/bin:/usr/bin/ X11:. MAIL=/var/spool/mail/sanders SHELL=/bin/tcsh SSH_CLIENT=130.199.54.19 52864 22 SSH_CONNECTION=130.199.54.19 52864 130.199.180.40 22 SSH_TTY=/dev/pts/0 TERM=xterm-color DISPLAY=localhost:10.0 KRB5CCNAME=FILE:/tmp/krb5cc_2485_WtHyjH SSH_AUTH_SOCK=/tmp/ssh-FGVAS30144/agent.30144 HOSTTYPE=i386-linux VENDOR=intel OSTYPE=linux MACHTYPE=i386 SHLVL=1 PWD=/brahms/u/sanders/analysis/spectra GROUP=rhbrahms HOST=rcas0054.rcf.bnl.gov REMOTEHOST=rssh04.rhic.bnl.gov LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd =40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32 :*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31: *.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*. Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio= 01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png= 01;35:*.tif=01;35: G_BROKEN_FILENAMES=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass LANG=en_US.UTF-8 SUPPORTED=en_US.UTF-8:en_US:en LESSOPEN=|/usr/bin/lesspipe.sh %s LSF_BINDIR=/usr/lsf/6.0/linux2.6-glibc2.3-x86/bin LSF_SERVERDIR=/usr/lsf/6.0/linux2.6-glibc2.3-x86/etc LSF_LIBDIR=/usr/lsf/6.0/linux2.6-glibc2.3-x86/lib LD_LIBRARY_PATH=/brahms/u/sanders/lib/banapp:/brahms/u/sanders/lib:/ brahms/u/sanders/lib/multCalib:/afs/rhic/opt/brahms/pro/lib:/afs/rhic/ opt/brahms/util/lib XLSF_UIDDIR=/usr/lsf/6.0/linux2.6-glibc2.3-x86/lib/uid LSF_ENVDIR=/usr/lsf/conf MANPATH=/afs/rhic.bnl.gov/opt/brahms/pro/share/man:/usr/lsf/6.0/man:/ usr/kerberos/man:/usr/local/share/man:/usr/share/man/en:/usr/share/ man:/usr/man:/usr/local/man:/usr/X11R6/man:/usr/local/lsf/mnt/man:/ usr/share/man:/usr/share/man HOSTNAME=rcas0054.rcf.bnl.gov INPUTRC=/etc/inputrc BRAHMS_NEW=yes BRAHMS_ARCH=linux CERN_LEVEL=2002 CERN=/cern CERN_ROOT=/cern/2002 MY_SOFTWARE=yes CVSROOT=/afs/rhic/brahms/BRAHMS_CVS BRATHOME=/brahms/u/sanders sanders_at_rcas0054:~/analysis/spectra> On Sep 1, 2007, at 7:44 PM, Flemming Videbaek wrote: > Hi Steve, > > This is peculiar; I say so because I have been running over the > last couple of day w/o problems > proof jobs tht uses all the different ascpect of of code including > the eff cal. > Are you sure yoy recompiled all of brat.. (I would assume so), but > usings > ./setup.sh in each iod brat, bdst, banapp ? > > Could you try from scratch > Flemming > > -------------------------------------------- > Flemming Videbaek > Physics Department Bldg 510-D > Brookhaven National Laboratory > Upton, NY11973 > > phone: 631-344-4106 > cell: 631-681-1596 > fax: 631-344-1334 > e-mail: videbaek @ bnl gov > ----- Original Message ----- From: "Stephen Sanders" <ssanders_at_ku.edu> > To: "Brahms Dev" <brahms-dev-l_at_lists.bnl.gov> > Sent: Saturday, September 01, 2007 5:26 PM > Subject: [Brahms-dev-l] EfficiencyCalculator problem on rcas > > >> Hi: I am unable to get the EfficiencyCalculator working on the >> new rcas system. >> I have downloaded the latest banapp. To show the failure I've >> written a >> minimal test program DebugEff.C: >> #include <TROOT.h> >> #inc lude <TSystem.h> >> #include "/brahms/u/sanders/include/banapp/EfficiencyCalculator.h" >> void DebugEff() { >> Int_t iAngle = 4; >> Int_t field = 861; >> Char_t * Polarity = "B"; >> gSystem->Load("/brahms/u/sanders/lib/banapp/libEfficiency.so"); >> TString effFileDir = "/brahms/u/sanders/analysis/efficiency/ >> receffnew/efficdb/"; >> EfficiencyCalculator *effCal = new EfficiencyCalculator >> (effFileDir, iAngle, field, Polarity); >> } >> This results in a load failure: >> brat [0] >> Processing DebugEff.C+... >> Info in <TUnixSystem::ACLiC>: creating shared library /direct/ >> brahms +u/sanders/analysis/spectra/./DebugEff_C.so >> In file included from /direct/brahms+u/sanders/analysis/spectra/./ >> filetrfbjP.h:32, >> from /direct/brahms+u/sanders/analysis/spectra/./ >> filetrfbjP.cxx:16: >> /direct/brahms+u/sanders/analysis/spectra/./DebugEff.C: In >> function `void DebugEff()': >> /direct/brahms+u/sanders/analysis/spectra/./DebugEff.C:12: >> warning: unused variable 'effCal' >> dlopen error: /direct/brahms+u/sanders/analysis/spectra/./ >> DebugEff_C.so: undefined symbol: >> _ZN20EfficiencyCalculatorC1E7TStringiiS0_ >> Load Error: Failed to load Dynamic link library /direct/brahms+u/ >> sanders/analysis/spectra/./DebugEff_C.so >> In file included from /direct/brahms+u/sanders/analysis/spectra/./ >> DebugEff.C:3, >> from /direct/brahms+u/sanders/analysis/spectra/./ >> filetrfbjP.h:32, >> from /direct/brahms+u/sanders/analysis/spectra/./ >> filetrfbjP.cxx:16: >> /brahms/u/sanders/include/banapp/EfficiencyCalculator.h:73: >> warning: unused parameter 'nhist' >> /brahms/u/sanders/include/banapp/EfficiencyCalculator.h:73: >> warning: unused parameter 'p' >> /brahms/u/sanders/include/banapp/EfficiencyCalculator.h:74: >> warning: unused parameter 'p' >> In file included from /direct/brahms+u/sanders/analysis/spectra/./ >> filetrfbjP.h:32, >> from /direct/brahms+u/sanders/analysis/spectra/./ >> filetrfbjP.cxx:16: >> /direct/brahms+u/sanders/analysis/spectra/./DebugEff.C: In >> function `void DebugEff()': >> /direct/brahms+u/sanders/analysis/spectra/./DebugEff.C:12: >> warning: unused variable 'effCal' >> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crt1.o(.text+0x18): >> In function `_start': >> : undefined reference to `main' >> /direct/brahms+u/sanders/analysis/spectra/./filetrfbjP.o(.text >> +0xdd): In function `DebugEff()': >> : undefined reference to >> `EfficiencyCalculator::EfficiencyCalculator (TString, int, int, >> TString)' >> collect2: ld returned 1 exit status >> *** Interpreter error recovered *** >> brat [1] >> Any suggestions? >> ...steve >> _______________________________________________ >> Brahms-dev-l mailing list >> Brahms-dev-l_at_lists.bnl.gov >> https://lists.bnl.gov/mailman/listinfo/brahms-dev-l >> _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l_at_lists.bnl.gov https://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Sun Sep 02 2007 - 11:51:15 EDT
This archive was generated by hypermail 2.2.0 : Sun Sep 02 2007 - 11:51:41 EDT