Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-30 Thread Kevin H. Hobbs
On 08/27/2010 05:34 PM, Jon TURNEY wrote: > On 27/08/2010 21:40, Kevin H. Hobbs wrote: >> > > Um. Sorry for the confusion, but there are two separate > patches in this thread. > > Did you try the first patch "Add talloc to dependencies for > libGL built with xlib driver", or the second patch "A

Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-27 Thread Jon TURNEY
On 27/08/2010 21:40, Kevin H. Hobbs wrote: On 08/27/2010 02:45 PM, Jon TURNEY wrote: Updated patch attached. No luck, I still get : /home/kevin/mesa_xlib/lib/libGL.so: undefined reference to `talloc_strdup' and such when I link an application against libGL.so and there is no talloc in th

Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-27 Thread Kevin H. Hobbs
On 08/27/2010 02:45 PM, Jon TURNEY wrote: > > Updated patch attached. No luck, I still get : /home/kevin/mesa_xlib/lib/libGL.so: undefined reference to `talloc_strdup' and such when I link an application against libGL.so and there is no talloc in the output of 'ldd libGL.so'. sgall...@redhat.

Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-27 Thread Jon TURNEY
On 27/08/2010 16:16, Julien Cristau wrote: On Fri, Aug 27, 2010 at 15:24:45 +0100, Jon TURNEY wrote: diff --git a/src/mesa/drivers/osmesa/Makefile b/src/mesa/drivers/osmesa/Makefile index 091e6f6..fb70790 100644 --- a/src/mesa/drivers/osmesa/Makefile +++ b/src/mesa/drivers/osmesa/Makefile @@ -3

Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-27 Thread Julien Cristau
On Fri, Aug 27, 2010 at 15:24:45 +0100, Jon TURNEY wrote: > diff --git a/src/mesa/drivers/osmesa/Makefile > b/src/mesa/drivers/osmesa/Makefile > index 091e6f6..fb70790 100644 > --- a/src/mesa/drivers/osmesa/Makefile > +++ b/src/mesa/drivers/osmesa/Makefile > @@ -38,7 +38,7 @@ default: $(TOP)/$(LI

Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-27 Thread Jon TURNEY
On 27/08/2010 14:40, Jon TURNEY wrote: On 20/08/2010 15:34, Kevin H. Hobbs wrote: When Mesa is built with : ./autogen.sh \ --prefix=/home/kevin/mesa_xlib/ \ --with-driver=xlib \ --disable-gallium \ --disable-gl-osmesa The libGL.so that is produced has undefined symbols from talloc but talloc i

Re: [Mesa-dev] Xlib GL needs -ltalloc

2010-08-27 Thread Jon TURNEY
On 20/08/2010 15:34, Kevin H. Hobbs wrote: When Mesa is built with : ./autogen.sh \ --prefix=/home/kevin/mesa_xlib/ \ --with-driver=xlib \ --disable-gallium \ --disable-gl-osmesa The libGL.so that is produced has undefined symbols from talloc but talloc is not linked. ... and this

[Mesa-dev] Xlib GL needs -ltalloc

2010-08-20 Thread Kevin H. Hobbs
When Mesa is built with : ./autogen.sh \ --prefix=/home/kevin/mesa_xlib/ \ --with-driver=xlib \ --disable-gallium \ --disable-gl-osmesa The libGL.so that is produced has undefined symbols from talloc but talloc is not linked. $ nm mesa_xlib/lib/libGL.so | grep talloc 001ac4a0 T _