Tags:
create new tag
view all tags

global " -m32" compiling flag added in GaudiPolicy

                       macro_append cppflags  " -m32"
                       macro_append cflags " -m32"
                       macro_append fflags   " -m32"
  

global " -m32" linking flag added in Gaudipolicy

  • errors:
    /usr/bin/ld: skipping incompatible /afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/InstallArea/i386_linux26/lib/libGaudiKernel.so when searching for -lGaudiKernel
    /usr/bin/ld: cannot find –lGaudiKernel
     
  • solutions:
                           macro_append cpplinkflags  " -m32"
                           macro_append componentshr_linkopts " -m32"
                           macro_append libraryshr_linkopts   " -m32"
      

genreflex errors

* errors:
 Generates the LCG dictionary file for header files failed
/usr/include/c++/3.4.6/new:82: error: `operator new' takes type `size_t' (`
   unsigned int') as first parameter
/usr/include/c++/3.4.6/new:83: error: `operator new' takes type `size_t' (`
   unsigned int') as first parameter
/usr/include/c++/3.4.6/new:86: error: `operator new' takes type `size_t' (`
   unsigned int') as first parameter
/usr/include/c++/3.4.6/new:87: error: `operator new' takes type `size_t' (`
   unsigned int') as first parameter
/usr/include/c++/3.4.6/new:92: error: `operator new' takes type `size_t' (`
   unsigned int') as first parameter
/usr/include/c++/3.4.6/new:93: error: `operator new' takes type `size_t' (`
   unsigned int') as first parameter
In file included from /afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/dict/dictionary.h:13:
/afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/GaudiKernel/NTuple.h: In
   static member function `static const TYP NTuple::Range<TYP>::max() [with TYP 
   = long unsigned int]':
/afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/GaudiKernel/NTuple.h:156: error: integer
   constant is too large for "long" type
/afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/GaudiKernel/NTuple.h: In
   static member function `static const TYP NTuple::Range<TYP>::min() [with TYP 
   = long int]':
/afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/GaudiKernel/NTuple.h:159: error: integer
   constant is too large for "long" type
/afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/GaudiKernel/NTuple.h: In
   static member function `static const TYP NTuple::Range<TYP>::max() [with TYP 
   = long int]':
/afs/.ihep.ac.cn/bes3/offline/ExternalLib/Gaudi/slc4_ia3264_gcc34-clhep2.0.4.5/GAUDI_v19r4/GaudiKernel/GaudiKernel/NTuple.h:162: error: integer
   constant is too large for "long" type

  
* solutions:
           set GCCXML_CXXFLAGS " -m32"
           gccxml,  the C++ front-end to GCC, which is currently able to deal with the language in its entirety. 
           The purpose of the GCC-XML extension is to generate an XML description of a C++ program from GCC's internal representation.
  

-- ZhangXiaomei - 2010-10-05

Topic revision: r1 - 2010-10-05 - ZhangXiaomei
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback