Am Donnerstag, 11. April 2013, 16:47:45 schrieb Norbert Holze: > Am 11.04.2013 15:37, schrieb Derek Atkins: > > [snip] > > > >>> /usr/bin/ld: test_sqlbe-utest-gnc-backend-sql.o: undefined reference > >>> to symbol 'g_type_check_instance_cast' /usr/bin/ld: note: > >>> 'g_type_check_instance_cast' is defined in DSO > >>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 so try adding it to > >>> the linker command line > >>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: could not read > >>> symbols: Invalid operation collect2: error: ld returned 1 exit > >>> status > >>> make[6]: *** [test-sqlbe] Fehler 1 > >>> make[6]: Verlasse Verzeichnis > >>> '/home/norbert/Downloads/gnucash/gnucash-2.5.0/gnucash-2.5.0/src/ba > >>> ckend/sql/test'> > > This is the Ubuntu Linker not pulling in implicit dependencies. You can > > probably fix this by added $(GLIB_LIBS) to the LDADD line in the > > src/backend/sql/test/Makefile.am > > Same error with: > > LDADD = ${top_builddir}/src/test-core/libtest-core.la \ > ${top_builddir}/src/gnc-module/libgnc-module.la \ > ${top_builddir}/src/backend/sql/libgnc-backend-sql.la \ > ${top_builddir}/src/engine/libgncmod-engine.la \ > > ${top_builddir}/src/engine/test-core/libgncmod-test-engine.la \ > ${top_builddir}/src/core-utils/libgnc-core-utils.la \ > ${top_builddir}/src/libqof/qof/libgnc-qof.la \ > ${top_builddir}/lib/libc/libc-missing.la \ > $(GLIB_LIBS)
Can you add $(GLIB_LIBS) not (only) to LDADD, but rather to test_sqlbe_LDADD and check again? Christian _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel