Re: Recompile CINT?

Masaharu Goto (gotom@hpyiddq.jpn.hp.com)
Tue, 12 May 1998 8:34:00 JST


Christoph,

> I just tried to do many typedefs in a ROOT macro and ran over MAXTYPEDEF
> of cint (~1800 in my Linux version). CINT suggests to recompile it with a
> changed MAXTYPEDEF in G__c.h.
>
> So I copied the CINT_* and *.h files from the ROOT sources (excluding
> certain files which seemed to special for other platforms, and resulted in
> duplicate symbols) and did
>
> gcc -c -fPIC -O2 -Wall -I. -I${ROOTSYS}/include -DG__ROOT *.cxx *.c g++
> -Wl,-soname,libCint.so -shared *.o -o libCint.so
>
> The result (put before $ROOTSYS in LD_LIBRARY_PATH) works well with
> rootcint (the error message above has disappeared and the dictionary file
> is ok), and root.exe, too, loads the long macro. But now it does not want
> to load an additional library any more and says "Error: Bad source file
> ..."

It would be better to recompile everything. G__ci.h can be referenced
by other files. Bad source file message means cint think it finds
unprintable character in first 10bytes in the file. But it is likely
this means nothing here. I guess this is a compilation consistency
problem.

Masaharu Goto