Hello,
I have it finally compiled clean but no new tdfx_dri.so driver would be
generated.
Without it I get this:
SunWave1#./glinfo
GL_VERSION: 1.2 Mesa 3.5 beta
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_texture_border_clamp
GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3 GL_ARB_transpose_matrix GL_EXT_abgr
GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract
GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_lod_bias
GL_RENDERER: Mesa GLX Indirect
GL_VENDOR: VA Linux Systems, Inc.
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess
GLUT_API_VERSION: 3
GLUT_XLIB_IMPLEMENTATION: 15
*******************************************************************************
with /usr/X11R6/lib/modules/dri/tdfx_dri.so (same as with trunk)
SunWave1#./glinfo
GL_VERSION: 1.2 Mesa 3.4.2
GL_EXTENSIONS: GL_ARB_multitexture GL_ARB_transpose_matrix GL_EXT_abgr
GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_histogram
GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_polygon_offset
GL_EXT_rescale_normal GL_EXT_stencil_wrap GL_EXT_texture3D
GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_object
GL_EXT_texture_lod_bias GL_EXT_vertex_array GL_HP_occlusion_test
GL_MESA_window_pos GL_MESA_resize_buffers GL_NV_texgen_reflection
GL_PGI_misc_hints GL_SGI_color_matrix GL_SGI_color_table
GL_SGIS_pixel_texture GL_SGIS_texture_edge_clamp GL_SGIX_pixel_texture
GL_RENDERER: Mesa DRI Voodoo4 20010501 x86/MMX/3DNow!
GL_VENDOR: VA Linux Systems, Inc.
GLU_VERSION: 1.3
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess
GLUT_API_VERSION: 3
GLUT_XLIB_IMPLEMENTATION: 15
After that I've played a little bit with host.cf and changed the below:
#define GlxBuiltInTdfx YES
#define DoLoadableServer NO
Now, compilation stops at tdfx_tris.c:
gcc -c -O -mcpu=k6 -fomit-frame-pointer -mpreferred-stack-boundary=2
-malign-functions=4 -fschedule-insns2 -fexpensive-optimizations -ansi -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -pipe
-I../../../../../../exports/include/X11
-I../../../../../../include/extensions -I/opt/Mesa/src
-I../../../../../../lib/GL/mesa/src/drv/common
-I../../../../../../lib/GL/mesa/src/drv/tdfx
-I../../../../../../lib/GL/dri -I../../../../../../lib/GL/glx
-I../../../../../../exports/include
-I../../../../../../exports/include/GL
-I../../../../../../programs/Xserver/GL/dri
-I../../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../../programs/Xserver/hw/xfree86/drivers/tdfx
-I../../../../../../lib/GL/dri/drm
-I../../../../../../lib/GL/include -I../../../../../../include/GL
-I/usr/include/glide3 -I../../../../../..
-I../../../../../../exports/include -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DUSE_MAKEDEPEND
-DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING
-DGLX_USE_MESA -DFX_GLIDE3 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM
-fPIC tdfx_tris.c
tdfx_tris.c: In function `tdfxDDInitTriFuncs':
tdfx_tris.c:1281: structure has no member named `PipelineStart'
make[6]: *** [tdfx_tris.o] Error 1
make[6]: Leaving directory
`/tmp/INSTALL/SOURCE/dri-mesa-3.5/xc/xc/lib/GL/mesa/src/drv/tdfx'
make[5]: *** [all] Error 2
make[5]: Leaving directory
`/tmp/INSTALL/SOURCE/dri-mesa-3.5/xc/xc/lib/GL/mesa/src/drv'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/INSTALL/SOURCE/dri-mesa-3.5/xc/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/INSTALL/SOURCE/dri-mesa-3.5/xc/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/INSTALL/SOURCE/dri-mesa-3.5/xc/xc'
make[1]: *** [Everything] Error 2
make[1]: Leaving directory `/tmp/INSTALL/SOURCE/dri-mesa-3.5/xc/xc'
make: *** [Everything] Error 2
As always, I am open for any input.
-Dieter
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel