CVS compiling problem, libtool related?

Christian Roerecke christian.roerecke@web.de
Tue, 17 Dec 2002 11:57:03 +0100


Just subscribed. Hope the administrator of this list won't send this mail a=
=20
second time.

Hello,

I have problems compiling the cvs version of gnucash.

It stops in nearly all test subdirectories with similar error messages like=
=20
this one:

../test-core/.libs/libgncmod-test-engine.a(test-engine-stuff.o): In functio=
n=20
`get_random_query':
/usr/src/misc/gnucash/src/engine/test-core/test-engine-stuff.c:1374: undefi=
ned=20
reference to `xaccQueryAddAccountGUIDMatch'
/usr/src/misc/gnucash/src/engine/test-core/test-engine-stuff.c:1400: undefi=
ned=20
reference to `xaccQueryAddClearedMatch'
/usr/src/misc/gnucash/src/engine/test-core/test-engine-stuff.c:1414: undefi=
ned=20
reference to `xaccQueryAddDateMatchTS'
[snip]
collect2: ld returned 1 exit status
make[5]: *** [test-commodities] Fehler 1
make[5]: Verlassen des Verzeichnisses Verzeichnis=20
=BB/usr/src/misc/gnucash/src/engine/test=AB
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlassen des Verzeichnisses Verzeichnis=20
=BB/usr/src/misc/gnucash/src/engine=AB
make[3]: *** [all] Fehler 2
make[3]: Verlassen des Verzeichnisses Verzeichnis=20
=BB/usr/src/misc/gnucash/src/engine=AB
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis =BB/usr/src/misc/gnucash/=
src=AB
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis =BB/usr/src/misc/gnucash=
=AB
make: *** [all] Fehler 2

I saw in a related message back from last year(?), Christian Stimmig might=
=20
know better,  that this was solved with installing a self compiled version =
of=20
libtool, but I wonder if there is another solution to the problem.

As I'm able to compile the released version 1.7.5 of gnucash, I would like =
to=20
know if there are differences in for instance configure or other files.

>From config.log of gnucash 1.7.5 I get:
configure:7028: checking if libtool supports shared libraries
configure:7032: checking whether to build shared libraries
configure:7055: checking whether to build static libraries

Whereas from gnucash HEAD I get:
configure:8808: checking if libtool supports shared libraries
configure:8810: result: no
configure:8813: checking whether to build shared libraries
configure:8834: result: no
configure:8837: checking whether to build static libraries
configure:8841: result: yes

christian@roehre:~> which libtool
/usr/bin/libtool
christian@roehre:~> libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)



Any ideas?

Thanks for your time,
Christian