RE:Re: [ROOT] RE:RH7.0 or LM8.0 and CINT

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Sat May 26 2001 - 03:30:28 MEST


Dear Prasad,

>       the place where the following error is coming is following..
>its in the Xlib.h...

In that case, the error is in Xlib header file. I can do nothing here.


>> I'll turn off XMesaMakeCurrent2 from next release. This can be done
>> by adding following int in lib/gl/TOP.h
>> #pragma link off function XMesaMakeCurrent2;
>
>               why is it not reading the compiled gl.dll in
>$CINTSYSDIR...???

It was simply because gl.dll could not be compiled because of missing
function XMesaMakeCurrent2. 

>I mean , is #pragma  a work around or a fix ???. and what does 
>XMesaMakeCurrent2 do ?

#pragma is a fix.  I do now know what XMesaMakeCurrent2 does. Cint
takes whatever defined in xmesa.h header file and creates  stub for
it.  It seems that there is a mismatch between xmesa.h and actual
xmesa library in RH7.0. XMesaMakeCurrent2 must be a legacy code 
which is eliminated in RH7.0. This sometimes happens if library 
is not maintained well. For example Tcl/Tk often has this kind of
problem version by version. 

This is a minor problem of the library. And the way to fix this in
Cint side is #pragma link.

P.S.
 I eliminated -fguiding-decls in platform/linux_RH7.0.


Thank you
Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:46 MET