From owner-freebsd-questions Wed Aug 23 6:22:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from francine.edoropolis.org (catv6055.extern.kun.nl [131.174.116.55]) by hub.freebsd.org (Postfix) with ESMTP id 5987D37B43C for ; Wed, 23 Aug 2000 06:22:25 -0700 (PDT) Received: from francine.edoropolis.org (localhost [127.0.0.1]) by francine.edoropolis.org (8.10.1/8.9.2) with ESMTP id e7NDMEw25178 for ; Wed, 23 Aug 2000 15:22:23 +0200 (CEST) (envelope-from purrcat@edoropolis.org) Message-Id: <200008231322.e7NDMEw25178@francine.edoropolis.org> To: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD 4.1-RELEASE, XFree 4.0.1, AGP and Matrox G400 In-Reply-To: Your message of "Tue, 22 Aug 2000 17:01:51 EDT." Date: Wed, 23 Aug 2000 15:22:14 +0200 From: Khamba Staring Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Thanks for the reply! > For the DRI you'll need one other piece, the kernel module for the > drm/card type. > > If you have the XF4.0.1 sources on hand the kernel modules can be built > out of the directory > xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel. Ahaa.. I compiled the code, included the drm module (also at startup) but still no-go.. I checked the Makefile.bsd and came to the conclusion I had to include the directory `mga'.. The compilation didn't went well after that; I checked the sources in the directories `mga' and `tdfx' and found out I had to add a `-DDRM_AGP' to the Makefile in the mga directory. (the problem: in the file mga_drv.c, the compiler stumbled across a lot of errors indicating the device_t structure had no member named `agp'). Recompiled, now mga_dma.c is having some trouble compiling: -- (output make -f Makefile.bsd) cc -O -pipe -DDRM_AGP -I.. -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. -I@ -I/usr/include -mpreferred-stack-boundary=2 -c mga_dma.c mga_dma.c: In function `mga_dma_service': mga_dma.c:670: warning: implicit declaration of function `taskqueue_enqueue' mga_dma.c:670: `taskqueue_swi' undeclared (first use in this function) mga_dma.c:670: (Each undeclared identifier is reported only once mga_dma.c:670: for each function it appears in.) mga_dma.c:670: structure has no member named `task' mga_dma.c: In function `mga_irq_install': mga_dma.c:885: warning: implicit declaration of function `TASK_INIT' mga_dma.c:885: structure has no member named `task' *** Error code 1 -- (end output) I couldn't find any hint as to what the problem is now.. Has anyone had this kind of trouble? Note: I didn't use the ports collection to compile XFree 4.0.1 (fetch couldn't connect to the ftp servers this morning; it seems to work now, so I'm giving this a try too at the moment).. Also, the anonymous CVS sources from dri.sourceforge.net didn't make any difference.. Kind regards, -- Khamba Staring To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message