[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation error in BCAL





Hi Mark,

    Please reference 
http://www.jlab.org/ccc/mail_archives/HALLD/halld-offline/msg00473.html.

    Yesterday, I committed some major changes to JANA in the 12GeV 
repository. If you have the latest version, the Hall-D specific source 
will definitely not compile against it. I am currently in the process of 
updating all of the Hall-D source to be compatible with the recent 
changes to JANA. This will likely take another day or so.

Regards,
-David

Mark M. Ito wrote:
> I'm in shoot-first-ask-questions-later mode, so here goes...
>
> I seem to have taken a step backward since yesterday (or not?). Here 
> is the next error I am getting. The BCAL code is not new so I'm confused.
>
> make -C BCAL
> make[2]: Entering directory `/usr/local/gluex/halld/src/libraries/BCAL'
> g++ -I. -I.. -I../include -I/usr/local/gluex/halld/include 
> -I/usr/local/gluex/jana/jana_svn_daily_linux/include 
> -I/usr/local/xerces-c/prod/include -DXERCESC -D_ROOT_ -pthread -m32 
> -I/usr/local/src/root/prod/include -I/usr/local/src/root/prod/include 
> -O2 -Wall -c -o BCAL_init.o BCAL_init.cc
> ../BCAL/DBCALGeometry.h:25: error: expected class-name before ‘{’ token
> ../BCAL/DBCALGeometry.h:29: error: ISO C++ forbids declaration of 
> ‘HDCLASSDEF’ with no type
> ../BCAL/DBCALHit.h:16: error: expected class-name before ‘{’ token
> ../BCAL/DBCALHit.h:18: error: ISO C++ forbids declaration of 
> ‘HDCLASSDEF’ with no type
> ../BCAL/DBCALHit_factory.h:15: error: expected template-name before 
> ‘<’ token
> ../BCAL/DBCALHit_factory.h:15: error: expected `{' before ‘<’ token
> ../BCAL/DBCALHit_factory.h:15: error: expected unqualified-id before 
> ‘<’ token
> make[2]: *** [BCAL_init.o] Error 1
> make[2]: Leaving directory `/usr/local/gluex/halld/src/libraries/BCAL'
> make[1]: *** [BCAL] Error 2
> make[1]: Leaving directory `/usr/local/gluex/halld/src/libraries'
> make: *** [libraries] Error 2
>

-- 

------------------------------------------------------------------------
  David Lawrence Ph.D.
  Staff Scientist                 Office: (757)269-5567   [[[  [   [ [       
  Jefferson Lab                   Pager:  (757)584-5567   [  [ [ [ [ [   
  http://www.jlab.org/~davidl     davidl@jlab.org         [[[  [[ [[ [[[
------------------------------------------------------------------------