Chris Shoemaker c.shoemaker at
Fri Jun 3 11:54:55 EDT 2005

On Thu, Jun 02, 2005 at 05:31:45PM -0400, David Hampton wrote:
> On Thu, 2005-06-02 at 17:22 -0400, Chris Shoemaker wrote:
> > I should really read the autotools manuals because I just don't get
> > them.  But before I do, does anybody know why I get the following
> > after a cvs up -dP, autogen and make clean?
> > 
> > -chris
> > 
> > Making all in test
> > make[2]: Entering directory `/home/chris/gnucash/gnucash/src/app-file/test'
> > /bin/sh ../../../libtool --mode=link gcc  -O0 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Wdeclaration-after-statement  -g -o test-link  test-link.o ../  -lpopt -lm  -lm
> > gcc -O0 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -g -o .libs/test-link test-link.o  ../.libs/ -L/usr/lib -L/usr/src/build/408073-i386/BUILD/guile-1.6.4/libguile/.libs /home/chris/gnucash/gnucash/src/gnome-utils/.libs/ -L/usr/src/build/468104-i386/BUILD/guile-1.6.4/libguile/.libs /home/chris/gnucash/gnucash/src/network-utils/.libs/ -L/usr/X11R6/lib -lgtkhtml-3.1 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lglade-2.0 -lgsf-gnome-1 -lgsf-1 /home/chris/gnucash/gnucash/src/app-file/gnome/.libs/ -lgnomeui-2 -lSM -lICE -lbonoboui-2 /usr/lib/ -lz -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 /home/chris/gnucash/gnucash/src/app-utils/.libs/ /home/chris/gnucash/gnucash/src!
> >  /engine/.libs/ /home/chris/gnucash/gnucash/src/engine/.libs/ /home/chris/gnucash/gnucash/src/engine/.libs/ /home/chris/gnucash/gnucash/src/gnc-module/.libs/ /home/chris/gnucash/gnucash/src/core-utils/.libs/ -lgconf-2 -lORBit-2 -lgmodule-2.0 /usr/lib/ /usr/lib/ /usr/lib/ /home/chris/gnucash/gnucash/src/calculation/.libs/ /usr/lib/ /usr/lib/ -ldl /usr/lib/ -lpthread -lcrypt -lgthread-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/ -lm -Wl,--rpath -Wl,/opt/gnucash-g2/lib/gnucash -Wl,--rpath -Wl,/opt/gnucash-g2/lib
> > /home/chris/gnucash/gnucash/src/gnome-utils/.libs/ undefined reference to `gnc_gconf_toolbar_detachable'
> > collect2: ld returned 1 exit status
> > make[2]: *** [test-link] Error 1
> You've got an old generated file there somewhere.
> gnc_gconf_toolbar_detachable() is now a static inline in a header file.
> Try a 'make distclean'.

Hmm, that didn't seem to make a difference.

[.libs]$ nm |grep gconf_tool
         U gnc_gconf_toolbar_detachable

shows the undefined symbol.

It seems that the inline is not working quite right.

If it were truly inlined I wouldn't see it as an external symbol, right?

Maybe gnc-gconf-utils.h has to be added to the /core-utils/

Am I really the only person having this problem?  Anyone else building
g2 from yesterday's CVS?


More information about the gnucash-devel mailing list