gnc_gconf_toolbar_detachable

Chris Shoemaker c.shoemaker at cox.net
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 ../libgncmod-app-file.la  -lpopt -lm  -lm
> > gcc -O0 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -g -o .libs/test-link test-link.o  ../.libs/libgncmod-app-file.so -L/usr/lib -L/usr/src/build/408073-i386/BUILD/guile-1.6.4/libguile/.libs /home/chris/gnucash/gnucash/src/gnome-utils/.libs/libgncmod-gnome-utils.so -L/usr/src/build/468104-i386/BUILD/guile-1.6.4/libguile/.libs /home/chris/gnucash/gnucash/src/network-utils/.libs/libgncmod-network-utils.so -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/libgnc-app-file-gnome.so -lgnomeui-2 -lSM -lICE -lbonoboui-2 /usr/lib/libxml2.so -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/libgncmod-app-utils.so /home/chris/gnucash/gnucash/src!
> >  /engine/.libs/libgncmod-engine.so /home/chris/gnucash/gnucash/src/engine/.libs/libgw-engine.so /home/chris/gnucash/gnucash/src/engine/.libs/libgw-kvp.so /home/chris/gnucash/gnucash/src/gnc-module/.libs/libgncmodule.so /home/chris/gnucash/gnucash/src/core-utils/.libs/libcore-utils.so -lgconf-2 -lORBit-2 -lgmodule-2.0 /usr/lib/libgwrap-wct.so /usr/lib/libgwrap-glib.so /usr/lib/libltdl.so /home/chris/gnucash/gnucash/src/calculation/.libs/libgncmod-calculation.so /usr/lib/libguile.so /usr/lib/libguile-ltdl.so -ldl /usr/lib/libqthreads.so -lpthread -lcrypt -lgthread-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/libpopt.so -lm -Wl,--rpath -Wl,/opt/gnucash-g2/lib/gnucash -Wl,--rpath -Wl,/opt/gnucash-g2/lib
> > /home/chris/gnucash/gnucash/src/gnome-utils/.libs/libgncmod-gnome-utils.so: 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 libgncmod-gnome-utils.so.0.0.0 |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/Makefile.am
somewhere?

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

-chris




More information about the gnucash-devel mailing list