When I configure to use gtk, I get link errors about lwlib*.
************ configure command ************
./configure \
--prefix=/home/jra/usr/ \
--dynamic \
--with-menubars=lucid \
--with-scrollbars=gtk \
--with-dialogs=gtk \
--with-widgets=gtk
************ configure report ************
XEmacs 21.4.18 "Social Property" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/jra/usr/src/src/xemacs-21.4.18
Installation prefix: /home/jra/usr/
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch
-Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing
-Wshadow
Compiler version: gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Compiler specs file: specs.
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
libc: glibc-2.3.5-10
glibc-2.3.5-10.3
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.
Using Lucid menubars.
Using GTK scrollbars.
Using GTK dialog boxes.
Using GTK native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
************ end of make ************
gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -fno-strict-aliasing -Wshadow -L/usr/X11R6/lib
-Wl,-export-dynamic -o xemacs abbrev.o alloc.o blocktype.o buffer.o
bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o
cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o
doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o
filelock.o dumper.o balloon_help.o balloon-x.o eldap.o postgresql.o
dgif_lib.o gif_io.o menubar.o scrollbar.o dialog.o toolbar.o
menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o realpath.o
inline.o linuxplay.o miscplay.o console-tty.o device-tty.o event-tty.o
frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o gpmevent.o
event-unixoid.o database.o sysdll.o emodules.o process-unix.o
event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o
font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o
gui.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 profile.o rangetab.o redisplay.o
redisplay-output.o regex.o search.o select.o signal.o sound.o
specifier.o strftime.o symbols.o syntax.o sysdep.o undo.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 widget.o window.o lastfile.o vm-limit.o
EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o
EmacsManager.o dump-id.o ../lwlib/liblw.a -ltiff -lpng -ljpeg -lXpm
-lXmu -lXt -lXext -lX11 -lSM -lICE -ldb -lgpm -lncurses -lpq -lldap
-lm -lutil
gui-x.o(.text+0xba5): In function `reinit_vars_of_gui_x':
/home/jra/usr/src/src/xemacs-21.4.18/src/gui-x.c:711: undefined
reference to `lwlib_scrollbars_athena'
gui-x.o(.text+0xbaf):/home/jra/usr/src/src/xemacs-21.4.18/src/gui-x.c:716:
undefined reference to `lwlib_dialogs_athena'
gui-x.o(.text+0xbb9):/home/jra/usr/src/src/xemacs-21.4.18/src/gui-x.c:721:
undefined reference to `lwlib_widgets_athena'
gui-x.o(.text+0xc08): In function `vars_of_gui_x':
/home/jra/usr/src/src/xemacs-21.4.18/src/gui-x.c:711: undefined
reference to `lwlib_scrollbars_athena'
gui-x.o(.text+0xc12):/home/jra/usr/src/src/xemacs-21.4.18/src/gui-x.c:716:
undefined reference to `lwlib_dialogs_athena'
gui-x.o(.text+0xc1c):/home/jra/usr/src/src/xemacs-21.4.18/src/gui-x.c:721:
undefined reference to `lwlib_widgets_athena'
../lwlib/liblw.a(lwlib-Xlw.o)(.text+0x5b9): In function `xlw_update_one_widget':
/home/jra/usr/src/src/xemacs-21.4.18/lwlib/lwlib-Xlw.c:424: undefined
reference to `xaw_create_label'
collect2: ld returned 1 exit status
make[1]: *** [xemacs] Error 1
make[1]: Leaving directory `/home/jra/usr/src/src/xemacs-21.4.18/src'
make: *** [src] Error 2
1