Skip to content

Instantly share code, notes, and snippets.

@astropanic
Created December 25, 2011 12:53
Show Gist options
  • Save astropanic/1519209 to your computer and use it in GitHub Desktop.
Save astropanic/1519209 to your computer and use it in GitHub Desktop.
gem install ray
Building native extensions. This could take a while...
ERROR: Error installing ray:
ERROR: Failed to build gem native extension.
/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for GL/glxext.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for main() in -lXrandr... yes
checking for main() in -lX11... yes
checking for main() in -lGL... yes
checking for main() in -lGLEW... yes
checking for main() in -lopenal... yes
checking for main() in -lsndfile... yes
creating Makefile
make
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o say_image_target.o -c say_image_target.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o say_index_buffer_slice.o -c say_index_buffer_slice.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o event.o -c event.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o say_image.o -c say_image.c
In file included from say_image.c:3:
stb_image.h: In function ‘bmp_load’:
stb_image.h:3366: warning: signed and unsigned type in conditional expression
In file included from say_image.c:6:
stb_image_write.h: In function ‘stbi_zlib_compress’:
stb_image_write.h:204: warning: dereferencing pointer ‘out.390’ does break strict-aliasing rules
stb_image_write.h:276: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘out.390’ does break strict-aliasing rules
stb_image_write.h:277: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘data.385’ does break strict-aliasing rules
stb_image_write.h:213: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘out.390’ does break strict-aliasing rules
stb_image_write.h:356: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘out.390’ does break strict-aliasing rules
stb_image_write.h:357: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘out.390’ does break strict-aliasing rules
stb_image_write.h:358: note: initialized from here
stb_image_write.h:204: warning: dereferencing pointer ‘out.390’ does break strict-aliasing rules
stb_image_write.h:359: note: initialized from here
In file included from say_image.c:3:
stb_image.h: In function ‘pic_load’:
stb_image.h:4091: warning: ‘value’ may be used uninitialized in this function
stb_image.h:4091: note: ‘value’ was declared here
stb_image.h:4115: warning: ‘value’ may be used uninitialized in this function
stb_image.h:4115: note: ‘value’ was declared here
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o mo.o -c mo.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o utils.o -c utils.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o say_shader.o -c say_shader.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o say_pixel_bus.o -c say_pixel_bus.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o image.o -c image.c
image.c: In function ‘ray_image_assert_pos’:
image.c:161: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘size_t’
image.c:161: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’
image.c:165: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘size_t’
image.c:165: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o ray.o -c ray.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o say_audio_source.o -c say_audio_source.c
gcc -I. -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/wojciech/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -DHAVE_GL_GLXEXT_H -DHAVE_X11_EXTENSIONS_XRANDR_H -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wextra -Wall -Wno-unused-parameter -std=gnu99 -I/usr/include/freetype2 -DSAY_X11 -o gl.o -c gl.c
gl.c: In function ‘ray_gl_debug_proc’:
gl.c:217: error: ‘GL_DEBUG_SOURCE_API_ARB’ undeclared (first use in this function)
gl.c:217: error: (Each undeclared identifier is reported only once
gl.c:217: error: for each function it appears in.)
gl.c:219: error: ‘GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB’ undeclared (first use in this function)
gl.c:221: error: ‘GL_DEBUG_SOURCE_SHADER_COMPILER_ARB’ undeclared (first use in this function)
gl.c:223: error: ‘GL_DEBUG_SOURCE_THIRD_PARTY_ARB’ undeclared (first use in this function)
gl.c:225: error: ‘GL_DEBUG_SOURCE_APPLICATION_ARB’ undeclared (first use in this function)
gl.c:233: error: ‘GL_DEBUG_TYPE_ERROR_ARB’ undeclared (first use in this function)
gl.c:235: error: ‘GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB’ undeclared (first use in this function)
gl.c:237: error: ‘GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB’ undeclared (first use in this function)
gl.c:239: error: ‘GL_DEBUG_TYPE_PORTABILITY_ARB’ undeclared (first use in this function)
gl.c:241: error: ‘GL_DEBUG_TYPE_PERFORMANCE_ARB’ undeclared (first use in this function)
gl.c:251: error: ‘GL_DEBUG_SEVERITY_HIGH_ARB’ undeclared (first use in this function)
gl.c:253: error: ‘GL_DEBUG_SEVERITY_MEDIUM_ARB’ undeclared (first use in this function)
gl.c: In function ‘ray_gl_has_callback’:
gl.c:270: error: ‘glDebugMessageCallbackARB’ undeclared (first use in this function)
gl.c: In function ‘ray_gl_set_callback’:
gl.c:305: error: ‘glDebugMessageCallbackARB’ undeclared (first use in this function)
gl.c:310: warning: implicit declaration of function ‘glDebugMessageCallbackARB’
make: *** [gl.o] Error 1
Gem files will remain installed in /home/wojciech/.rvm/gems/ruby-1.9.2-p290/gems/ray-0.2.0 for inspection.
Results logged to /home/wojciech/.rvm/gems/ruby-1.9.2-p290/gems/ray-0.2.0/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment