[ I'm not on the list, please CC: me. ]
Hello,
I met a core dump of XEmacs I built on NetBSD/i386. I'm trying to use
Xaw specifying these arguments (only relevant part).
--with-msw=no
--with-menubars=no
--with-scrollbars=athena
--with-dialogs=athena
--with-widgets=athena
--with-athena=xaw
--with-xim=xlib
I believe this combination of arguments is 100% okay... Configure and
build went fine. Here's a part of configure's output.
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
XEmacs 21.4.12 "Portable Code" configured for `i386--netbsdelf'.
(snip)
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Athena scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
(snip)
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
However, the resulting executable miserably dumps core as soon as
invoked.
I found that XEmacs's toolkit code uses Lucid functions/codes
presuming Lucid objects are always included in the executable. For
example, see src/glyphs-x.c:2522, where x_widget_instantiate()
unconditionally invokes lw_create_widget().
Actually, Lucid objects are included only if users specify the options
to use Lucid. See configure.in:3624, where lwlib-Xlw.o is included if
lucid option is specified somewhere in the configure argument.
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
(snip)
case "$all_widgets" in *lucid* )
AC_DEFINE(NEED_LUCID)
XE_APPEND(lwlib-Xlw.o, lwlib_objs) ;;
esac
(snip)
--------8<--------8<--------8<--------8<--------8<--------8<--------8<
I hope I understand things correctly. Thanks in advance.
Masao
Show replies by date