Adam Jackson wrote:
On Wednesday 21 September 2005 06:51, Vitaliy A. Matuschenko wrote:
  
So i've decided to install libdrm manually. I've downloaded libdrm-1.0.3
but it also didn't want to install at any way.
    

If you'd tell me how it failed to install I'd get it fixed.

- ajax
  
while installing libdrm i've got mesages as file X11/Xlibint.h not found..
so i made symlink of /usr/X11R6/include/X11 to libdrm dir and successfully
installed it...
But even then Mesa didn't want to install. It asked me of locatoin of libdrm.pc.
So i added PKG_CONFIG_PATH /lib/pkgconfig to my env. I thought that it is the end, so i made make clean, make install and got once again a pack of errors, but without package libdrm not found (:


 make freebsd-dri-x86
(cd configs && rm -f current && ln -s freebsd-dri-x86 current)
make default
Making sources for freebsd-dri-x86
gmake[1]: Entering directory `/home/warchild/dri/Mesa/src/mesa'
gmake[2]: Entering directory `/home/warchild/dri/Mesa/src/mesa/x86'
gmake[2]:  Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/x86'
gmake[2]: Entering directory `/home/warchild/dri/Mesa/src/mesa/x86-64'
gmake[2]:  Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/x86-64'
cd drivers/dri ; gmake
gmake[2]: Entering directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri'
echo dri_client r300
dri_client r300
dri_client
gmake[3]: Entering directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri/dri_client'
gmake[3]:  Nothing to be done for `default'.
gmake[3]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri/dri_client'
r300
gmake[3]: Entering directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri/r300'
touch depend
makedepend -fdepend -DDRI_NEW_INTERFACE_ONLY  -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I/home/warchild/dri/r300_driver/drm/shared-core -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri  `pkg-config --cflags libdrm` ../../common/driverfuncs.c ../common/mm.c ../common/utils.c ../common/texmem.c ../common/vblank.c ../common/dri_util.c ../common/xmlconfig.c ../common/drirenderbuffer.c radeon_screen.c radeon_context.c radeon_ioctl.c radeon_lock.c radeon_span.c radeon_state.c r300_context.c r300_ioctl.c r300_cmdbuf.c r300_state.c r300_render.c r300_texmem.c r300_tex.c r300_texstate.c r300_texprog.c r300_vertexprog.c r300_fragprog.c r300_shader.c r300_maos.c   \
        > /dev/null
makedepend: warning:  ../common/utils.c (reading /home/warchild/dri/r300_driver/drm/shared-core/drm.h), line 184: # warning "__SIZE_TYPE__ not defined.  Assuming sizeof(size_t) == sizeof(unsigned long)!"
makedepend: warning:  ../common/xmlconfig.c, line 84: #        warning "Per application configuration won't work with your OS version."
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I/home/warchild/dri/r300_driver/drm/shared-core -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri  `pkg-config --cflags libdrm` -DDRI_NEW_INTERFACE_ONLY  -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -Wmissing-prototypes -g -std=c99  -Wundef -fPIC -ffast-math -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -DDRI_NEW_INTERFACE_ONLY  -DCOMPILE_R300 -DGLX_DIRECT_RENDERING ../common/utils.c -o ../common/utils.o
../common/utils.c:39: error: `driDispatchRemapTable_size' undeclared here (not in a function)
In file included from ../common/utils.c:198:
../common/extension_helper.h:4608: error: `SampleCoverageARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4608: error: initializer element is not constant
../common/extension_helper.h:4608: error: (near initialization for `GL_ARB_multisample_functions[0].remap_index')
../common/extension_helper.h:4608: error: initializer element is not constant
../common/extension_helper.h:4608: error: (near initialization for `GL_ARB_multisample_functions[0]')
../common/extension_helper.h:4609: error: initializer element is not constant
../common/extension_helper.h:4609: error: (near initialization for `GL_ARB_multisample_functions[1]')
../common/extension_helper.h:4695: error: `MultTransposeMatrixdARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4695: error: initializer element is not constant
../common/extension_helper.h:4695: error: (near initialization for `GL_ARB_transpose_matrix_functions[0].remap_index')
../common/extension_helper.h:4695: error: initializer element is not constant
../common/extension_helper.h:4695: error: (near initialization for `GL_ARB_transpose_matrix_functions[0]')
../common/extension_helper.h:4696: error: `LoadTransposeMatrixdARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4696: error: initializer element is not constant
../common/extension_helper.h:4696: error: (near initialization for `GL_ARB_transpose_matrix_functions[1].remap_index')
../common/extension_helper.h:4696: error: initializer element is not constant
../common/extension_helper.h:4696: error: (near initialization for `GL_ARB_transpose_matrix_functions[1]')
../common/extension_helper.h:4697: error: `MultTransposeMatrixfARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4697: error: initializer element is not constant
../common/extension_helper.h:4697: error: (near initialization for `GL_ARB_transpose_matrix_functions[2].remap_index')
../common/extension_helper.h:4697: error: initializer element is not constant
../common/extension_helper.h:4697: error: (near initialization for `GL_ARB_transpose_matrix_functions[2]')
../common/extension_helper.h:4698: error: `LoadTransposeMatrixfARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4698: error: initializer element is not constant
../common/extension_helper.h:4698: error: (near initialization for `GL_ARB_transpose_matrix_functions[3].remap_index')
../common/extension_helper.h:4698: error: initializer element is not constant
../common/extension_helper.h:4698: error: (near initialization for `GL_ARB_transpose_matrix_functions[3]')
../common/extension_helper.h:4699: error: initializer element is not constant
../common/extension_helper.h:4699: error: (near initialization for `GL_ARB_transpose_matrix_functions[4]')
../common/extension_helper.h:4815: error: `WindowPos3fMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4815: error: initializer element is not constant
../common/extension_helper.h:4815: error: (near initialization for `GL_ARB_window_pos_functions[0].remap_index')
../common/extension_helper.h:4815: error: initializer element is not constant
../common/extension_helper.h:4815: error: (near initialization for `GL_ARB_window_pos_functions[0]')
../common/extension_helper.h:4816: error: `WindowPos2dvMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4816: error: initializer element is not constant
../common/extension_helper.h:4816: error: (near initialization for `GL_ARB_window_pos_functions[1].remap_index')
../common/extension_helper.h:4816: error: initializer element is not constant
../common/extension_helper.h:4816: error: (near initialization for `GL_ARB_window_pos_functions[1]')
../common/extension_helper.h:4817: error: `WindowPos2svMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4817: error: initializer element is not constant
../common/extension_helper.h:4817: error: (near initialization for `GL_ARB_window_pos_functions[2].remap_index')
../common/extension_helper.h:4817: error: initializer element is not constant
../common/extension_helper.h:4817: error: (near initialization for `GL_ARB_window_pos_functions[2]')
../common/extension_helper.h:4818: error: `WindowPos3dMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4818: error: initializer element is not constant
../common/extension_helper.h:4818: error: (near initialization for `GL_ARB_window_pos_functions[3].remap_index')
../common/extension_helper.h:4818: error: initializer element is not constant
../common/extension_helper.h:4818: error: (near initialization for `GL_ARB_window_pos_functions[3]')
../common/extension_helper.h:4819: error: `WindowPos2fvMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4819: error: initializer element is not constant
../common/extension_helper.h:4819: error: (near initialization for `GL_ARB_window_pos_functions[4].remap_index')
../common/extension_helper.h:4819: error: initializer element is not constant
../common/extension_helper.h:4819: error: (near initialization for `GL_ARB_window_pos_functions[4]')
../common/extension_helper.h:4820: error: `WindowPos2dMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4820: error: initializer element is not constant
../common/extension_helper.h:4820: error: (near initialization for `GL_ARB_window_pos_functions[5].remap_index')
../common/extension_helper.h:4820: error: initializer element is not constant
../common/extension_helper.h:4820: error: (near initialization for `GL_ARB_window_pos_functions[5]')
../common/extension_helper.h:4821: error: `WindowPos3dvMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4821: error: initializer element is not constant
../common/extension_helper.h:4821: error: (near initialization for `GL_ARB_window_pos_functions[6].remap_index')
../common/extension_helper.h:4821: error: initializer element is not constant
../common/extension_helper.h:4821: error: (near initialization for `GL_ARB_window_pos_functions[6]')
../common/extension_helper.h:4822: error: `WindowPos3fvMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4822: error: initializer element is not constant
../common/extension_helper.h:4822: error: (near initialization for `GL_ARB_window_pos_functions[7].remap_index')
../common/extension_helper.h:4822: error: initializer element is not constant
../common/extension_helper.h:4822: error: (near initialization for `GL_ARB_window_pos_functions[7]')
../common/extension_helper.h:4823: error: `WindowPos2iMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4823: error: initializer element is not constant
../common/extension_helper.h:4823: error: (near initialization for `GL_ARB_window_pos_functions[8].remap_index')
../common/extension_helper.h:4823: error: initializer element is not constant
../common/extension_helper.h:4823: error: (near initialization for `GL_ARB_window_pos_functions[8]')
../common/extension_helper.h:4824: error: `WindowPos3sMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4824: error: initializer element is not constant
../common/extension_helper.h:4824: error: (near initialization for `GL_ARB_window_pos_functions[9].remap_index')
../common/extension_helper.h:4824: error: initializer element is not constant
../common/extension_helper.h:4824: error: (near initialization for `GL_ARB_window_pos_functions[9]')
../common/extension_helper.h:4825: error: `WindowPos2ivMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4825: error: initializer element is not constant
../common/extension_helper.h:4825: error: (near initialization for `GL_ARB_window_pos_functions[10].remap_index')
../common/extension_helper.h:4825: error: initializer element is not constant
../common/extension_helper.h:4825: error: (near initialization for `GL_ARB_window_pos_functions[10]')
../common/extension_helper.h:4826: error: `WindowPos2sMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4826: error: initializer element is not constant
../common/extension_helper.h:4826: error: (near initialization for `GL_ARB_window_pos_functions[11].remap_index')
../common/extension_helper.h:4826: error: initializer element is not constant
../common/extension_helper.h:4826: error: (near initialization for `GL_ARB_window_pos_functions[11]')
../common/extension_helper.h:4827: error: `WindowPos3iMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4827: error: initializer element is not constant
../common/extension_helper.h:4827: error: (near initialization for `GL_ARB_window_pos_functions[12].remap_index')
../common/extension_helper.h:4827: error: initializer element is not constant
../common/extension_helper.h:4827: error: (near initialization for `GL_ARB_window_pos_functions[12]')
../common/extension_helper.h:4828: error: `WindowPos3ivMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4828: error: initializer element is not constant
../common/extension_helper.h:4828: error: (near initialization for `GL_ARB_window_pos_functions[13].remap_index')
../common/extension_helper.h:4828: error: initializer element is not constant
../common/extension_helper.h:4828: error: (near initialization for `GL_ARB_window_pos_functions[13]')
../common/extension_helper.h:4829: error: `WindowPos3svMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4829: error: initializer element is not constant
../common/extension_helper.h:4829: error: (near initialization for `GL_ARB_window_pos_functions[14].remap_index')
../common/extension_helper.h:4829: error: initializer element is not constant
../common/extension_helper.h:4829: error: (near initialization for `GL_ARB_window_pos_functions[14]')
../common/extension_helper.h:4830: error: `WindowPos2fMESA_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4830: error: initializer element is not constant
../common/extension_helper.h:4830: error: (near initialization for `GL_ARB_window_pos_functions[15].remap_index')
../common/extension_helper.h:4830: error: initializer element is not constant
../common/extension_helper.h:4830: error: (near initialization for `GL_ARB_window_pos_functions[15]')
../common/extension_helper.h:4831: error: initializer element is not constant
../common/extension_helper.h:4831: error: (near initialization for `GL_ARB_window_pos_functions[16]')
../common/extension_helper.h:4885: error: `BlendFuncSeparateEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4885: error: initializer element is not constant
../common/extension_helper.h:4885: error: (near initialization for `GL_EXT_blend_func_separate_functions[0].remap_index')
../common/extension_helper.h:4885: error: initializer element is not constant
../common/extension_helper.h:4885: error: (near initialization for `GL_EXT_blend_func_separate_functions[0]')
../common/extension_helper.h:4886: error: initializer element is not constant
../common/extension_helper.h:4886: error: (near initialization for `GL_EXT_blend_func_separate_functions[1]')
../common/extension_helper.h:4907: error: `UnlockArraysEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4907: error: initializer element is not constant
../common/extension_helper.h:4907: error: (near initialization for `GL_EXT_compiled_vertex_array_functions[0].remap_index')
../common/extension_helper.h:4907: error: initializer element is not constant
../common/extension_helper.h:4907: error: (near initialization for `GL_EXT_compiled_vertex_array_functions[0]')
../common/extension_helper.h:4908: error: `LockArraysEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4908: error: initializer element is not constant
../common/extension_helper.h:4908: error: (near initialization for `GL_EXT_compiled_vertex_array_functions[1].remap_index')
../common/extension_helper.h:4908: error: initializer element is not constant
../common/extension_helper.h:4908: error: (near initialization for `GL_EXT_compiled_vertex_array_functions[1]')
../common/extension_helper.h:4909: error: initializer element is not constant
../common/extension_helper.h:4909: error: (near initialization for `GL_EXT_compiled_vertex_array_functions[2]')
../common/extension_helper.h:5112: error: `PolygonOffsetEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:5112: error: initializer element is not constant
../common/extension_helper.h:5112: error: (near initialization for `GL_EXT_polygon_offset_functions[0].remap_index')
../common/extension_helper.h:5112: error: initializer element is not constant
../common/extension_helper.h:5112: error: (near initialization for `GL_EXT_polygon_offset_functions[0]')
../common/extension_helper.h:5113: error: initializer element is not constant
../common/extension_helper.h:5113: error: (near initialization for `GL_EXT_polygon_offset_functions[1]')
../common/extension_helper.h:5167: error: `GenTexturesEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:5167: error: initializer element is not constant
../common/extension_helper.h:5167: error: (near initialization for `GL_EXT_texture_object_functions[2].remap_index')
../common/extension_helper.h:5167: error: initializer element is not constant
../common/extension_helper.h:5167: error: (near initialization for `GL_EXT_texture_object_functions[2]')
../common/extension_helper.h:5168: error: `AreTexturesResidentEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:5168: error: initializer element is not constant
../common/extension_helper.h:5168: error: (near initialization for `GL_EXT_texture_object_functions[3].remap_index')
../common/extension_helper.h:5168: error: initializer element is not constant
../common/extension_helper.h:5168: error: (near initialization for `GL_EXT_texture_object_functions[3]')
../common/extension_helper.h:5169: error: initializer element is not constant
../common/extension_helper.h:5169: error: (near initialization for `GL_EXT_texture_object_functions[4]')
../common/extension_helper.h:5170: error: `IsTextureEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:5170: error: initializer element is not constant
../common/extension_helper.h:5170: error: (near initialization for `GL_EXT_texture_object_functions[5].remap_index')
../common/extension_helper.h:5170: error: initializer element is not constant
../common/extension_helper.h:5170: error: (near initialization for `GL_EXT_texture_object_functions[5]')
../common/extension_helper.h:5171: error: initializer element is not constant
../common/extension_helper.h:5171: error: (near initialization for `GL_EXT_texture_object_functions[6]')
../common/extension_helper.h:5184: error: `IndexPointerEXT_remap_index' undeclared here (not in a function)
../common/extension_helper.h:5184: error: initializer element is not constant
../common/extension_helper.h:5184: error: (near initialization for `GL_EXT_vertex_array_functions[0].remap_index')
../common/extension_helper.h:5184: error: initializer element is not constant
../common/extension_helper.h:5184: error: (near initialization for `GL_EXT_vertex_array_functions[0]')

........................
../common/extension_helper.h:5442: error: initializer element is not constant
../common/extension_helper.h:5442: error: (near initialization for `GL_NV_vertex_program_functions[63]')
../common/extension_helper.h:5443: error: initializer element is not constant
../common/extension_helper.h:5443: error: (near initialization for `GL_NV_vertex_program_functions[64]')
../common/utils.c:39: error: storage size of `driDispatchRemapTable' isn't known
gmake[3]: *** [../common/utils.o]  Error 1
gmake[3]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri/r300'
gmake[2]: *** [subdirs]  Error 1
gmake[2]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri'
gmake[1]: *** [linux-solo]  Error 2
gmake[1]: Leaving directory `/home/warchild/dri/Mesa/src/mesa'
gmake: *** [default]  Error 2
*** Error code 1

Stop in /home/warchild/dri/Mesa/src.
*** Error code 1

Stop in /home/warchild/dri/Mesa.
*** Error code 1

Stop in /home/warchild/dri/Mesa.


So i don't  know what to do now

Reply via email to