So I thought that I'd finally try the DRI under FreeBSD (I recently
upgraded an old installation to 4.4rc4). Well, it seems that I've hit a
rough spot. Though it isn't a huge deal, it'd be nice to get it working.
Anyway, from the xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel
directory, I ran:
make -f Makefile.bsd
The compile stopped almost immediately with:
cc -O -pipe -I. -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@ -I/usr/include -mpreferred-stack-boundary=2 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -c tdfx_drv.c
tdfx_drv.c: In function `tdfx_takedown':
tdfx_drv.c:335: warning: enumeration value `_DRM_SCATTER_GATHER' not
handled in switch
tdfx_drv.c: In function `tdfx_init':
tdfx_drv.c:376: `DRM_DEV_UID' undeclared (first use in this function)
tdfx_drv.c:376: (Each undeclared identifier is reported only once
tdfx_drv.c:376: for each function it appears in.)
tdfx_drv.c:377: `DRM_DEV_GID' undeclared (first use in this function)
tdfx_drv.c:378: `DRM_DEV_MODE' undeclared (first use in this function)
*** Error code 1
Stop in
/usr/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/tdfx.
*** Error code 1
Stop in
/usr/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel.
Is this a lost cause, or is there a chance I can get this working?
Adam
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel