Rootcint and dlfcn.h

Hi,

I get the following error while using rootcint:
(using Red Hat Linux, gcc 3.2.2 and root 4.00/06).

g++ -O3 -Wall -fPIC -fno-strict-aliasing -D_REENTRANT -I/import/linstar15_a/whipple/software/root_v4.00.06/include -I. -I./rawdata -I./analysis -I./display -I./run -I./utl -I./camera_geometry -I/import/linstar15_b/gm/veritas/eventdisplay/veritas/include/VBF -c display/VDisplay.cpp
Generating dictionary VDisplay_Dict.cpp…
rootcint -f VDisplay_Dict.cpp -c -p -I. -I./rawdata -I./analysis -I./display -I./run -I./utl -I./camera_geometry -I/import/linstar15_b/gm/veritas/eventdisplay/veritas/include/VBF display/VDisplay.h
Error: Symbol __constchar is not defined in current scope FILE:/usr/include/dlfcn.h LINE:84
Error: Symbol dli_fname is not defined in current scope FILE:/usr/include/dlfcn.h LINE:84
Error: Symbol __constchar is not defined in current scope FILE:/usr/include/dlfcn.h LINE:86
Error: Symbol dli_sname is not defined in current scope FILE:/usr/include/dlfcn.h LINE:86
Error: Symbol pthread_mutex_tlock is not defined in current scope FILE:/import/linstar15_b/gm/veritas/eventdisplay/veritas/include/VBF/FPIO.h LINE:220
Error: Symbol pthread_mutex_tstat_lock is not defined in current scope FILE:/import/linstar15_b/gm/veritas/eventdisplay/veritas/include/VBF/FPIO.h LINE:432
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
!!!Removing VDisplay_Dict.cpp VDisplay_Dict.h !!!
Error: rootcint: error loading headers…
make: *** [VDisplay_Dict.cpp] Error 1

And I have no idea how to solve that.
I even don’t know if the error is due to rootcint or the other external package I use (VBF). Everything works fine on OSX.

Does anybody know how to proceed in this case?

Thanks a lot.

Gernot

Gernot,

Could you send the shortest but complete set of files that we can use to reproduce your problem?

Rene