Found another compile bug.

Andreas Köhler andi5.py at gmx.net
Sat Nov 1 08:45:34 EDT 2008


Hi Casey,

On Fri, 2008-10-31 at 21:11 -0500, Casey Cichon wrote:
> I found this when compiling tonight....
> 
> gcc -Werror -Wdeclaration-after-statement -Wno-pointer-sign
> -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wno-unused -o .libs/gnucash-bin gnucash-bin.o
> -pthread -Wl,--export-dynamic -pthread  /usr/lib/libguile.so
> /usr/lib/libguile-ltdl.so /usr/lib/libqthreads.so -lcrypt
> /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so
> /usr/lib/libgnomevfs-2.so /usr/lib/libgnomecanvas-2.so
> /usr/lib/libgnome-2.so /usr/lib/libbonobo-2.so
> /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so
> /usr/lib/libart_lgpl_2.so /usr/lib/libgconf-2.so
> /usr/lib/libgthread-2.0.so -lrt /usr/lib/libgtk-x11-2.0.so
> /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
> /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so
> /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so
> /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
> ../../lib/libqof/qof/.libs/libgnc-qof.so
> ../../src/engine/.libs/libgncmod-engine.so
> ../../src/gnome/.libs/libgnc-gnome.so
> ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
> ../../src/app-utils/.libs/libgncmod-app-utils.so
> ../../src/core-utils/.libs/libgnc-core-utils.so
> ../../src/gnc-module/.libs/libgnc-module.so /usr/lib/libpopt.so
> -lpthread -lm  -Wl,--rpath -Wl,/usr/local/lib/gnucash
> /usr/local/lib/gnucash/libgncmod-ledger-core.so: undefined reference to
> `gnc_split_value_print_info'
> collect2: ld returned 1 exit status
> make[4]: *** [gnucash-bin] Error 1
> make[4]: Leaving directory `/home/casey/downloads/gnucash/src/bin'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/casey/downloads/gnucash/src/bin'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/casey/downloads/gnucash/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/casey/downloads/gnucash'
> make: *** [all] Error 2
> casey at wizkid2:~/downloads/gnucash$
> 
> If you need anything else from me, please let me know.

That symbol is not present in the trunk anymore, assuming you are still
trying to compile from trunk.  For a clean start, I would propose to
completely remove your source checkout, your build tree if it differs
from your checkout and possibly also all files related to GnuCash
in /usr/local.  Then checkout trunk, run autogen.sh and ./configure
--prefix=<prefix>, where prefix is neither /usr nor /usr/local (which is
the default when no prefix has been provided), e. g. /opt/gnucash
or /home/$(whoami)/soft/gnucash, it is your choice.  You seem to have
conflicted with an earlier installation in /usr/local while linking
which made the build fail.

I hope that helps.

Ciao,
-- andi5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20081101/ab86e4e7/attachment.bin 


More information about the gnucash-devel mailing list