[ROOT] Problems with rootcint

From: Shitov Yuriy (yuriy@nusun.jinr.ru)
Date: Wed Jun 05 2002 - 15:06:42 MEST


Hi, ROOTers,

I have problem during creation of ROOT dictionary by rootcint
programs having the following errors:

g++  -MD -g -Wall -I../include -DSTANDALONE -D_REENTRANT
-I/cern/root/include -c TGVEvent.cxx
Generating dictionary TGVEventDict.cxx...
rootcint -f TGVEventDict.cxx -c TGVEvent.h TGVEventLinkDef.h
Limitation: macro handled as typedef char __ptr_t;
FILE:/usr/include/sys/cdefs.h LINE:91
Limitation: macro handled as typedef longdouble __long_double_t;
FILE:/usr/include/sys/cdefs.h LINE:92
Error: Unexpected EOF G__fgetstream():2 FILE:/usr/include/sys/cdefs.h
LINE:167
Advice: You may need to use +P or -p option
Limitation: can not handle macro __BEGIN_DECLS extern"C"{ Use +P or -p
option
 FILE:/usr/include/sys/cdefs.h LINE:167
Error: Symbol
__BEGIN_DECLS#define__need_size_t#define__need_NULL#include is not
defined in current scope  FILE:/usr/include/stdio.h LINE:48
Error: Symbol stddef is not defined in current scope
FILE:/usr/include/stdio.h LINE:48
Error: Failed to evaluate stddef.hError: Symbol
#ifndef__USE_XOPEN#define__need___va_list#endif#include is not defined
in current scope  FILE:/usr/include/stdio.h LINE:48
Error: Symbol stdarg is not defined in current scope
FILE:/usr/include/stdio.h LINE:48
pwdError: Failed to evaluate stdarg.hError: Symbol #include is not
defined in current scope  FILE:/usr/include/stdio.h LINE:48
Error: Symbol bits is not defined in current scope
FILE:/usr/include/stdio.h LINE:48
Error: Symbol types is not defined in current scope
FILE:/usr/include/stdio.h LINE:48
Error: Failed to evaluate types.hError: operator '/' divided by zero
FILE:/usr/include/stdio.h LINE:48
Error: Symbol
#endif#undef__need_FILE#ifndef__FILE_definedtypedefstruct_IO_FILEFILE
is not defined in current scope  FILE:/usr/include/stdio.h LINE:48
Error: cannot open file "stddef.h"  FILE:/usr/include/bits/types.h
LINE:30
Error: cannot open file "stddef.h"  FILE:/usr/include/_G_config.h
LINE:15
Limitation: can not handle macro _G_size_t size_t Use +P or -p option
 FILE:/usr/include/_G_config.h LINE:24

.....

What can be the reason of this diagnostics, which I didn't see
previously?   Curent version and
settings:

> uname -a
Linux wnna169 2.4.14 #1 SMP Tue Nov 13 10:08:30 MSK 2001 i686 unknown

  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   3.03/05       5 June 2002   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

Compiled for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.15.36, Apr 23 2002

egcs-1.1.2-30
egcs-c++-1.1.2-30
egcs-objc-1.1.2-30
egcs-g77-1.1.2-30

> g++ -v
Reading specs from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:55 MET