Dear Volker, Ken and Corinna, On Fri, Jan 23, 2015 at 10:43 AM, Dr. Volker Zell wrote: >>>>>> Ken Brown writes: > > > On 1/23/2015 5:57 AM, Dr. Volker Zell wrote: > >> gcc -c -ggdb -O2 -pipe -Wimplicit-function-declaration > -fdebug-prefix-map=/cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/build=/usr/src/debug/xemacs-21.4.22-2 > > -fdebug-prefix-map=/cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/src/xemacs-21.4.22=/usr/src/debug/xemacs-21.4.22-2 > -Demacs -I. -DHAVE_CONFIG_H -Wno-sign-compare -fno-caller-saves > /cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/src/xemacs-21.4.22/src/emacs.c > >> In file included from > /cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/src/xemacs-21.4.22/src/emacs.c:184:0: > >> > /cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/src/xemacs-21.4.22/src/syswindows.h:74:16: > error: expected ';', ',' or ')' before 'int' > >> #define Status int > >> ^ > >> In file included from /usr/include/w32api/rpc.h:74:0, > >> from /usr/include/w32api/objbase.h:7, > >> from /usr/include/w32api/ole2.h:17, > >> from /usr/include/w32api/shlobj.h:85, > >> from > /cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/src/xemacs-21.4.22/src/syswindows.h:77, > >> from > /cygdrive/d/misc/src/release/xemacs-21.4.22-2.i686/src/xemacs-21.4.22/src/emacs.c:184: > >> /usr/include/w32api/rpcdce.h:210:51: error: unknown type name > 'RPC_OBJECT_INQ_FN' > >> RPCRTAPI RPC_STATUS RPC_ENTRY RpcObjectSetInqFn(RPC_OBJECT_INQ_FN > *InquiryFn); > > > I think the problem is that "Status" is used in > /usr/include/w32api/rpcdce.h, > > and this conflicts with "#define Status int". I ran into a similar > problem when > > trying to build clisp. > > Any simple fix/workaround for this ?
Thanks for pointing this out. It dawned on me yesterday that the reason I didn't see these problems is because I don't build with X support on Cygwin. Once I configured in X support, I saw these errors and a few others. It took me awhile to work out the right changes to make, but I have checked changes into the XEmacs 21.4 mercurial repository that enable XEmacs 21.4 to build under Cygwin with X support. One problem remains - Xaw3d support does not work, so I removed that from the configure line. The problem I found was that XEmacs seemed to be expecting version 8 of Xaw3d, but Cygwin supplies version 7. I still plan to release 21.4.23 in the near future, but I would recommend making an updated XEmacs 21.4 kit before that point. Regards, Vin Shelton