r20494 make check fails

2011-03-26 Thread Bill Hammond
Hello!

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'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx/test'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export/ofx'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/home/ka1ssr/development/gnucash/src/import-export'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/ka1ssr/development/gnucash/src'
make: *** [check-recursive] Error 1

The configure/make all phases run fine with no errors.  I'm running
Ubuntu 10.10.  All packages are up to date.

Thanks for your help.

Regards,

Bill

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


Re: r20494 make check fails

2011-03-26 Thread Christian Stimming
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
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: r20494 make check fails

2011-03-26 Thread Bill Hammond
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

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