r20494 make check fails

Christian Stimming stimming at tuhh.de
Sat Mar 26 17:54:33 EDT 2011


Am Samstag, 26. März 2011 schrieb Bill Hammond:
> I'm having trouble getting make check to pass with r20494 after a clean
> build.  Here's the error...
> 
> libtool: link: gcc -Werror -Wdeclaration-after-statement -g -g -Wall
> -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
> .libs/test-link test-link.o
> ../../../../src/libqof/qof/.libs/libgnc-qof.so
> ../../../../src/app-utils/.libs/libgncmod-app-utils.so
> ../../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
> ../.libs/libgncmod-ofx.so -lpthread -lm -pthread -Wl,-rpath
> -Wl,/home/ka1ssr/unstable/gnucash/lib -Wl,-rpath
> -Wl,/home/ka1ssr/unstable/gnucash/lib/gnucash
> ../.libs/libgncmod-ofx.so: undefined reference to
> `gnc_gen_trans_list_widget'
> collect2: ld returned 1 exit status
> make[5]: *** [test-link] Error 1
> make[5]: Leaving directory
> `/home/ka1ssr/development/gnucash/src/import-export/ofx/test'

I don't see this error here. "make check" runs fine.

That could happen if the "test-link" executable somehow tries to link against 
a slightly older version of gnucash's gncmod-generic-import.la which didn't 
have this symbol. I've added this approx. 5 weeks ago, or at least I've added 
the usage of this in the ofx module. A mixup of older and newer binaries could 
cause this error.

If no such mixup can have occurred on your system, we need to do further 
investigations...

Regards,

Christian


More information about the gnucash-devel mailing list