Rev. 2.3.8 compile error with undefined reference in dialog-fincalc.c

Derek Atkins warlord at MIT.EDU
Wed Jan 27 10:39:01 EST 2010


Johann Wöckinger <j.woeckinger at edumail.at> writes:

> Christian Stimming schrieb:
>> Am Dienstag, 26. Januar 2010 schrieb Johann Wöckinger:
>>   
>>> Hi,
>>>
>>> When I try to compile gnucash 2.3.8, build process fails with following
>>> message:
>>>
>>> .libs/dialog-fincalc.o: In function `init_fi':
>>> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:299:
>>> undefined reference to `fi_calc_future_value'
>>>     
>>
>> 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]

> I tried this, but it did not solve the problem - now the undefined
> reference error appears first at line 299 of dialog-fincalc.c (see
> below)
>
>
> .libs/dialog-fincalc.o: In function `init_fi':
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:299:
> undefined reference to `fi_calc_future_value'
> .libs/dialog-fincalc.o: In function `calc_value':
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:423:
> undefined reference to `fi_calc_future_value'
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:420:
> undefined reference to `fi_calc_payment'
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:417:
> undefined reference to `fi_calc_present_value'
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:414:
> undefined reference to `fi_calc_interest'
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome/dialog-fincalc.c:411:
> undefined reference to `fi_calc_num_payments'
> collect2: ld returned 1 exit status
> make[5]: *** [libgnc-gnome.la] Fehler 1
> make[5]: Leaving directory
> /home/hans/software/gnucash/gnucash-2.3.8/src/gnome'

Can you please show more of the log, in particular the link line that
happens just before this error is thrown?

> woec

-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