Fionn Behrens wrote:
Xorg and drm modules compiled fine but Mesa bails out:
radeon_screen.c: In function `radeonCreateScreen':
radeon_screen.c:519: error: `addr' undeclared (first use in this
function)
radeon_screen.c:519: error: (Each undeclared identifier is reported only
once
radeon_screen.c:519: error: for each function it appears in.)
make[6]: *** [radeon_screen.o] Error 1
DRM_SOURCE_PATH and all symlinks appear to be set correctly.
Suggestions?
br,
Fionn
It's a little error, I've attached a patch. There is another error I
can't fix:
radeon_context.c: In function `radeonCreateContext':
radeon_context.c:451: error: structure has no member named `tiling_enabled'
make[6]: *** [radeon_context.o] Error 1
make[6]: Leaving directory `/usr/src/Mesa.up/src/mesa/drivers/dri/radeon'
btw it is part of the radeon module, not needed by r300, without all
compile fine :)
--
Laera Dario
Undergraduate student at Computer Science
University of Bologna
ICQ# 203250303 /==/ http://laera.web.cs.unibo.it
Mail to: laera_at_cs.unibo.it pennytommy_at_libero.it
--- Mesa/src/mesa/drivers/dri/radeon/server/radeon_macros.h 2005-02-12
21:37:07.000000000 +0100
+++ Mesa.up/src/mesa/drivers/dri/radeon/server/radeon_macros.h 2005-02-13
17:24:40.288843552 +0100
@@ -45,7 +45,7 @@
# define MMIO_IN8(base, offset) \
*(volatile unsigned char *)(((unsigned char*)(base)) + (offset))
# define MMIO_IN32(base, offset) \
- read_MMIO_LE32(base, addr)
+ read_MMIO_LE32(base, offset)
# define MMIO_OUT8(base, offset, val) \
*(volatile unsigned char *)(((unsigned char*)(base)) + (offset)) = (val)
# define MMIO_OUT32(base, offset, val) \