Dlopen error with posix.dll

We are developing a package for analysis in CMSSW.
Our codes can be found in /afs/cern.ch/user/c/cmkuo/public/HAF.
When compiling, we got the following error message.

Entering Package HAF/HAFSchema
Nothing to be done for HAFSchema/interface:
Entering library rule at HAF/HAFSchema
Entering library rule at HAF/HAFBase
Leaving library rule at HAF/HAFBase
/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/root/5.12.00e/root/bin/rootcint -f tmp/slc3_ia32_gcc323/src/HAF/HAFSchema/src/HAFSchemaLinkDef.cc -c -p -DGNU_SOURCE -DGNU_GCC -D_GNU_SOURCE -DPROJECT_NAME=’“CMSSW”’ -DPROJECT_VERSION=’“CMSSW_1_1_0”’ -I/home/cmkuo/CMSSW/CMSSW_1_1_0/src -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_1_0/src -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/seal/SEAL_1_8_1-forCMS142b/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/seal/SEAL_1_8_1-forCMS142b/slc3_ia32_gcc323/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/pool/POOL_2_4_6-forCMS142b/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/coral/CORAL_1_5_3-forCMS142b/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/clhep/1.9.2.2/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/root/5.12.00e/root/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/root/5.12.00e/root/cint -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/zlib/1.1.4/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/bz2lib/1.0.2/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/uuid/1.38/include -I/afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/pcre/4.4/include /home/cmkuo/CMSSW/CMSSW_1_1_0/src/HAF/HAFSchema/src/HAFSchemaLinkDef.h
dlopen error: /afs/cern.ch/cms/sw/slc3_ia32_gcc323/lcg/root/5.12.00e/root/cint/include/posix.dll: undefined symbol: isDirectory
Error: no such template mpl::integral_c /afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include/boost/type_traits/integral_constant.hpp:21:
Syntax error /afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include/boost/type_traits/detail/cv_traits_impl.hpp:69:
Error: class,struct,union or type void(U not defined /afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include/boost/type_traits/is_class.hpp:53:
Internal error: global function template arg type /afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include/boost/type_traits/is_class.hpp:53:
Error: class,struct,union or type … not defined /afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include/boost/type_traits/is_class.hpp:54:
Internal error: global function template arg type /afs/cern.ch/cms/sw/slc3_ia32_gcc323/external/boost/1.33.1/include/boost/type_traits/is_class.hpp:54:
gmake: *** [tmp/slc3_ia32_gcc323/src/HAF/HAFSchema/src/HAFSchemaLinkDef.cc] ?{???O???q???~
gmake: *** Deleting file `tmp/slc3_ia32_gcc323/src/HAF/HAFSchema/src/HAFSchemaLinkDef.cc’

Does anyone know what we did wrong ?

Thanks in advance,
Ming

Could you provide the shortest possible setup reproducing your problem?

Rene

Hi,

This problem has been fixed in the CVS repository (posix.dll was not built correctly).

posix.dll is actually not necessary for generating the dictionary hence
you can simply disable its loading by adding

#define G__POSIX_H

at the beginning of HAFSchemaLinkDef.h

Cheers,
Philippe