Hello.
When I was attempting to build xemacs 21.5.11 with gtk widgets, on a Debian
('woody') Linux (<tm>!) x86 box, I encountered some problems in the source
files -- namely, a thing that gcc refused to accept.
I'll list the error messages first and, at the end of this email, the options
I'd supplied to 'configure'.
when running 'make clean all' :
make[1]: Entering directory `/mnt/hda1/src/xemacs/xemacs-21.5.11/src'
<<snip>>
gcc -c <<snip>> event-gtk.c
event-gtk.c:84: warning: function declaration isn't a prototype
In file included from event-gtk.c:101:
event-xlike-inc.c: In function `emacs_gtk_event_pending_p':
event-xlike-inc.c:82: `non_fake_input_wait_mask' undeclared (first use in this function)
event-xlike-inc.c:82: (Each undeclared identifier is reported only once
event-xlike-inc.c:82: for each function it appears in.)
event-gtk.c: At top level:
event-gtk.c:968: warning: no previous prototype for `dragndrop_data_received'
event-gtk.c:1060: warning: no previous prototype for `dragndrop_dropped'
make[1]: *** [event-gtk.o] Error 1
make[1]: Leaving directory `/mnt/hda1/src/xemacs/xemacs-21.5.11/src'
make: *** [src] Error 2
...and that was the end of it. the 'make' died at that.
Upon perusing the sources, it looks like the event-gtk.c wasn't completely
converted from event-Xt.c
Notice lines 105 and 106 in event-Xt.c :
--
extern SELECT_TYPE input_wait_mask, non_fake_input_wait_mask;
extern SELECT_TYPE process_only_mask, tty_only_mask;
--
and the lack of a similar statement on lines 82 and 83 in event-gtk.c :
--
extern SELECT_TYPE input_wait_mask, process_only_mask, tty_only_mask;
--
I wasn't sure how it all fits together, so i decided to not meddle
with it. So, here's some sort of a a build-failure report, for xemacs
21.5.11 with gtk widgets, on the stated architecture.
and here's the 'configure' call i'd used with it, originally:
configure \
--cflags=-O3 \
--ldflags=-O1 \
--use-kkcc \
--with-gtk \
--without-xim \
--without-xfs \
--with-dragndrop=yes \
--with-ncurses --with-gpm \
--with-xface=no \
--with-sound=esd,nonative \
--with-database=berkdb --with-postgresql \
--with-ldap \
--with-pop \
--with-modules \
--with-site-lisp=yes \
--with-mule=yes \
--with-clash-detection=no
--
sean
schamp(a)users.sourceforge.net