Re: [ROOT] Spaces being killed in rootcint

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Sep 01 2000 - 16:45:48 MEST


Hi Brett,
I assume that you mean the example of MyClass.h given in the tutorial 43
and not 41 (see http://root.cern.ch/root/Tutorials.html).
With this example, I cannot reproduce your problem.
You probably have a wrong installation.
Did you follow carefully the installation procedure described at:
   http://root.cern.ch/root/Install.html
Did you try to install the standard binaries for Linux first?

Rene Brun


Brett Viren wrote:
> 
> I am trying rootcint from ROOT v2.25.2 (from CVS, but checked out with
> -r v2.25.2) on the MyClass.C of tutorial #41 with the following
> command:
> 
>         rootcint  mydict.C -c  MyClass.h
> 
> I get many error like the following:
> 
>         Error: No symbol __BEGIN_DECLS#define__need_size_t#define__need_NULL#include in current scope  FILE:/usr/include/stdio.h LINE:48
> 
> At the top of stdio.h at line 29 is the following:
> 
>         __BEGIN_DECLS
> 
>         # define __need_size_t
>         # define __need_NULL
>         # include <stddef.h>
>         ...
> 
> it looks like all the spaces are being collapsed.  In the messages I
> also get the following from rootcint:
> 
>         Advice: You may need to use +P or -p option
> 
> I tried both, but still have many errors where it is plain that
> rootcint is working with globbed together tokens.
> 
> Any ideas about this problem?  I compiled this version of ROOT myself
> under Linux, so I suspect some problem with the build.  Can anyone
> suggest a direction in which to look?
> 
> Thanks,
> -Brett.



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