undefined reference to gnome-utils functions

Nathan Buchanan nbinont at gmail.com
Thu Mar 15 22:05:37 EDT 2007


andi5,

Thanks for your help on irc. I'm still having the same problems (even with
the fixed path), so I think I'll try wiping out everything and re-install
from scratch.

The html help workspace did install, but gave me an error that I had a newer
version installed already. It then told me that the install completed
successfully and promptly crashed.

Nathan

On 3/15/07, Nathan Buchanan <nbinont at gmail.com> wrote:
>
> Hello All,
>
> I tried to get gnucash to compile again, but am still receving these
> errors. (WinXP) They seem to be related to gnome-utils functions but that's
> as far as I got in figuring it out. I'm writing to ask if you could give me
> some pointers as to where I might start looking to find the problem. I'm a
> little lost right now.
>
> Thanks in advance for any help you can provide
>
> Nathan
>
> Creating library file: .libs/libgncmod-gnome-utils.dll.a
> .libs/dialog-account.o(.text+0xc44): In function `gnc_ui_to_account':
>
> c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:403: undefined reference to `gnc_reverse_balance'
> .libs/dialog-account.o
> (.text+0xcf3):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:414: undefined reference to `gnc_account_create_opening_balance'
> .libs/dialog-account.o(.text+0x1018): In function `gnc_finish_ok':
>
> c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:486: undefined reference to `gnc_suspend_gui_refresh'
> .libs/dialog-account.o
> (.text+0x1033):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:492: undefined reference to `gnc_resume_gui_refresh'
> .libs/dialog-account.o
> (.text+0x1061):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:501: undefined reference to `gnc_suspend_gui_refresh'
> .libs/dialog-account.o
> (.text+0x1161):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:523: undefined reference to `gnc_resume_gui_refresh'
> .libs/dialog-account.o
> (.text+0x11f8):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> account.c:534: undefined reference to `gnc_close_gui_component'
> <snip>
> .libs/window-main-summarybar.o(.text+0x132f): In function
> `gnc_main_window_summary_new':
>
> c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/window-
> main-summarybar.c:494: undefined reference to `gnc_register_gui_component'
> .libs/window-main-summarybar.o
> (.text+0x1350):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/window-
> main-summarybar.c:497: undefined reference to
> `gnc_gui_component_watch_entity_type'
> collect2: ld returned 1 exit status
> make[5]: *** [libgncmod-gnome-utils.la] Error 1
> make[5]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/c/soft/gnucash/build/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/c/soft/gnucash/build'
> make: *** [all] Error 2
>
>
>
> On 3/14/07, Nathan Buchanan <nbinont at gmail.com> wrote:
> >
> > Hi Chris!
> >
> > On 3/14/07, Chris Shoemaker < c.shoemaker at cox.net> wrote:
> > >
> > > On Tue, Mar 13, 2007 at 11:04:50PM -0400, Nathan Buchanan wrote:
> > > > Hello!
> > > >
> > > > I ran into the following error when building svn 15713:
> > > >
> > > > ../../../repos/src/app-utils/gnc-ui-util.c: In function
> > > `integer_to_words':
> > > > ../../../repos/src/app-utils/gnc-ui-util.c:1605: warning: implicit
> > > > declaration of function `exp10'
> > > > make[4]: *** [gnc-ui-util.lo] Error 1
> > > > make[4]: Leaving directory `/c/soft/gnucash/build/src/app-utils'
> > > > make[3]: *** [all-recursive] Error 1
> > > > make[3]: Leaving directory `/c/soft/gnucash/build/src/app-utils'
> > > > make[2]: *** [all-recursive] Error 1
> > > > make[2]: Leaving directory `/c/soft/gnucash/build/src'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory `/c/soft/gnucash/build'
> > > > make: *** [all] Error 2
> > > >
> > > > it looks like exp10() is not defined - at least on my ststem. The
> > > call to
> > > > exp10() was added as part of r15677. Related lines:
> > > >
> > > >   while (val >= 1000) {
> > > >     log_val = log10(val) / 3 + FUDGE;
> > > >     pow_val = exp10(log_val * 3) + FUDGE;
> > >
> > > Does it work if you change this line to:
> > >
> > >       pow_val = exp(log_val * 3 * G_LN10) + FUDGE;
> >
> >
> > This solved the error, but I'm running into something else now:
> >
> > Creating library file: .libs/libgncmod-gnome-utils.dll.a
> > .libs/dialog-account.o(.text+0xc44): In function `gnc_ui_to_account':
> >
> > c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> > account.c:403: undefined reference to `gnc_reverse_balance'
> > .libs/dialog-account.o
> > (.text+0xcf3):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> > account.c:414: undefined reference to
> > `gnc_account_create_opening_balance'
> > .libs/dialog-account.o(.text+0x1018): In function `gnc_finish_ok':
> >
> > c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> > account.c:486: undefined reference to `gnc_suspend_gui_refresh'
> > .libs/dialog-account.o
> > (.text+0x1033):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/dialog-
> > account.c:492: undefined reference to `gnc_resume_gui_refresh'
> > .
> > ....many many more lines of undefined references....
> >
> > .libs/window-main-summarybar.o(.text+0x132f): In function
> > `gnc_main_window_summary_new':
> >
> > c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/window-
> > main-summarybar.c:494: undefined reference to
> > `gnc_register_gui_component'
> > .libs/window-main-summarybar.o
> > (.text+0x1350):c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-utils/window-
> > main-summarybar.c:497: undefined reference to
> > `gnc_gui_component_watch_entity_type'
> > collect2: ld returned 1 exit status
> > make[5]: *** [libgncmod-gnome-utils.la] Error 1
> > make[5]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/c/soft/gnucash/build/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/c/soft/gnucash/build'
> > make: *** [all] Error 2
> >
> > I'll look at this some more tomorrow/thursday (It's getting late  :( )
> >
> > Nathan
> >
> > -chris
> > >
> > > >     this_part = val / pow_val;
> > > >     val -= this_part * pow_val;
> > > >     tmp = integer_to_words(this_part);
> > > >     g_string_append_printf(result, "%s %s ", tmp,
> > > >                            gettext(big_numbers[log_val]));
> > > >     g_free(tmp);
> > > >   }
> > > >
> > > > Nathan
> > > >
> > > > PS: this is with a fresh checkout and after I removed the build
> > > directory.
> > > > --
> > > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> > > > A conclusion is the place where you got tired of thinking.
> > > > _______________________________________________
> > > > gnucash-devel mailing list
> > > > gnucash-devel at gnucash.org
> > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > >
> >
> >
> >
> > --
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> > A conclusion is the place where you got tired of thinking.
> >
>
>
>
> --
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> A conclusion is the place where you got tired of thinking.




-- 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
A conclusion is the place where you got tired of thinking.


More information about the gnucash-devel mailing list