CVS Amaya cannot find gtk_exit when building grm

My tree was configured with --with-gtk and --without-graphic-libs, and
compiled under KRUD Linux 7.2. After much uneventful compiling, I got:

gcc  -o ../bin/grm ../thotlib/base/compilmsg.o parser.o grammar.o
../thotlib/libThotKernel.a -ldl
../thotlib/libThotKernel.a(registry.o): In function `InitEnviron':
registry.o(.text+0x11ce): undefined reference to `gtk_exit'
../thotlib/libThotKernel.a(registry.o): In function
`TtaInitializeAppRegistry':
registry.o(.text+0x1244): undefined reference to `gtk_exit'
registry.o(.text+0x12eb): undefined reference to `gtk_exit'
registry.o(.text+0x1377): undefined reference to `gtk_exit'
registry.o(.text+0x1617): undefined reference to `gtk_exit'
collect2: ld returned 1 exit status
make[1]: *** [../bin/grm] Error 1
make[1]: Leaving directory
`/home/horatio/amaya-hackery/Amaya/LINUX-ELF/batch'
make: *** [batch] Error 2

A workaround is to change the line

LIBS    = ../thotlib/libThotKernel.a @LIBS@ @EXTRA_LIBS@

to

LIBS    = ../thotlib/libThotKernel.a @LIBS@ @EXTRA_LIBS@ @GTK_LIBRARIES@

in Amaya/batch/Makefile.in. Another persistent issue is:

make[2]: Entering directory `/home/horatio/amaya-hackery/Amaya/LINUX-ELF'
make[3]: Entering directory
`/home/horatio/amaya-hackery/Amaya/LINUX-ELF/libwww/modules/md5'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/horatio/amaya-hackery/Amaya/LINUX-ELF/../../libwww/modules/md5
-I../..   -I/home/horatio/amaya-hackery/Amaya/LINUX-ELF/../libpng/zlib
-O2 -W  -DXML_DTD -DXML_NS -c
/home/horatio/amaya-hackery/Amaya/LINUX-ELF/../../libwww/modules/md5/md5.c
libtool: ltconfig version `' does not match ltmain.sh version `1.3.4'
Fatal configuration error.  See the libtool docs for more information.
make[3]: *** [md5.lo] Error 1
make[3]: Leaving directory
`/home/horatio/amaya-hackery/Amaya/LINUX-ELF/libwww/modules/md5'
make[2]: *** [libwww_make_module_md5] Error 2
make[2]: Leaving directory `/home/horatio/amaya-hackery/Amaya/LINUX-ELF'
make[1]: *** [amaya_comp_libwww] Error 2
make[1]: Leaving directory
`/home/horatio/amaya-hackery/Amaya/LINUX-ELF/amaya'

For now I'm commenting out the relevant test in libwww/libtool in the
object tree. This problem appears (as a previous poster has said) to be an
artefact of the version of libtool used by Amaya, as my installed version
is 1.4. Can it be fixed in the libwww CVS tree once and for all, please?

Cheers,

Horatio

Received on Wednesday, 19 December 2001 00:43:35 UTC