Problems building GNUCash 2.2.3

John M Collins jmc at xisl.com
Wed Feb 20 06:24:11 EST 2008


Please CC a reply to my email address jmc AT xisl DOT com as I am not
subscribed

I am trying to build GNUCash 2.2.3 on my Opteron machine which is
running Mandriva 2007.0

I hit some problems with it crashing on startup and searching your
archives I see you advised someone else to get newer versions slib and
guile, both of which I've done apparently without problems

The version of guile is 1.8.4

However when I build GNUCash 2.2.3 after updating slib and guile the
compilation aborts with:

gcc -I../.. -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
-I../../lib/libqof/qof -I../../lib/libqof/qof -DPKGSYSCONFDIR=
\"/usr/etc/gnucash\" -DPKGDATADIR=\"/usr/share/gnucash\" -DGNC_HELPDIR=
\"/usr/share\" -I../../src -I../../src -I../../src/core-utils
-I../../src/app-utils -I../../src/gnome-utils -I../../src/engine
-I../../src/gnome -I../../src/gnome-utils -I../../src/gnc-module
-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 -pthread
-Wl,--export-dynamic -pthread  /usr/lib64/libguile.so -lgmp
-lcrypt /usr/lib64/libltdl.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnome-keyring.so /usr/lib64/libxml2.so -lz /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libbonobo-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/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/lib64/libpopt.so -lpthread -lm  -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib/gnucash
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_i_deprecated_symbol_chars'
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_i_deprecated_string_chars'
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_i_freelist2'
../../src/app-utils/.libs/libgncmod-app-utils.so: undefined reference to
`scm_i_vectorp'
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_i_deprecated_string_length'
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_i_deprecated_stringp'
../../src/app-utils/.libs/libgncmod-app-utils.so: undefined reference to
`scm_i_object_length'
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_i_master_freelist2'
../../src/engine/.libs/libgncmod-engine.so: undefined reference to
`scm_is_bool'
collect2: ld returned 1 exit status
make[4]: *** [gnucash-bin] Error 1
make[4]: Leaving directory `/home/downloads/gnucash-2.2.3/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/downloads/gnucash-2.2.3/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/downloads/gnucash-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/gnucash-2.2.3'
make: *** [all] Error 2

As I don't know too much about scheme, to which the undefined symbols
all seem to relate, I'd be grateful if someone could point me in the
right direction - is it possibly one or more of the other libraries I
need to update? Mandriva are OK in some ways but I absolutely always hit
problems when I want a more up-to-date version of something than what
they supply.

Thanks for any help.

John Collins, Welwyn Garden City, UK

P.S. I also hit a problem building he pixmaps but I commented a bit out
of the Makefile in the pixmaps directory and it seemed OK after that.
The problem isn't there in GNUCash 2.2.2.




More information about the gnucash-devel mailing list