Compilation problem with trunk

Derek Atkins warlord at MIT.EDU
Thu Dec 8 09:48:33 EST 2005


David Moore <davidm at sjsoft.com> writes:

> Hi,
>
> I'm trying to compile Gnucash trunk (revision 12150) with gcc 4.0.2 and 
> an external goffice 0.1.2 so I can help with testing.  I'm getting the 
> following error:
>
> gcc -I../../../../src/test-core -I.. -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -march=i686 -O2 -pipe -Werror 
> -Wdeclaration-after-statement -Wno-pointer-sign -o 
> .libs/test-link-module test-link-module.o  
> ../.libs/libgncmod-ledger-core.so -L/opt/gnome/lib -L/usr/lib 
> -L/usr/X11R6/lib 
[snip]
> /var/abs/local/gnucash2_packages/gnucash2-svn/src/gnucash-build/src/gnome-utils/.libs/libgncmod-gnome-utils.so 
[snip]
> -lglib-2.0 -lpopt -lm -Wl,--rpath -Wl,/opt/gnome/lib/gnucash
> ../.libs/libgncmod-ledger-core.so: undefined reference to 
> `gnc_date_activates_default'
> collect2: ld returned 1 exit status

This API is defined in src/gnome-utils/gnc-date-edit.c and should be
part of the gnome-utils library.  The gnome-utils library is included
in this link-line.  So, it seems to me that you might not have a clean
build.

Can you run a "make distclean", the autogen, configure, make, make install
and see if that fixes it?

What platform are you building?

-derek

PS: I'm still at 12137, so I'll go update and rebuild and see for
myself.
-- 
       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