Sorry to followup to my own post, but I just ran it through gdb, and
it dies in
Program received signal SIGSEGV, Segmentation fault.
0xef552240 in XtInitializeWidgetClass ()
(gdb) bt
#0 0xef552240 in XtInitializeWidgetClass ()
#1 0xef552904 in _XtCreateWidget ()
#2 0xef552b08 in XtCreateWidget ()
#3 0x5d454 in x_window (f=0x19d500, window_prompting=3, minibuffer_only=0)
at xfns.c:2502
I'm having trouble getting the above combination to work. Emacs
without X toolkits compiles and works fine, but if I try to include
Athena or Motif support, emacs compiles OK, but the binary segfaults
before it manages to open an X window. In fact, it seems to crash when
it is trying to open the window. With -nw or when DISPLAY is unset the
binary works fine. This is both in Sparcclassic and Sparcstation 20,
with gcc 2.7.2. I did add the proper X include and lib dirs in
configure. Ldd shows that Motif (or Athena) is indeed linked in the
binary.
Janne