still libtool problems here

Herbert Thoma tma@iis.fhg.de
Wed, 14 Nov 2001 10:44:14 +0100


Christian Stimming wrote:
> 
> Hi,
> 
> I'm running into libtool problems as well when trying to compile CVS HEAD. So
> I upgraded libtool from 1.3.5 to 1.4.2, did a 'Make distclean' and
> 'autogen.sh', but still the same problem occurs.
> 
> I'm using CVS as of now -- 2:30 PST Tuesday, already including Herbert
> Thoma's Makefile.am patches.

This patch does not help here. The problem is that static libraries are
built but there should be shared libraries.

I asume if you run autogen.sh you get some output like this:
<...>
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
<...>

I upgraded from SuSE 7.2 to 7.3 and then installed libtool 1.4.2
(no rpm, got the source and compiled myself). Then shared libraries
were built.

 Herbert.

> make[4]: Entering directory
> `/home/chs/lib/gnucash/gnucash-1.7/src/engine/test' /bin/sh ../../../libtool
> --mode=link gcc -I../../../src/gnc-module   -I../../../src/test-core   -I..
> -I../test-core   -I/usr/include   -I/usr/include/glib-1.2
> -I/usr/lib/glib/include  -g -O2 -Wall -Wunused  -Wall -Wno-unused
> -Werror-implicit-function-declaration  -o test-commodities
> test-commodities.o ../../../src/gnc-module/libgncmodule.la
> ../../../src/test-core/libgncmod-test.la   ../libgncmod-engine.la
> ../libgw-engine.la   ../libgw-glib.la   ../libgw-kvp.la
> ../test-core/libgncmod-test-engine.la   -L/usr/lib -lglib   -lltdl -lpopt -lm
>  -lm
> gcc -I../../../src/gnc-module -I../../../src/test-core -I.. -I../test-core
> -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -Wall
> -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration -o
> test-commodities test-commodities.o
> ../../../src/gnc-module/.libs/libgncmodule.a -L/home/chs/lib/unstable/lib
> -L/usr/lib ../../../src/test-core/.libs/libgncmod-test.a
> ../.libs/libgncmod-engine.a
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/.libs/libgw-engine.a
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/.libs/libgw-glib.a
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/.libs/libgw-kvp.a
> ../.libs/libgw-engine.a ../.libs/libgw-glib.a ../.libs/libgw-kvp.a
> ../test-core/.libs/libgncmod-test-engine.a
> /home/chs/lib/gnucash/gnucash-1.7/src/gnc-module/.libs/libgncmodule.a
> /home/chs/lib/unstable/lib/libg-wrap-runtime-guile.so /usr/lib/libguile.so
> /usr/lib/libqthreads.so -lpthread /usr/lib/libglib.so /usr/lib/libltdl.so
> -ldl /usr/lib/libpopt.so -lm -Wl,--rpath -Wl,/home/chs/lib/unstable/lib
> -Wl,--rpath -Wl,/home/chs/lib/unstable/lib
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/.libs/libgw-engine.a(engine-helpers.o):
> In function `gnc_scm2query_term_query':
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:891: undefined
> reference to `xaccMallocQuery'
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:938: undefined
> reference to `xaccQueryAddDateMatchTS'
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:980: undefined
> reference to `DxaccQueryAddAmountMatch'
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:985: undefined
> reference to `DxaccQueryAddSharePriceMatch'
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:990: undefined
> reference to `DxaccQueryAddSharesMatch'
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:1025: undefined
> reference to `xaccQueryAddAccountGUIDMatch'
> /home/chs/lib/gnucash/gnucash-1.7/src/engine/engine-helpers.c:1069: undefined
> reference to `xaccQueryAddActionMatch'
> /home/chs/lib/gnucash/gnucash
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten 3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: tma@iis.fhg.de
www: http://www.iis.fhg.de/