Re: [Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Andreas Boll
2013/1/14 Brian Paul : > Fixes a runtime error: > > glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: > undefined symbol: clock_gettime > > v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. Reviewed-by: Andreas Boll > --- > src/gallium/targets/libgl-xlib/Makefile

Re: [Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Matt Turner
On Mon, Jan 14, 2013 at 10:37 AM, Brian Paul wrote: > Fixes a runtime error: > > glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: > undefined symbol: clock_gettime > > v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. > --- > src/gallium/targets/libgl-xlib/Makefil

[Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Brian Paul
Fixes a runtime error: glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: undefined symbol: clock_gettime v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. --- src/gallium/targets/libgl-xlib/Makefile.am |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

Re: [Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Andreas Boll
2013/1/14 Brian Paul : > Fixes a runtime error: > > glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: > undefined symbol: clock_gettime > > Note: should this library only be linked if we're building on Linux? > The code that calls clock_gettime() is inside #ifdef PIPE_OS_LINU

[Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Brian Paul
Fixes a runtime error: glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: undefined symbol: clock_gettime Note: should this library only be linked if we're building on Linux? The code that calls clock_gettime() is inside #ifdef PIPE_OS_LINUX. --- src/gallium/targets/libgl-x