"N. Peguiron" <[EMAIL PROTECTED]> writes:
> 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 
>> `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.

The nature of the error above is that your gnucash-2.2.x build is linking
against gnucash-2.0.y libraries installed into /usr.  2.0 had these
FreqSpec-related symbols, and 2.2 does not.

How did you invoke configure and make, here?  What distro/OS/version are you 
using?

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]

Attachment: pgpSfgXBg1RM2.pgp
Description: PGP signature

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to