Thank you for all your efforts to find the cause of the problems. I've
found a temporary workaround. Commenting out <X11/Intrinsic.h> in
forms.h makes lyx compile. Hooray!! I still don't know if it
runs, still compiling. Note, the sources have not been updated since
December 2. Maybe you can find a better solution based on this info.
<X11/Intrinsic.h> is included by forms.h (xforms-devel-0.88-15). I'm using
Xforms-0.88-15 from the powertools directory under rawhide. The same
version is in the RHL7.0 powertools directory.
BTW: Where can I find v0.89 rpms? Only found 0.88.x versions with
rpmfind.
Here is the header file include path:
In file included from /usr/X11R6/include/X11/Intrinsic.h:191,
from /usr/include/forms.h:77,
from ../../src/minibuffer.h:6,
from formula.C:30:
/usr/X11R6/include/X11/Object.h: At top level:
Error introduced by me: /usr/X11R6/include/X11/Object.h:53: syntax error before
`WidgetClass'
In file included from formula.C:30:
../../src/minibuffer.h:17: using directive `Object' introduced
ambiguous type `_ObjectRec *'
make[3]: *** [formula.lo] Error 1
Here is X11/Object.h:
#ifndef _XtObject_h
#define _XtObject_h
typedef struct _ObjectRec *Object;
typedef struct _ObjectClassRec *ObjectClass;
#ifndef OBJECT
externalref WidgetClass objectClass;
#endif
#endif /* _XtObject_h */
Jean-Marc Lasgouttes writes:
> >>>>> "Svante" == Svante Signell <[EMAIL PROTECTED]> writes:
>
> Svante> Yes, from RawHide 20001124, but I had the same problem with
> Svante> 4.0.1-1 and earlier versions of 4.0.x as well.
>
> Could you try to see why X11/Object.h is included? What I'd try to do
> is to add a syntax error to the header file (a "ksjfhksdnv" should do
> the trick) and re-compile LyX. The error message should give the
> include chain.
>
> JMarc