[Dri-devel] Missing symbol in radeon driver

2004-02-01 Thread Felix Kühling
Hi,

after updating and recompiling DRI direct rendering was not working. I
even tried make World to be sure. LIBGL_DEBUG=verbose glxgears shows
this problem:

libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6-DRI/lib/modules/dri/radeon_dri.so
libGL error: dlopen /usr/X11R6-DRI/lib/modules/dri/radeon_dri.so failed 
(/usr/X11R6-DRI/lib/modules/dri/radeon_dri.so: undefined symbol: NEED_SECONDARY_COLOR)
libGL error: unable to find driver: radeon_dri.so

NEED_SECONDARY_COLOR is a macro defined in mesa/main/context.h, but it
never gets included by radeon_state.c where it's used. Adding a line
'#include context.h' to radeon_state.h helps. I'm surprised that noone
else complained about this yet. Am I missing something or was this
problem introduced by a very recent commit?

Regards,
  Felix


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] Missing symbol in radeon driver

2004-02-01 Thread Simon Fowler
On Mon, Feb 02, 2004 at 12:47:39AM +0100, Felix K?hling wrote:
 Hi,
 
 after updating and recompiling DRI direct rendering was not working. I
 even tried make World to be sure. LIBGL_DEBUG=verbose glxgears shows
 this problem:
 
 libGL: XF86DRIGetClientDriverName: 4.0.1 radeon (screen 0)
 libGL: OpenDriver: trying /usr/X11R6-DRI/lib/modules/dri/radeon_dri.so
 libGL error: dlopen /usr/X11R6-DRI/lib/modules/dri/radeon_dri.so failed 
 (/usr/X11R6-DRI/lib/modules/dri/radeon_dri.so: undefined symbol: 
 NEED_SECONDARY_COLOR)
 libGL error: unable to find driver: radeon_dri.so
 
 NEED_SECONDARY_COLOR is a macro defined in mesa/main/context.h, but it
 never gets included by radeon_state.c where it's used. Adding a line
 '#include context.h' to radeon_state.h helps. I'm surprised that noone
 else complained about this yet. Am I missing something or was this
 problem introduced by a very recent commit?
 
I noticed the same problem with the same fix just yesterday. I'm not
sure when it broke, since I don't think I'd done an update in a week
or so.

Simon

-- 
PGP public key Id 0x144A991C, or http://himi.org/stuff/himi.asc
(crappy) Homepage: http://himi.org
doe #237 (see http://www.lemuria.org/DeCSS) 
My DeCSS mirror: ftp://himi.org/pub/mirrors/css/ 


signature.asc
Description: Digital signature