# HEAD doesn't build

**URL:** <https://www.ruby-forum.com/t/head-doesnt-build/108636>\
**Category:** Ruby-Gnome 2\
**Created:** [July 5, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/head-doesnt-build/108636 "2007-07-05T15:07:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [July 5, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/head-doesnt-build/108636/1 "2007-07-05T15:07:17Z")

</div>

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/](http://zarb.org/~gc/)

* * *

This [SF.net](http://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/](http://sourceforge.net/powerbar/db2/)

---

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [July 6, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/head-doesnt-build/108636/2 "2007-07-06T13:39:23Z")

</div>

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](mailto: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](http://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/](http://sourceforge.net/powerbar/db2/)
