[comp.emacs] Menus in X11/Emacs BOMB

murthy@iving.cs.cornell.edu (Chet Murthy) (07/10/88)

Well, I tried to build an X11 version of GNUemacs this weekend.
I started with dist-18.50, vanilla from louie.udel.edu.
I used the diff-18.50-18.51 from louie, and every patch except
for the file /etc/FTP took correctly.
I used the differences that dana@bellcore posted to modify
my files for X11, and then I did a make.

First, the make used the libraries XMenu, oldX, and X11, in that order,
along with libg and libc.  I used the version of XMenu.h from
the contrib/oldXMenu directory of the X11R2 distribution.
Emacs came up under X11, but when it tried to put up a menu,
it core dumped in XMenuActivate.

So, I figured, perhaps I should use the actual library constructed from
contrib/oldXMenu.  So, I used this library, and, with the link
libraries as: -lXMenu11 -lX11 -lg -lc, it died on link, with
a failure to find some AssocTable routines.  I found them in liboldX.a,
so I linked with -lXMenu11 -loldX -lX11 -lg -lc, and this time, the
link succeeded, but again, it died when it tried to put up a menu.

Does anybody out there know what I did wrong?


	--chet--
	murthy@svax.cs.cornell.edu