I am trying to compile mesa 7.6.1 on Mandriva 2009.1 (linux-x86-dri) and get the following error: radeon_screen.c: In function 'radeonGetParam': radeon_screen.c:235: error: variable 'info' has initializer but incomplete type radeon_screen.c:235: warning: excess elements in struct initializer radeon_screen.c:235: warning: (near initialization for 'info') radeon_screen.c:235: error: storage size of 'info' isn't known radeon_screen.c:246: error: duplicate case value radeon_screen.c:240: error: previously used here radeon_screen.c:235: warning: unused variable 'info' radeon_screen.c: In function 'radeonCreateScreen': radeon_screen.c:1025: error: 'R600_SCRATCH_REG_OFFSET' undeclared (first use in this function) radeon_screen.c:1025: error: (Each undeclared identifier is reported only once radeon_screen.c:1025: error: for each function it appears in.) what does it mean?
You need a newer radeon_drm.h
Thank you. It works. I wonder why radeon_drm.h file is absent in Mesa distribution.
(In reply to comment #2) > Thank you. It works. > I wonder why radeon_drm.h file is absent in Mesa distribution. > It's not provided by mesa. It's provided by libdrm or the kernel depending on your distro.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.