Trouble compiling from SVN
Thomas Favier
tfavier at gmail.com
Tue Jan 24 04:39:11 EST 2006
Hi,
I'm trying to build GNUCash from
http://svn.gnucash.org/repo/gnucash/trunk r12965 on an Ubuntu 5.10.
running make from top level dir :
---------
[.............]
make[5]: Entering directory
`/disks/rootlv/home/tom/Projets/GNUCash/gnucash/src/gnome-utils'
source='dialog-account.c' object='dialog-account.lo' libtool=yes \
depfile='.deps/dialog-account.Plo' tmpdepfile='.deps/dialog-account.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../.. -I../.. -I../..
-DPREFIX=\"/home/tom/Projets/GNUCash/usr/\"
-DSYSCONFDIR=\"/home/tom/Projets/GNUCash/usr//etc/gnucash\"
-DDATADIR=\"/home/tom/Projets/GNUCash/usr//share/gnucash\"
-DLIBDIR=\"/home/tom/Projets/GNUCash/usr//lib/gnucash\"
-I../../src/core-utils -I../../src/gnc-module -I../../src/engine
-I../../src/backend/file -I../../src/network-utils
-I../../src/app-utils -I../../src -I../../lib/glib26 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/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/lib/glib-2.0/include
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/pango-1.0
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-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/lib/gnome-vfs-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0
-I/usr/lib/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/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/libxml2 -DORBIT2=1 -pthread
-I/usr/include/libgtkhtml-3.8 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libglade-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/lib/gnome-vfs-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0
-I/usr/lib/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/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I
/usr/include/g-wrap -I../../lib/libqof/qof -I/usr/include/libgoffice-1
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2
-I/usr/include/libart-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -c -o
dialog-account.lo `test -f 'dialog-account.c' || echo
'./'`dialog-account.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../..
-DPREFIX=\"/home/tom/Projets/GNUCash/usr/\"
-DSYSCONFDIR=\"/home/tom/Projets/GNUCash/usr//etc/gnucash\"
-DDATADIR=\"/home/tom/Projets/GNUCash/usr//share/gnucash\"
-DLIBDIR=\"/home/tom/Projets/GNUCash/usr//lib/gnucash\"
-I../../src/core-utils -I../../src/gnc-module -I../../src/engine
-I../../src/backend/file -I../../src/network-utils
-I../../src/app-utils -I../../src -I../../lib/glib26 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/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/lib/glib-2.0/include
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/pango-1.0
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-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/lib/gnome-vfs-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0
-I/usr/lib/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/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/libxml2 -DORBIT2=1 -pthread
-I/usr/include/libgtkhtml-3.8 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libglade-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/lib/gnome-vfs-2.0/include
-I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0
-I/usr/lib/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/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I
/usr/include/g-wrap -I../../lib/libqof/qof -I/usr/include/libgoffice-1
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2
-I/usr/include/libart-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -c dialog-account.c
-MT dialog-account.lo -MD -MP -MF .deps/dialog-account.TPlo -fPIC
-DPIC -o .libs/dialog-account.o
In file included from dialog-account.c:35:
dialog-utils.h:122: error: syntax error before '*' token
dialog-account.c: In function 'gnc_account_to_ui':
dialog-account.c:195: warning: implicit declaration of function
'gtk_option_menu_set_history'
dialog-account.c:195: warning: implicit declaration of function
'GTK_OPTION_MENU'
dialog-account.c: At top level:
dialog-account.c:538: error: syntax error before 'GtkCList'
dialog-account.c:538: warning: no semicolon at end of struct or union
dialog-account.c:540: error: syntax error before '}' token
dialog-account.c:540: warning: type defaults to 'int' in declaration
of 'FillStruct'
dialog-account.c:540: warning: data definition has no type or storage class
dialog-account.c: In function 'fill_helper':
dialog-account.c:546: error: 'fs' undeclared (first use in this function)
dialog-account.c:546: error: (Each undeclared identifier is reported only once
dialog-account.c:546: error: for each function it appears in.)
dialog-account.c:547: warning: ISO C90 forbids mixed declarations and code
dialog-account.c:579: warning: implicit declaration of function
'gtk_clist_append'
dialog-account.c: At top level:
dialog-account.c:590: error: syntax error before 'GtkCList'
dialog-account.c: In function 'fill_list':
dialog-account.c:593: error: syntax error before 'fs'
dialog-account.c:595: error: 'change' undeclared (first use in this function)
dialog-account.c:598: error: 'fs' undeclared (first use in this function)
dialog-account.c:598: error: 'account' undeclared (first use in this function)
dialog-account.c:599: error: 'list' undeclared (first use in this function)
dialog-account.c: In function 'extra_change_verify':
dialog-account.c:614: error: 'GtkCList' undeclared (first use in this function)
dialog-account.c:614: error: 'list' undeclared (first use in this function)
dialog-account.c:615: warning: ISO C90 forbids mixed declarations and code
dialog-account.c:632: warning: implicit declaration of function 'GTK_CLIST'
dialog-account.c:632: warning: implicit declaration of function
'gtk_clist_new_with_titles'
dialog-account.c:643: warning: implicit declaration of function
'gtk_clist_column_titles_passive'
dialog-account.c:644: warning: implicit declaration of function
'gtk_clist_set_sort_column'
dialog-account.c:645: warning: implicit declaration of function 'gtk_clist_sort'
dialog-account.c:646: warning: implicit declaration of function
'gtk_clist_columns_autosize'
dialog-account.c: At top level:
dialog-account.c:1082: error: syntax error before '*' token
dialog-account.c: In function 'gnc_type_list_select_cb':
dialog-account.c:1085: error: 'data' undeclared (first use in this function)
dialog-account.c:1091: warning: implicit declaration of function
'gtk_clist_get_selectable'
dialog-account.c:1091: error: 'type_list' undeclared (first use in
this function)
dialog-account.c:1091: error: 'row' undeclared (first use in this function)
dialog-account.c:1093: warning: implicit declaration of function
'gtk_clist_unselect_row'
dialog-account.c:1097: warning: implicit declaration of function
'gtk_clist_get_row_data'
dialog-account.c: At top level:
dialog-account.c:1118: error: syntax error before '*' token
dialog-account.c: In function 'gnc_type_list_unselect_cb':
dialog-account.c:1121: error: 'data' undeclared (first use in this function)
dialog-account.c: At top level:
dialog-account.c:1128: error: syntax error before '*' token
dialog-account.c: In function 'gnc_account_list_fill':
dialog-account.c:1133: warning: implicit declaration of function
'gtk_clist_freeze'
dialog-account.c:1133: error: 'type_list' undeclared (first use in
this function)
dialog-account.c:1134: warning: implicit declaration of function
'gtk_clist_clear'
dialog-account.c:1136: error: 'types' undeclared (first use in this function)
dialog-account.c:1142: warning: implicit declaration of function
'gtk_clist_set_row_data'
dialog-account.c:1155: warning: implicit declaration of function
'gtk_clist_thaw'
dialog-account.c: In function 'gnc_account_type_list_create':
dialog-account.c:1198: warning: implicit declaration of function
'gtk_clist_find_row_from_data'
dialog-account.c:1200: warning: implicit declaration of function
'gtk_clist_select_row'
dialog-account.c:1201: warning: implicit declaration of function
'gtk_clist_moveto'
make[5]: *** [dialog-account.lo] Error 1
make[5]: Leaving directory
`/disks/rootlv/home/tom/Projets/GNUCash/gnucash/src/gnome-utils'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/disks/rootlv/home/tom/Projets/GNUCash/gnucash/src/gnome-utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/disks/rootlv/home/tom/Projets/GNUCash/gnucash/src/gnome-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/disks/rootlv/home/tom/Projets/GNUCash/gnucash/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/disks/rootlv/home/tom/Projets/GNUCash/gnucash'
make: *** [all] Error 2
-----
It seems to me that gtkclist.h and gtkoptionmenu.h are not included or
something like that, but it seems really strange if so that i'm alone
with that problem...
Could someone tell me where to look for a solution ?
TIA
Thomas.
More information about the gnucash-devel
mailing list