Date: Thu, 16 Nov 2000 11:57:11 -0600 From: Glenn Johnson <gjohnson@nola.srrc.usda.gov> To: questions@freebsd.org Subject: building XFree84-4 DRI Message-ID: <20001116115710.A23045@node7.cluster.srrc.usda.gov>
next in thread | raw e-mail | index | archive | help
I would like to try out 3D acceleration on my Matrox G400 but I cannot get DRI compiled. I scoured the mail archives and apparently this has worked for some people in the past, with FreeBSD 4.1. I am currently running FreeBSD 4.2-BETA. I changed the version checks in drmP.h because 4.2-BETA has agpgart and taskqueue. Here is the error message I get when I try to compile: ===> drm Warning: Object directory not changed from original /usr/ports/x11/XFree86-4/work/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm cc -O -pipe -I.. -I/sys/pci -I/usr/include/sys -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I.. -I/sys/pci -I/usr/include/sys -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c init.c In file included from init.c:33: ../drmP.h:599: syntax error before `struct' ../drmP.h:599: syntax error before `void' *** Error code 1 Apparently there is a problem with the drmP.h file. I pulled down the latest revision of this file from the DRI CVS BSD branch but it is essentially the same as that of XFree86-4.0.1 with the exception of the addition of the following: /* * Software interrupts for DMA pipe feeding. The FreeBSD kernel apis * are severely lacking here. */ #define SWI_DRI (SWI_VM+2) I get the same error when trying to compile. Has anyone compiled DRI from XFree86-4 on a recent FreeBSD-4.2 system? Thanks. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001116115710.A23045>