Can you try to change the order of the following includes libxnee/include/libxnee/xnee.h:
#include <X11/Xproto.h> #include <X11/Xlibint.h> #include <X11/Xlib.h> and give us feedback on the result! On fre, 2005-09-30 at 11:22 +0300, Jukka Ukkonen wrote: > ext Henrik Sandklef wrote: > > On Thu, 2005-09-29 at 19:10 +0300, Jukka Ukkonen wrote: > > > >> I am confused. Has the Xnee code been ever tried on Sun? > > > > Yes. Not by me though. > > Anyhow that is a start. Because someone else has done it > already, it should not be awful lot of work to make it > work here as well. > > >> I failed to find out the reason why these xEvent and xReply > >> should be undefined, but as it appears they are... > > > > > > http://savannah.gnu.org/bugs/?func=detailitem&item_id=10511 > > > > > > > > I am confused. What version of Xnee are you using? > > .. before knowing that there is nothing I can do! > > .. what version of Solaris? > > SunOS xyzzy 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V440 > and Xnee-2.01. > > > BTW, I would prefer discussing over the mailing lists (i.e bug-xnee). > > OK - I will cross post this one to you and bug-xnee. > > I leave the compiler error messages visible below so that > it is easier to refer back to them, if necessary. > > Cheers, > // jau > > > > > >>In file included from xnee.c:39: > >>/usr/openwin/include/X11/Xlibint.h:137: error: parse error before "xEvent" > >>In file included from xnee.c:39: > >>/usr/openwin/include/X11/Xlibint.h:810: error: parse error before "xReply" > >>/usr/openwin/include/X11/Xlibint.h:885: error: parse error before "xReply" > >>/usr/openwin/include/X11/Xlibint.h:885: warning: no semicolon at end of > >>struct or union > >>/usr/openwin/include/X11/Xlibint.h:887: error: parse error before '}' token > >>/usr/openwin/include/X11/Xlibint.h:887: warning: data definition has no > >>type > >>or storage class > >>/usr/openwin/include/X11/Xlibint.h:954: error: parse error before > >>"xGenericReply" > >>/usr/openwin/include/X11/Xlibint.h:972: error: parse error before "xReply" > >>/usr/openwin/include/X11/Xlibint.h:982: error: parse error before "xReply" > >>/usr/openwin/include/X11/Xlibint.h:1029: error: parse error before "xReply" > >>/usr/openwin/include/X11/Xlibint.h:1037: error: parse error before "xEvent" > >>/usr/openwin/include/X11/Xlibint.h:1238: error: parse error before "xEvent" > >>/usr/openwin/include/X11/Xlibint.h:1244: error: parse error before "xEvent" > >>/usr/openwin/include/X11/Xlibint.h:1256: error: parse error before "xEvent" > >>/usr/openwin/include/X11/Xlibint.h:1262: error: parse error before "xEvent" > >>In file included from xnee.c:46: > >>../include/libxnee/xnee.h:356: error: parse error before "xEvent" > >>../include/libxnee/xnee.h:356: warning: no semicolon at end of struct or > >>union > >>../include/libxnee/xnee.h:358: error: parse error before "reply" > >>../include/libxnee/xnee.h:358: warning: data definition has no type or > >>storage class > >>../include/libxnee/xnee.h:361: error: parse error before '}' token > >>../include/libxnee/xnee.h:361: warning: data definition has no type or > >>storage class > >> > >> Any help, ideas, anything? > > _______________________________________________ Bug-xnee mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-xnee
