On Sat, Nov 23, 2002 at 07:51:08AM -0700, Brian Paul wrote:
>Adam K Kirchhoff wrote:
>> On Fri, 22 Nov 2002, Brian Paul wrote:
>> 
>> 
>>>Adam K Kirchhoff wrote:
>>>
>>>>I would be worried that whatever is causing the server from the mesa-41
>>>>branch to crash under FreeBSD is going to make it way into the trunk.
>>>
>>>Can you update your mesa-41 branch and rebuild?  I just did another
>>>merge from the trunk which picked up a few updates.
>> 
>> 
>> Heh...  Not only has this not solved the problem with the server crashing
>> in FreeBSD, it's introduced a new problem:
>> 
>> [ adamk@sorrow ~ ]$ glxgears -info
>> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
>> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
>> libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
>(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol "xf86usleep")
>> libGL error: unable to find driver: r200_dri.so
>> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
>> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
>> libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
>(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol "xf86usleep")
>> libGL error: unable to find driver: r200_dri.so
>> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
>> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
>> libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
>(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol "xf86usleep")
>> libGL error: unable to find driver: r200_dri.so
>> GL_RENDERER   = Mesa GLX Indirect
>> GL_VERSION    = 1.4 Mesa 5.0
>> GL_VENDOR     = Mesa project: www.mesa3d.org
>
>I think I found the problem.  usleep() gets defined as a macro to xf86usleep()
>in xf86_ansi.h (via radeon_regs.h) and needs to be #undefined.

Do we know why xf86_ansi.h is getting included in the client-side module?
It's only intended for X server modules.  It'd be better to not include
it in the first place.

David


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to