Re: problem compiling BlastLib

From: Jason Seely (seely@MIT.EDU)
Date: Thu Sep 27 2001 - 17:43:59 EDT


Thanks Maurik and Simon,

I think I have my path problems straightened out now. blastmc compiles ok
now, but I'm still having trouble with BlastLib. here are the last few
lines it gives me before it chokes:

make
....
g++ -c -O -fno-rtti -fPIC -I/usr/local/root/include TBLSimTrack.cc
In file included from /usr/include/math.h:63,
                 from TBLSimTrack.cc:38:
/usr/include/bits/mathcalls.h:54: declaration of `double acos (double)
throw ()' throws different exceptions
/usr/local/root/include/TMath.h:297: than previous declaration `double
acos (double)'
/usr/include/bits/mathcalls.h:56: declaration of `double asin (double)
... (more messages like above)
/usr/include/bits/mathcalls.h:143: declaration of `double pow (double,
double) throw ()' throws different exceptions
/usr/local/root/include/TMath.h:302: than previous declaration `double
pow (double, double)'
/usr/include/bits/mathcalls.h:146: declaration of `double sqrt (double)
throw ()' throws different exceptions
/usr/local/root/include/TMath.h:300: than previous declaration `double
sqrt (double)'
make: *** [TBLSimTrack.o] Error 1

If anyone else has any ideas, i would love to hear them. i'm working on
blast05, by the way.

thanks again,

Jason

-----------------------------------------------------------------------------
jason seely
26.650b
massachusetts institute of technology
77 massachusetts avenue
cambridge, ma 02139-4307

email: seely@mit.edu
phone: 617.253.4772/6734
 html: web.mit.edu/seely/www
-----------------------------------------------------------------------------

On Thu, 27 Sep 2001, Maurik Holtrop wrote:

>
> Hello Jason,
>
> This time all the BLAST code worked fine. The problem is with your CERN
> libraries.
> Please make sure that the environment variable CERNLIB points to the
> directory where you store the CERN libraries:
>
> echo $CERNLIB
>
> It looks like you have this pointing to /usr/local/cern/97a/lib , but the
> libgeant321.a is not in that directory.
>
> I would highly advise you to get the 2000 or 1999 version of CERNLIB and
> install that instead.
>
> Maurik
>
>
> On Thu, 27 Sep 2001, Jason Seely wrote:
>
> > thanks maurik,
> >
> > i updated my blastmc directory and ran make again. i'm still having
> > trouble, but it looks like the problem i had before was gone. here's what
> > i get now:
> >
> > blast05.lns.mit.edu> cd ../blastmc
> > blast05.lns.mit.edu> make
> > g77 -O gxint321.o blast_init.o blastReadGeom.o blast_proc.o blast_end.o
> > tc_geom.o backgr.o gen_geom.o rc_geom.o wc_geom.o cc_geom.o sc_geom.o
> > nc_geom.o lg_geom.o rc_sets.o wc_sets.o cc_sets.o sc_sets.o nc_sets.o
> > lg_sets.o rc_hits.o wc_hits.o cc_hits.o sc_hits.o nc_hits.o lg_hits.o
> > rc_digi.o wc_digi.o cc_digi.o sc_digi.o nc_digi.o lg_digi.o swap_util.o
> > evio.o support_routines.o -o ../run/blast ../run/userGen.so \
> > -L/usr/local/cern/97a/lib -ldl -lnsl -lgeant321 -lpawlib -lgraflib
> > -lgrafX11 -lpacklib -lmathlib -L/usr/X11R6/lib -lgcc -lXpm -ldl -lXm -lXt
> > -lXtst -lX11 -lm -lXmu -lXp -lSM -lICE -lXext -L/lib -lcrypt
> > /usr/bin/ld: cannot find -lgeant321
> > collect2: ld returned 1 exit status
> > make: *** [blast] Error 1
> >
> > if anyone has any ideas, they would be greatly appreciated.
> >
> > thanks,
> >
> > jason
> >
> > -----------------------------------------------------------------------------
> > jason seely
> > 26.650b
> > massachusetts institute of technology
> > 77 massachusetts avenue
> > cambridge, ma 02139-4307
> >
> > email: seely@mit.edu
> > phone: 617.253.4772/6734
> > html: web.mit.edu/seely/www
> > -----------------------------------------------------------------------------
> >
> > On 27 Sep 2001, Maurik Holtrop wrote:
> >
> > > Hello Jason,
> > >
> > > I think compiling blastmc should work now. Please try again, and let me
> > > know if you experience any more problems.
> > >
> > > Maurik
> > >
> > > On Thu, 2001-09-27 at 15:09, Jason Seely wrote:
> > > > Hi Everyone,
> > > >
> > > > I re-checked out everything from CVS (from scratch) and now i'm having
> > > > problems 'making' in
> > > > BlastLib and blastmc. I get the following warnings/errors:
> > > >
> > > > /home/blast/blast/root3.00/include/TPolyLine.h:57: candidates are: void
> > > > TPolyLine::DrawPolyLine (int,
> > > > Double_t *, Double_t *, const Option_t * = "")
> > > > nsed.cc: In method `Bool_t TheMainFrame::ProcessMessage (long int, long
> > > > int, long int)':
> > > > nsed.cc:1571: warning: statement is a reference, not call, to function
> > > > `exit'
> > > > make: *** [nsed.o] Error 1
> > > >
> > > > (plus more warnings before this), when I 'make' from BlastLib.
> > > >
> > > > I get:
> > > >
> > > > make: *** No rule to make target `support_routines.o', needed by `blast'.
> > > > Stop.
> > > >
> > > > when i 'make' in blastmc. has anyone had any similar problems? i had the
> > > > mc stuff working before (my working copy that worked was checked out
> > > > before the 7th).
> > > >
> > > > thanks,
> > > >
> > > > jason
> > > >
> > > > -----------------------------------------------------------------------------
> > > > jason seely
> > > > 26.650b
> > > > massachusetts institute of technology
> > > > 77 massachusetts avenue
> > > > cambridge, ma 02139-4307
> > > >
> > > > email: seely@mit.edu
> > > > phone: 617.253.4772/6734
> > > > html: web.mit.edu/seely/www
> > > > -----------------------------------------------------------------------------
> > > >
> > >
> > >
> > >
> >
>
> --
> Maurik Holtrop
> Univ. of New Hampshire Nuclear Physics Group
> http://improv.unh.edu/Maurik/index.shtml
>
>
>



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:28 EST