Re: problem compiling BlastLib

From: Simon Sirca (sirca@crex.mit.edu)
Date: Thu Sep 27 2001 - 16:26:37 EDT


Hi, Jason,

check if libgeant321.a is in your search directory for cernlib (in the
/usr/local/cern/97a/lib). Maybe it is not called "libgeant321" but
"libgeant" -- in this case, fix the Makefile.

Simon

PS: This is what I meant yesterday when I suggested Makefiles to be
generated through autoconf...

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
> > > -----------------------------------------------------------------------------
> > >
> >
> >
> >
>

-- 
  Simon Sirca
  MIT-LNS, Room 26-402                 Tel: +1 617 258-5438
  77 Massachusetts Avenue              Fax: +1 617 452-5950
  Cambridge, MA 02139-4307, USA        URL: http://pierre.mit.edu/~sirca



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