GNC-2.2.3 test error
N. Peguiron
nicolas.peguiron at logma.ch
Thu Jan 31 09:05:30 EST 2008
Hello,
Currently using GNC-2.2.0; built it happily from source; test suite ran
OK with all tests passed. Congratulations and many thanks to the GNC team.
Now I'm trying to build GNC-2.2.3 from source. Build is ok, but test
suite crashes with following output tail (2>&1) :
> make[6]: Entering directory
> `/usr/src/gnucash-2.2.3/src/register/register-core/test'
> gcc -DHAVE_CONFIG_H -I. -I../../../.. -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I../../../../src/test-core -I.. -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT
> test-link-module.o -MD -MP -MF .deps/test-link-module.Tpo -c -o
> test-link-module.o test-link-module.c
> mv -f .deps/test-link-module.Tpo .deps/test-link-module.Po
> /bin/sh ../../../../libtool --tag=CC --mode=link gcc -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I../../../../src/test-core -I.. -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o
> test-link-module test-link-module.o
> ../../../../src/engine/libgncmod-engine.la
> ../../../../src/app-utils/libgncmod-app-utils.la
> ../libgncmod-register-core.la -lpopt -lm -lm
> mkdir .libs
> gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I../../../../src/test-core -I.. -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o
> .libs/test-link-module test-link-module.o
> ../../../../src/engine/.libs/libgncmod-engine.so
> ../../../../src/app-utils/.libs/libgncmod-app-utils.so
> ../.libs/libgncmod-register-core.so /usr/lib/libpopt.so -lm
> -Wl,--rpath -Wl,/usr/lib/gnucash
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetDaily'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetOnceDate'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecGetOnce'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetNone'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecGetMonthly'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetUIType'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecGetWeekly'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetWeekly'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecCompositeGet'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecGetNextInstance'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecGetDaily'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecMalloc'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecGetUIType'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetComposite'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecSetMonthly'
> /usr/bin/../lib/libgnc-backend-file-utils.so.0: undefined reference to
> `xaccSchedXactionSetFreqSpec'
> /usr/bin/../lib/libgnc-backend-file-utils.so.0: undefined reference to
> `xaccFreqSpecFree'
> /usr/lib/gnucash/libgncmod-gnome-utils.so: undefined reference to
> `xaccFreqSpecCompositeAdd'
> collect2: ld returned 1 exit status
> make[6]: *** [test-link-module] Error 1
> make[6]: Leaving directory
> `/usr/src/gnucash-2.2.3/src/register/register-core/test'
> make[5]: *** [check-am] Error 2
> make[5]: Leaving directory
> `/usr/src/gnucash-2.2.3/src/register/register-core/test'
> make[4]: *** [check-recursive] Error 1
> make[4]: Leaving directory
> `/usr/src/gnucash-2.2.3/src/register/register-core'
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory `/usr/src/gnucash-2.2.3/src/register'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory `/usr/src/gnucash-2.2.3/src'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gnucash-2.2.3'
> make: *** [check] Error 2
Tried to compiled on 2 different box, on one with gcc-4.1.1 for
gnome-2.14 and on the other with gcc-4.2.2 for gnome 2-18. Same result.
Nothing found with Google (perhaps my search was clumsy).
What have I done wrong ?
Thank you for your support (and my apologies for my bad english : it's
not my native language).
--
N. Peguiron / 2454497.08472
More information about the gnucash-devel
mailing list