Forum: Ruby-Gnome 2 HEAD doesn't build

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Guillaume C. (Guest)
on 2007-07-05 17:07
(Received via mailing list)
I think it might be related to your recent commits but I am not sure.

gcc -I. -I. -I/usr/lib/ruby/1.8/i586-linux-gnu -I.././glib
-DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC
-DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT
-DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE
-DRUBY_GLIB2_COMPILATION  -I/usr/lib/ruby/site_ruby/1.8/i586-linux-gnu
 -fPIC -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions  -march=i586
-mtune=generic -fasynchronous-unwind-tables  -fPIC -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -c
rbgobj_boxed.c
rbgobj_boxed.c: In function 'rbgobj_boxed_get':
rbgobj_boxed.c:138: error: argument 'gtype' doesn't match prototype
rbgobject.h:196: error: prototype declaration
make[2]: *** [rbgobj_boxed.o] Error 1

(...)

gcc -I. -I/home/gc/ruby-gnome2/ruby-gnome2/pango/src
-I/home/gc/ruby-gnome2/ruby-gnome2/glib/src -I.
-I/usr/lib/ruby/1.8/i586-linux-gnu -I.././gtk
-DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC
-DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DRUBY_GTK2_TARGET=\"x11\"
-DHAVE_GTK_PLUG_GET_TYPE -DHAVE_GTK_SOCKET_GET_TYPE
-DHAVE_PANGO_RENDER_PART_GET_TYPE -DHAVE_XREADBITMAPFILEDATA
-DHAVE_X11_XLIB_H -DHAVE_XGETERRORTEXT
-DHAVE_GTK_PRINT_UNIX_DIALOG_GET_TYPE -DHAVE_GTK_PRINT_JOB_GET_TYPE
-DHAVE_GTK_PRINTER_GET_TYPE -DRUBY_GTK2_COMPILATION
-I/usr/lib/ruby/site_ruby/1.8/i586-linux-gnu  -fPIC -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions  -march=i586 -mtune=generic
-fasynchronous-unwind-tables  -fPIC -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/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/lib/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/libpng12    -c rbgtktreeiter.c
rbgtktreeiter.c: In function 'rbgtk_register_treeiter_set_value_func':
rbgtktreeiter.c:23: error: argument 'gtype' doesn't match prototype
rbgtk.h:118: error: prototype declaration
make[2]: *** [rbgtktreeiter.o] Error 1


--
Guillaume C. - http://zarb.org/~gc/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Masahiro S. (Guest)
on 2007-07-06 15:39
(Received via mailing list)
Hi,

Thank you for reporting.
I've commited a fix to CVS and now HEAD should build.

From: "Guillaume C." <removed_email_address@domain.invalid>
Date: Thu, 5 Jul 2007 15:06:38 +0200

> I think it might be related to your recent commits but I am not sure.

I didn't notice the problem since it does not reproduce in my
environment.  But the bug itself was created long before my recent
commit.

-- Masahiro S.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
This topic is locked and can not be replied to.