Hello Everyone,
im using ubuntu 8.1 i686 and im trying to compile gtk from the trunk…
is there a bug ? i get the following error message >>>>>>>>
someone else already had the same problem
http://developer.imendio.com/node/230
thx
Philipp Götzinger
_ATTRASGN -DHAVE_ST_H -DRUBY_GTK2_TARGET="x11"
-DHAVE_GTK_PLUG_GET_TYPE
-DHAVE_GTK_SOCKET_GET_TYPE -DHAVE_PANGO_RENDER_PART_GET_TYPE
-DHAVE_GTK_GTKFILESYSTEM_H -DHAVE_X11_XLIB_H -DHAVE_XREADBITMAPFILEDATA
-DHAVE_XGETERRORTEXT -DHAVE_GTK_UNIX_PRINT -DRUBY_GTK2_COMPILATION
-I/home/pgoetzin/.ruby/ruby-1.8.6/lib/ruby/site_ruby/1.8/x86_64-linux
-fPIC
-g -O2 -Wall -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-I/usr/include/gtk-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 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0
-I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -c rbgtkbox.c
gcc -I. -I/home/pgoetzin/trunk/pango/src
-I/home/pgoetzin/trunk/pango/src
-I/home/pgoetzin/trunk/glib/src -I/home/pgoetzin/trunk/glib/src -I.
-I/home/pgoetzin/.ruby/ruby-1.8.6/lib/ruby/1.8/x86_64-linux
-I/home/pgoetzin/trunk/gtk -DHAVE_RB_DEFINE_ALLOC_FUNC
-DHAVE_RB_BLOCK_PROC
-DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_ST_H
-DRUBY_GTK2_TARGET="x11" -DHAVE_GTK_PLUG_GET_TYPE
-DHAVE_GTK_SOCKET_GET_TYPE -DHAVE_PANGO_RENDER_PART_GET_TYPE
-DHAVE_GTK_GTKFILESYSTEM_H -DHAVE_X11_XLIB_H -DHAVE_XREADBITMAPFILEDATA
-DHAVE_XGETERRORTEXT -DHAVE_GTK_UNIX_PRINT -DRUBY_GTK2_COMPILATION
-I/home/pgoetzin/.ruby/ruby-1.8.6/lib/ruby/site_ruby/1.8/x86_64-linux
-fPIC
-g -O2 -Wall -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-I/usr/include/gtk-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 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0
-I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -c
rbgtkfilechooser.c
rbgtkfilechooser.c: In function ‘Init_gtk_file_chooser’:
rbgtkfilechooser.c:377: error: ‘GTK_FILE_SYSTEM_ERROR’ undeclared (first
use
in this function)
rbgtkfilechooser.c:377: error: (Each undeclared identifier is reported
only
once
rbgtkfilechooser.c:377: error: for each function it appears in.)
rbgtkfilechooser.c:380: error: ‘GTK_FILE_SYSTEM_ERROR_NONEXISTENT’
undeclared (first use in this function)
rbgtkfilechooser.c:382: error: ‘GTK_FILE_SYSTEM_ERROR_NOT_FOLDER’
undeclared
(first use in this function)
rbgtkfilechooser.c:384: error: ‘GTK_FILE_SYSTEM_ERROR_INVALID_URI’
undeclared (first use in this function)
rbgtkfilechooser.c:386: error: ‘GTK_FILE_SYSTEM_ERROR_BAD_FILENAME’
undeclared (first use in this function)
rbgtkfilechooser.c:388: error: ‘GTK_FILE_SYSTEM_ERROR_FAILED’ undeclared
(first use in this function)
rbgtkfilechooser.c:390: error: ‘GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS’
undeclared (first use in this function)
make[2]: *** [rbgtkfilechooser.o] Error 1
make[2]: Leaving directory /home/pgoetzin/trunk/gtk/src' make[1]: *** [all] Error 2 make[1]: Leaving directory
/home/pgoetzin/trunk/gtk’