Rev. 2.3.8 compile error with undefined reference in dialog-fincalc.c
Derek Atkins
warlord at MIT.EDU
Thu Jan 28 10:09:39 EST 2010
Hi,
Johann Wöckinger <j.woeckinger at edumail.at> writes:
> />>/ Is this fixed when you add the line
> />>/ ${top_builddir}/src/calculation/libgncmod-calculation.la \
> />>/ in src/gnome/Makefile.am to the variable libgnc_gnome_la_LIBADD, i.e. by
> />>/ inserting the above line right after line 5?
>
[snip]
> Hi,
>
> ok here is the link line just before the errors listed above:
>
[snip]
> libtool: link: gcc -shared .libs/swig-gnome.o .libs/dialog-chart-export.o .libs/dialog-commodities.o .libs/dialog-fincalc.o .libs/dialog-find-transactions.o .libs/dialog-new-user.o .libs/dialog-price-editor.o .libs/dialog-price-edit-db.o .libs/dialog-print-check.o .libs/dialog-progress.o .libs/dialog-sx-editor.o .libs/dialog-sx-from-trans.o .libs/dialog-sx-since-last-run.o .libs/dialog-tax-info.o .libs/dialog-userpass.o .libs/druid-acct-period.o .libs/druid-hierarchy.o .libs/druid-merge.o .libs/druid-loan.o .libs/druid-stock-split.o .libs/gnc-plugin-account-tree.o .libs/gnc-plugin-basic-commands.o .libs/gnc-plugin-budget.o .libs/gnc-plugin-register.o .libs/gnc-plugin-page-account-tree.o .libs/gnc-plugin-page-budget.o .libs/gnc-plugin-page-sx-list.o .libs/gnc-plugin-page-register.o .libs/gnc-split-reg.o .libs/lot-viewer.o .libs/reconcile-list.o .libs/top-level.o .libs/window-reconcile.o -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/register/ledger-core/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/register/register-gnome/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/register/register-core/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/report/report-gnome/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/report/report-system/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/gnome-search/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/gnome-utils/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/backend/xml/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/app-utils/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/html/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/engine/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/core-utils/.libs -Wl,-rpath -Wl,/home/hans/software/gnucash/gnucash-2.3.8/src/libqof/qof/.libs -Wl,-rpath -Wl,/usr/lib/gnucash ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so ../../src/register/register-gnome/.libs/libgncmod-register-gnome.so ../../src/register/register-core/.libs/libgncmod-register-core.so ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so ../../src/report/report-system/.libs/libgncmod-report-system.so ../../src/gnome-search/.libs/libgncmod-gnome-search.so ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so ../../src/backend/xml/.libs/libgnc-backend-xml-utils.so ../../src/app-utils/.libs/libgncmod-app-utils.so ../../src/html/.libs/libgncmod-html.so ../../src/engine/.libs/libgncmod-engine.so ../../src/core-utils/.libs/libgnc-core-utils.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so /usr/lib/libguile.so /usr/lib/libgmp.so -lcrypt /usr/lib/libltdl.so /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgconf-2.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib/libpopt.so -lm -Wl,-z -Wl,defs -pthread -pthread -Wl,--export-dynamic -pthread -Wl,-soname -Wl,libgnc-gnome.so.0 -o .libs/libgnc-gnome.so.0.0.0
There is no libgncmod-calculation in this line, which leads me to
believe that you did not modify the Makefile.am and rebuild as per
Christian's suggestion.
Can you please try adding that library as suggested at the top of this
email and re-try?
> Regards,
>
> woec
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list