Sanjeev Deshmukh wrote:
Hi,
I am not able to compile 21.5.11 on my Solaris 8 box. I regularly
compile latest beta xemacs and never had a problem with old Solaris 2.6.
I recently upgrated to Solaris 8 and now I am not able to compile.
Attached herewith is my "Installation" file generated by configure.
The build error is as given below :
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare
-Wundef -Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations
-Wpointer-arith -g -O3 -Xlinker -z -Xlinker nocombreloc
-L/users/sdeshmuk/gnu/lib -L/usr/local/lib -L/usr/ccs/lib -Xlinker
-R/usr/ccs/lib:/users/sdeshmuk/gnu/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/users/sdeshmuk/gnu/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/../../..
-L/usr/dt/lib -L/usr/openwin/lib -Wl,-export-dynamic -o temacs abbrev.o
alloc.o alloca.o balloon_help.o balloon-x.o blocktype.o buffer.o
bytecode.o callint.o casefiddle.o casetab.o chartab.o filelock.o
cmdloop.o cmds.o console.o console-stream.o data.o database.o debug.o
tests.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o
emacs.o eval.o events.o event-stream.o event-unixoid.o unexsol2-6.o
inline.o sunplay.o terminfo.o extents.o faces.o file-coding.o fileio.o
filemode.o floatfns.o fns.o font-lock.o frame.o general.o dgif_lib.o
gif_io.o glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o gui.o
menubar.o scrollbar.o dialog.o toolbar.o gutter.o hash.o imgproc.o
indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o
macros.o marker.o md5.o minibuf.o objects.o opaque.o print.o
process.o process-unix.o profile.o rangetab.o realpath.o redisplay.o
redisplay-output.o regex.o search.o select.o sysdll.o emodules.o
signal.o sound.o specifier.o strftime.o sunpro.o symbols.o syntax.o
sysdep.o text.o tooltalk.o console-tty.o device-tty.o event-tty.o
frame-tty.o objects-tty.o redisplay-tty.o cm.o undo.o unicode.o
console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o objects-x.o
redisplay-x.o select-x.o xgccache.o intl-x.o gui-x.o menubar-x.o
scrollbar-x.o dialog-x.o toolbar-x.o toolbar-common.o widget.o window.o
lastfile.o gmalloc.o free-hook.o vm-limit.o ralloc.o EmacsFrame.o
EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o
../lwlib/liblw.a -lXm -ljpeg -lz -lXpm -ltt -lXmu -lXt -lXext -lX11
-lSM -lICE -ldb -lgdbm -lcurses /usr/demo/SOUND/lib/libaudio.a -lm
-lldap -lsocket -lnsl -lelf -lgen -ldl
../lwlib/liblw.a(lwlib-Xm.o): In function `xm_update_one_widget':
/usr1/sdeshmuk/gnu/XEmacs/beta/xemacs-21.5.11/lwlib/lwlib-Xm.c:471:
undefined reference to `_XmStrings21'
/usr1/sdeshmuk/gnu/XEmacs/beta/xemacs-21.5.11/lwlib/lwlib-Xm.c:471:
undefined reference to `_XmStrings21'
/usr1/sdeshmuk/gnu/XEmacs/beta/xemacs-21.5.11/lwlib/lwlib-Xm.c:472:
undefined reference to `_XmStrings21'
../lwlib/liblw.a(lwlib-Xm.o): In function `xm_create_combo_box':
/usr1/sdeshmuk/gnu/XEmacs/beta/xemacs-21.5.11/lwlib/lwlib-Xm.c:1831:
undefined reference to `_XmStrings21'
/usr1/sdeshmuk/gnu/XEmacs/beta/xemacs-21.5.11/lwlib/lwlib-Xm.c:1831:
undefined reference to `_XmStrings21'
collect2: ld returned 1 exit status
gmake[1]: *** [temacs] Error 1
gmake[1]: Leaving directory
`/usr1/sdeshmuk/gnu/XEmacs/beta/xemacs-21.5.11/src'
gmake: *** [src] Error 2
Which version of Motif is required for XEmacs? 1.2 or 2.1? With solaris
8, I think motif libraries default to 2.1 while XEmacs probably requires
Motif 1.2(??) I found that '--cflags=-DMOTIF12_HEADERS' and adding
corresponding libXm.so.3 in the LD_LIBRARY_PATH compiles xemacs
properly. But still I am not able to execute it. As soon as I launch
xemacs, it crashes with following message.
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x2684>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " Â" [error-data data
nil] 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Abort