[Gauche-devel-jp] Vine Linux 3.0/XOrg-0.6.7での Gachue-gl

アーカイブの一覧に戻る

えんどう yasuy****@javao*****
2004年 10月 5日 (火) 15:19:29 JST


えんどうです。

表題の環境で Gauche-0.8.1/Gauche-gl-0.3.2_pre1 をビルドしてみました。

以下のエラーで Gauche-gl のビルドができませんでした。
glxinfoの結果とXOrg-gl-devel の一覧を末尾に引用します。

XOrg は XFree86 とかなり違うんでしょうか...

cd src; make all
make[1]: ディレクトリ `/home/yasuyuki/src/Gauche-gl-0.3.2_pre1/src' に入ります
gcc -DPACKAGE_NAME=\"Gauche-gl\" -DPACKAGE_TARNAME=\"gauche-gl\" -DPACKAGE_VERSION=\"0.3.2_pre1\" -DPACKAGE_STRING=\"Gauche-gl\ 0.3.2_pre1\" -DPACKAGE_BUGREPORT=\"shiro****@acm*****\" -DGAUCHE_VERSION=\"0.
8.1\" -DHAVE_GL_GLEXT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_GL_GLX_H=1  -g -O2 -I/usr/local/lib/gauche/0.8.1/include   -I/usr/X11R6/include  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH   -c -o glext-lib.o glext-lib.c
glext-lib.c: 関数 `get_object_parameter_num_values' 内:
glext-lib.c:1781: error: `GL_OBJECT_TYPE_ARB' undeclared (first use in this function)
glext-lib.c:1781: error: (Each undeclared identifier is reported only once
glext-lib.c:1781: error: for each function it appears in.)
glext-lib.c:1782: error: `GL_OBJECT_SUBTYPE_ARB' undeclared (first use in this function)
glext-lib.c:1783: error: `GL_OBJECT_DELETE_STATUS_ARB' undeclared (first use in this function)
glext-lib.c:1784: error: `GL_OBJECT_COMPILE_STATUS_ARB' undeclared (first use in this function)
glext-lib.c:1785: error: `GL_OBJECT_LINK_STATUS_ARB' undeclared (first use in this function)
glext-lib.c:1786: error: `GL_OBJECT_VALIDATE_STATUS_ARB' undeclared (first use in this function)
glext-lib.c:1787: error: `GL_OBJECT_INFO_LOG_LENGTH_ARB' undeclared (first use in this function)
glext-lib.c:1788: error: `GL_OBJECT_ATTACHED_OBJECTS_ARB' undeclared (first use in this function)
glext-lib.c:1789: error: `GL_OBJECT_ACTIVE_ATTRIBUTES_ARB' undeclared (first use in this function)
glext-lib.c:1790: error: `GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB' undeclared (first use in this function)
glext-lib.c:1791: error: `GL_OBJECT_ACTIVE_UNIFORMS_ARB' undeclared (first use in this function)
glext-lib.c:1792: error: `GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB' undeclared (first use in this function)
glext-lib.c:1793: error: `GL_OBJECT_SHADER_SOURCE_LENGTH_ARB' undeclared (first use in this function)
glext-lib.c: 関数 `Scm_Init_glext_lib' 内:
glext-lib.c:7706: error: `GL_MODELVIEW_MATRIX1_EXT' undeclared (first use in this function)
glext-lib.c:8026: error: `GL_OPERAND7_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8030: error: `GL_OPERAND6_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8034: error: `GL_OPERAND5_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8038: error: `GL_OPERAND4_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8042: error: `GL_OPERAND3_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8058: error: `GL_OPERAND7_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8062: error: `GL_OPERAND6_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8066: error: `GL_OPERAND5_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8070: error: `GL_OPERAND4_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8074: error: `GL_OPERAND3_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8090: error: `GL_SOURCE7_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8094: error: `GL_SOURCE6_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8098: error: `GL_SOURCE5_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8102: error: `GL_SOURCE4_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8106: error: `GL_SOURCE3_ALPHA_EXT' undeclared (first use in this function)
glext-lib.c:8122: error: `GL_SOURCE7_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8126: error: `GL_SOURCE6_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8130: error: `GL_SOURCE5_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8134: error: `GL_SOURCE4_RGB_EXT' undeclared (first use in this function)
glext-lib.c:8138: error: `GL_SOURCE3_RGB_EXT' undeclared (first use in this function)
glext-lib.c:10143: error: `GL_TEXTURE_IMAGE_SIZE_ARB' undeclared (first use in this function)
glext-lib.c:10688: error: `WGL_SAMPLES_ARB' undeclared (first use in this function)
glext-lib.c:10692: error: `WGL_SAMPLE_BUFFERS_ARB' undeclared (first use in this function)
make[1]: *** [glext-lib.o] エラー 1
make[1]: ディレクトリ `/home/yasuyuki/src/Gauche-gl-0.3.2_pre1/src' から出ます
make: *** [all] エラー 2

[glxinfoの結果]

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_ARB_multisample, GLX_NV_float_buffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
    GLX_NV_swap_group, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_NV_float_buffer
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5200/AGP/SSE
OpenGL version string: 1.5.1 NVIDIA 61.11
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_imaging, 
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
    GL_ARB_shader_objects, GL_ARB_shading_language_100, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, 
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_window_pos, GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, 
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, 
    GL_EXT_Cg_shader, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_paletted_texture, 
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, 
    GL_EXT_shared_texture_palette, GL_EXT_stencil_two_side, 
    GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc, 
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array, 
    GL_HP_occlusion_test, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square, 
    GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence, 
    GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_program, 
    GL_NV_fragment_program_option, GL_NV_half_float, GL_NV_light_max_exponent, 
    GL_NV_multisample_filter_hint, GL_NV_occlusion_query, 
    GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite, 
    GL_NV_primitive_restart, GL_NV_register_combiners, 
    GL_NV_register_combiners2, GL_NV_texgen_reflection, 
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4, 
    GL_NV_texture_expand_normal, GL_NV_texture_rectangle, 
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, 
    GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program, 
    GL_NV_vertex_program1_1, GL_NV_vertex_program2, 
    GL_NV_vertex_program2_option, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
    GL_SUN_slice_accum
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

(以下略)

[XOrg-gl-develの一覧]

$ rpm -ql XOrg-gl-devel
/usr/X11R6/lib/libGL.a
/usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGLU.a
/usr/X11R6/lib/libGLU.so
/usr/X11R6/lib/libGLw.a
/usr/X11R6/lib/libGLw.so
/usr/X11R6/lib/libOSMesa.a
/usr/X11R6/lib/libOSMesa.so
/usr/include/GL
/usr/include/GL/GLwDrawA.h
/usr/include/GL/GLwDrawAP.h
/usr/include/GL/GLwMDrawA.h
/usr/include/GL/GLwMDrawAP.h
/usr/include/GL/gl.h
/usr/include/GL/glext.h
/usr/include/GL/glu.h
/usr/include/GL/glx.h
/usr/include/GL/glxext.h
/usr/include/GL/glxint.h
/usr/include/GL/glxmd.h
/usr/include/GL/glxproto.h
/usr/include/GL/glxtokens.h
/usr/include/GL/osmesa.h
/usr/lib/libGL.so
/usr/lib/libGLU.so

-- 
ENDO Yasuyuki <yasuy****@javao*****>
http://www.javaopen.org/~yasuyuki/ (Personal/Japanese Only)
http://www.javaopen.org/jfriends/ (Japanese Only)




Gauche-devel-jp メーリングリストの案内
アーカイブの一覧に戻る