r20494 make check fails

Bill Hammond ka1ssr at gmail.com
Sat Mar 26 18:56:22 EDT 2011


Hi, Christian!  Thanks for getting back to me.

Yup, It looks like I got bit by mixed binaries.  The
libgncmod-generic-import.la I was linking against was dated March 8th. 
I cleaned up my unstable binary directory, rebuilt everything and make
check runs just fine now.

Thanks again.

Regards,

Bill

On 03/26/2011 05:54 PM, Christian Stimming wrote:
> 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