[ROOT] CINT: problems with system files

From: mathes@ik3.fzk.de
Date: Fri Jun 16 2000 - 16:54:38 MEST


Dear Rooters,

using rootcint to create a dictionary for several classes we end up with
the attached error log.

The system is:
SuSe Linux 6.2 with Kernel 2.2.10
and compiler
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

I have recently installed root_v2.24.Linux.2.2.14 but I could reproduce
it also with the previous root_v2.23.Linux.2.2.10.

The warning "Note: Bit-field not accessible from interpreter
 FILE:/home/argiro/FD-das/mirror/include/MiEventP.h LINE:50"
I could overcome by using __CINT__ based preprocessor directives in the
union containing these bit-fields.

I don't understand why /usr/include/bits/types.h is parsed, because
feeding MiEvent.hh to the preprocessor (-E) doesn't show this file in the
output MiEvent.i.

Regards
   Hermann-Josef

Here is the error log:
/cern/root/bin/rootcint -f MiEventDict.cc -c -p -I. -I/cern/root/include
 -I/home/argiro/FD-das/mirror/include -I/home/argiro/FD-das/include/shm
 MiEvent.hh LinkDef.h
Note: Bit-field not accessible from interpreter
 FILE:/home/argiro/FD-das/mirror/include/MiEventP.h LINE:50
Error: No symbol __extension__typedefunsignedlonglongint__u_quad_t in
 current scope  FILE:/usr/include/bits/types.h LINE:37
Error: No symbol __extension__typedeflonglongint__quad_t in current scope
 FILE:/usr/include/bits/types.h LINE:38
Error: No symbol __extension__typedefsignedlonglongint__int64_t in current
 scope  FILE:/usr/include/bits/types.h LINE:56
Error: No symbol __extension__typedefunsignedlonglongint__uint64_t in
 current scope  FILE:/usr/include/bits/types.h LINE:57
Error: class,struct,union or type __quad_t not defined
 FILE:/usr/include/bits/types.h LINE:59
Error: class,struct,union or type __u_quad_t not defined
 FILE:/usr/include/bits/types.h LINE:61
Error: class,struct,union or type __quad_t not defined
 FILE:/usr/include/bits/types.h LINE:68
Error: class,struct,union or type __quad_t not defined
 FILE:/usr/include/bits/types.h LINE:72
Error: class,struct,union or type __quad_t not defined
 FILE:/usr/include/bits/types.h LINE:124
Error: class,struct,union or type __u_quad_t not defined
 FILE:/usr/include/bits/types.h LINE:128
Error: class,struct,union or type __u_quad_t not defined
 FILE:/usr/include/bits/types.h LINE:132
Error: class,struct,union or type __quad_t not defined
 FILE:/usr/include/sys/types.h LINE:37
Error: class,struct,union or type __u_quad_t not defined
 FILE:/usr/include/sys/types.h LINE:38
Warning: Unknown type __const in function argyment
 FILE:/usr/include/sys/ipc.h LINE:34
Warning: Unknown type '__const' in function argument handled as int
 FILE:/usr/include/sys/shm.h LINE:49
Warning: Unknown type __const in function argyment
 FILE:/usr/include/sys/shm.h LINE:52
Warning: Error occured during reading source files
Note: operator new() masked 1c
Note: operator delete() masked 1c
Warning: Error occured during dictionary source generation
!!!Removing MiEventDict.cc MiEventDict.h !!!
/cern/root/bin/rootcint: error loading headers...
make: *** [MiEventDict.cc] Error 1




**************************************************************************
*                                                                        *
*   Dr. Hermann-Josef Mathes                                             *
*   KASCADE & AUGER Collaboration                                        *
*   Forschungszentrum Karlsruhe                Phone: +49 7247 822429    *
*   Institut fuer Kernphysik                   FAX:   +49 7247 824075    *
*   POB 3640                                                             *
*   D-76021 Karlsruhe/Germany                  Mail:  mathes@ik3.fzk.de  *
*                                                     hjmathes@web.de    *
*                                                                        *
**************************************************************************
*   Feel free to visit my homepage:                                      *
*          http://www-ik3.fzk.de/~mathes/Welcome.html                    *
*   My software project page for DAQ:                                    *
*          http://www-ik3.fzk.de/~mathes/software/software.html          *
*                                                                        *
*   Visit the institute and project homepages:                           *
*          http://www-ik3.fzk.de/                                        *
*          http://www-ik1.fzk.de/KASCADE_home.html                       *
**************************************************************************



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET