xorg-x11 VIA EPIA-CL10000 and Alan's via drivers

Guy Van Den Bergh guy.van-den-bergh at skynet.be
Tue Apr 27 10:11:37 UTC 2004


Hi,

I had problems with xorg/FC2test3 on my EPIA with the vesa drivers (as
others on this list), but it seems solved with Alans VIA drivers I found
at:
ftp://people.redhat.com/alan/XFree86/VIA/Fedora/
These are binary, but work with FC2test3 on my EPIA.

I also tried to rebuild xorg-x11 from the latest SRPM:
xorg-x11-6.7.0-0.5.src.rpm

I changed in the .spec file:
%define with_via_driver 	1

instead of 0. However, it fails to build now (probably the reason why it
was left out of it). Is this worth a bugzilla? Any ideas?
Will it be enabled by FC2 final?
The error message is below.

The RPM Changelog says for Mar 10 2004:
- Disabled the with_new_savage_driver, and with_via_driver options by
  default, as the included drivers are newer, although the via driver may
lose DRI support temporarily which I may need to add back later

Greetings,
Guy

rpmbuild says at the end:
gcc -m32 -c -O2  -pipe -march=i386 -mcpu=i686 -fno-strict-aliasing -pipe 
-ansi -pedantic -Wall -Wpointer-arith -Wundef
-I../../../../../../exports/include/X11
-I../../../../../../include/extensions
-I../../../../../../extras/Mesa/src
-I../../../../../../lib/GL/mesa/src/drv/common
-I../../../../../../lib/GL/mesa/src/drv/via
-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/via             
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../lib/GL/dri/drm
-I../../../../../../lib/GL/include  -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    -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI
-DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DUSE_X86_ASM -DUSE_MMX_ASM
-DUSE_3DNOW_ASM -DUSE_SSE_ASM  -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'  via_context.c
via_context.c: In function `viaXMesaWindowMoved':
via_context.c:669: error: structure has no member named
`DriverDrawBuffer'
via_context.c: In function `viaGetLock':
via_context.c:1065: warning: passing arg 1 of
`__driUtilUpdateDrawableInfo' from incompatible pointer type
via_context.c:1065: error: too many arguments to function
`__driUtilUpdateDrawableInfo'
via_context.c: In function `viaLock':
via_context.c:1100: warning: passing arg 1 of
`__driUtilUpdateDrawableInfo' from incompatible pointer type
via_context.c:1100: error: too many arguments to function
`__driUtilUpdateDrawableInfo'
via_context.c:1102:72: macro "DRI_VALIDATE_DRAWABLE_INFO_ONCE" passed 3
arguments, but takes just 1
via_context.c:1102: error: `DRI_VALIDATE_DRAWABLE_INFO_ONCE' undeclared
(first use in this function)
via_context.c:1102: error: (Each undeclared identifier is reported only once
via_context.c:1102: error: for each function it appears in.)
via_context.c: In function `viaSwapBuffers':
via_context.c:1145: warning: implicit declaration of function
`_mesa_swapbuffers'
make[6]: *** [via_context.o] Error 1
-- 
Guy Van Den Bergh <guy.van-den-bergh at skynet.be>







More information about the devel mailing list