Created
January 6, 2012 23:53
-
-
Save PragTob/1573067 to your computer and use it in GitHub Desktop.
Shoes moving C to ruby branch failing on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/tobi/github/shoes/Rakefile:63: Use RbConfig instead of obsolete and deprecated Config. | |
gcc -I. -c -o shoes/effects.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/effects.c | |
gcc -I. -c -o shoes/ruby.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/ruby.c | |
shoes/ruby.c: In function ‘shoes_image_get_pixel’: | |
shoes/ruby.c:1213:5: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘unsigned char *’ | |
shoes/ruby.c: In function ‘shoes_pattern_gradient’: | |
shoes/ruby.c:1474:3: warning: implicit declaration of function ‘shoes_color_grad_stop’ | |
shoes/ruby.c: At top level: | |
shoes/ruby.c:1686:1: warning: conflicting types for ‘shoes_color_grad_stop’ | |
shoes/ruby.c:1474:3: note: previous implicit declaration of ‘shoes_color_grad_stop’ was here | |
shoes/ruby.c: In function ‘shoes_color_method_missing’: | |
shoes/ruby.c:1716:15: warning: assignment makes pointer from integer without a cast | |
shoes/ruby.c:1717:15: warning: assignment makes pointer from integer without a cast | |
shoes/ruby.c:1718:15: warning: assignment makes pointer from integer without a cast | |
shoes/ruby.c:1719:15: warning: assignment makes pointer from integer without a cast | |
shoes/ruby.c:1720:5: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘VALUE **’ | |
shoes/ruby.c: In function ‘shoes_http_threaded’: | |
shoes/ruby.c:3831:5: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘VALUE’ | |
shoes/ruby.c:3831:5: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘VALUE’ | |
shoes/ruby.c:3831:5: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘VALUE’ | |
shoes/ruby.c:3831:5: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘VALUE’ | |
gcc -I. -c -o shoes/image.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/image.c | |
gcc -I. -c -o shoes/app.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/app.c | |
gcc -I. -c -o shoes/world.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/world.c | |
shoes/world.c: In function ‘shoes_ruby_embed’: | |
shoes/world.c:92:11: warning: unused variable ‘sysinit_argv’ | |
gcc -I. -c -o shoes/canvas.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/canvas.c | |
shoes/canvas.c: In function ‘shoes_canvas_clear’: | |
shoes/canvas.c:362:13: warning: assignment makes pointer from integer without a cast | |
shoes/canvas.c:363:3: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘VALUE **’ | |
shoes/canvas.c:364:3: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘VALUE **’ | |
shoes/canvas.c: In function ‘shoes_canvas_shape’: | |
shoes/canvas.c:808:3: warning: implicit declaration of function ‘round’ | |
shoes/canvas.c:808:7: warning: incompatible implicit declaration of built-in function ‘round’ | |
shoes/canvas.c: In function ‘shoes_canvas_snapshot’: | |
shoes/canvas.c:1422:17: warning: unused variable ‘waz_cr’ | |
gcc -I. -c -o shoes/internal.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/internal.c | |
gcc -I. -c -o shoes/native/gtk.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/native/gtk.c | |
shoes/native/gtk.c: In function ‘shoes_app_g_poll’: | |
shoes/native/gtk.c:474:3: warning: ‘rb_thread_select’ is deprecated (declared at /home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:379) | |
shoes/native/gtk.c: In function ‘shoes_native_window_color’: | |
shoes/native/gtk.c:1094:15: error: ‘_color’ undeclared (first use in this function) | |
shoes/native/gtk.c:1094:15: note: each undeclared identifier is reported only once for each function it appears in | |
shoes/native/gtk.c:1097:13: warning: assignment makes pointer from integer without a cast | |
shoes/native/gtk.c:1098:43: error: ‘cColor’ undeclared (first use in this function) | |
shoes/native/gtk.c:1098:3: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘VALUE **’ | |
shoes/native/gtk.c:1092:12: warning: unused variable ‘bg’ | |
shoes/native/gtk.c: In function ‘shoes_native_dialog_color’: | |
shoes/native/gtk.c:1107:15: error: ‘_color’ undeclared (first use in this function) | |
shoes/native/gtk.c:1110:13: warning: assignment makes pointer from integer without a cast | |
shoes/native/gtk.c:1111:43: error: ‘cColor’ undeclared (first use in this function) | |
shoes/native/gtk.c:1111:3: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘VALUE **’ | |
shoes/native/gtk.c:1105:12: warning: unused variable ‘bg’ | |
shoes/native/gtk.c: In function ‘shoes_dialog_color’: | |
shoes/native/gtk.c:1192:15: warning: assignment makes pointer from integer without a cast | |
shoes/native/gtk.c:1193:15: warning: assignment makes pointer from integer without a cast | |
shoes/native/gtk.c:1194:15: warning: assignment makes pointer from integer without a cast | |
shoes/native/gtk.c:1195:15: warning: assignment makes pointer from integer without a cast | |
shoes/native/gtk.c:1196:46: error: ‘cColor’ undeclared (first use in this function) | |
shoes/native/gtk.c:1196:5: warning: passing argument 2 of ‘rb_class_new_instance’ from incompatible pointer type | |
/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/intern.h:342:7: note: expected ‘VALUE *’ but argument is of type ‘VALUE **’ | |
shoes/native/gtk.c: In function ‘shoes_native_dialog_color’: | |
shoes/native/gtk.c:1112:1: warning: control reaches end of non-void function | |
shoes/native/gtk.c: In function ‘shoes_native_window_color’: | |
shoes/native/gtk.c:1099:1: warning: control reaches end of non-void function | |
rake aborted! | |
Command failed with status (1): [gcc -I. -c -o shoes/native/gtk.o -Wall -I/...] | |
Tasks: TOP => default => build => linux:build => old_build => build_os => dist/shoes => dist/libshoes.so => shoes/native/gtk.o | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment