Am Di, den 26.10.2004 schrieb Daniel J. Michael um 16:08: > I appied the savage patches at http://freedesktop.org/~fxkuehl/savage/ > to the latest cvs. The DRM and the 3d drivers build fine, but when I try > to build the ddx/xserver, I get this error: > 86Server -DXF86VIDMODE > -DXvMCExtension -DSMART_SCHEDULE > -DBUILDDEBUG -DXResExtension > -DX_BYTE_ORDER=X_LITTLE_ENDIAN > -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * > 1000) + 99)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE > -DXFree86Module -DPSZ=8 -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING > -DGLX_USE_DLOPEN -DGLX_USE_MESA -c savage_dri.c > savage_dri.c: In function `SAVAGEDRIMapInit': > savage_dri.c:894: error: `DRM_CONSISTENT' undeclared (first use in this > function) > savage_dri.c:894: error: (Each undeclared identifier is reported only once > savage_dri.c:894: error: for each function it appears in.) > savage_dri.c: In function `SAVAGEDRIMoveBuffers': > savage_dri.c:1747: warning: unused variable `screenwidth' > savage_dri.c:1748: warning: unused variable `screenheight' > savage_dri.c: At top level: > savage_dri.c:1891: warning: 'SAVAGEDRISetupForScreenToScreenCopy' > defined but not used > savage_dri.c:1917: warning: 'SAVAGEDRISubsequentScreenToScreenCopy' > defined but not used > savage_dri.c:84: warning: 'SAVAGEDRISetupForSolidFill' declared `static' > but never defined > savage_dri.c:1996: warning: 'SAVAGEDRISubsequentSolidFillRect' defined > but not used > make[7]: *** [savage_dri.o] Error 1 > make[7]: Leaving directory > `/usr/src/dri-cvs/xc/programs/Xserver/hw/xfree86/drivers/savage' > make[6]: *** [all] Error 2 > make[6]: Leaving directory > `/usr/src/dri-cvs/xc/programs/Xserver/hw/xfree86/drivers' > make[5]: *** [all] Error 2 > make[5]: Leaving directory `/usr/src/dri-cvs/xc/programs/Xserver/hw/xfree86' > make[4]: *** [hw/xfree86] Error 2 > make[4]: Leaving directory `/usr/src/dri-cvs/xc/programs/Xserver' > make[3]: *** [all] Error 2 > make[3]: Leaving directory `/usr/src/dri-cvs/xc/programs' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/src/dri-cvs/xc' > make[1]: *** [World] Error 2 > make[1]: Leaving directory `/usr/src/dri-cvs/xc' > make: *** [World] Error 2 > > Is there anything I can do about this?
Ah, forgot to include a patch for programs/Xserver/hw/xfree86/os-support/xf86drm.h. It seems that you were the first one to actually try it. :) Try this patch: --- ./xf86drm.h.~1.3.~ 2004-06-16 11:39:14.000000000 +0200 +++ ./xf86drm.h 2004-10-16 02:00:35.000000000 +0200 @@ -104,7 +104,8 @@ DRM_REGISTERS = 1, /**< no caching, no core dump */ DRM_SHM = 2, /**< shared, cached */ DRM_AGP = 3, /**< AGP/GART */ - DRM_SCATTER_GATHER = 4 /**< PCI scatter/gather */ + DRM_SCATTER_GATHER = 4, /**< PCI scatter/gather */ + DRM_CONSISTENT = 5 /**< PCI consistent */ } drmMapType; typedef enum { Regards, Felix -- | Felix Kühling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel