Found another compile bug.

Andreas Köhler at
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/
> /usr/lib/ /usr/lib/ -lcrypt
> /usr/lib/ -lSM -lICE /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ -lrt /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/
> /usr/lib/ /usr/lib/ /usr/lib/
> /usr/lib/ -ldl /usr/lib/
> ../../lib/libqof/qof/.libs/
> ../../src/engine/.libs/
> ../../src/gnome/.libs/
> ../../src/gnome-utils/.libs/
> ../../src/app-utils/.libs/
> ../../src/core-utils/.libs/
> ../../src/gnc-module/.libs/ /usr/lib/
> -lpthread -lm  -Wl,--rpath -Wl,/usr/local/lib/gnucash
> /usr/local/lib/gnucash/ 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 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.

-- 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 : 

More information about the gnucash-devel mailing list