Error: link requested for unknown class filedndiQX_rootcint

Hello,

Switching to openSUSE 10.3 with the latest gcc 4.2.1 and the latest root in subversion, I am no longer able to compile my program and get the following error:

Error: link requested for unknown class filedndiQX_rootcint G__auto18606LinkDef.h:7:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!! Removing

Any idea what might be wrong and how to debug this?

Thanks!

Hi,

could you send an example of what you try to compile (commands you type + code), so we can reproduce this?

Cheers, Axel.

Will do. However, might take a while to generate a minimum system…

Thanks!

Hello Axel,

A “minimum” version of the program can be found at:
mpe.mpg.de/MEGA/software/MEG … 071012.tgz

In order to compile the program you have to set the following environment variables:

export MEGALIB=/MEGAlib
export PATH=${MEGALIB}/bin:$PATH
export LD_LIBRARY_PATH=${MEGALIB}/lib:${LD_LIBRARY_PATH}

In the MEGAlib directory:
configure -softlinux -debug
make

The Makefile statements responsibe for the crash are in
src/beammonitor/Makefile

Let me know if you have any questions & thanks for taking care of this problem!

Hi,

this is a bug in rootcint. It will be fixed in ROOT’s trunk shortly. Until then, please either specify a Linkdef.h or don’t pass “-p” to rootcint.

Cheers, Axel.

Thanks for your efforts!