> 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.
>
> I checked in the following change:
>
> RCS file: /cvsroot/dri/xc/xc/lib/GL/mesa/src/drv/r200/r200_texmem.c,v
> retrieving revision 1.3.4.7
> diff -r1.3.4.7 r200_texmem.c
> 53a54,56
>  > #undef usleep  /* undo wrapping from xf86_ansic.h */
>  >
>  >
>
>
>
> -Brian
>

Alright...  That fixed the xf86usleep error, but the server crashes are
still happening.

Adam





-------------------------------------------------------
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