Date: Wed, 23 Aug 2000 15:22:14 +0200 From: Khamba Staring <purrcat@edoropolis.org> To: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD 4.1-RELEASE, XFree 4.0.1, AGP and Matrox G400 Message-ID: <200008231322.e7NDMEw25178@francine.edoropolis.org> In-Reply-To: Your message of "Tue, 22 Aug 2000 17:01:51 EDT." <Pine.LNX.4.04.10008221658180.13518-100000@ra.nks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008231322.e7NDMEw25178>