|
From: Bart V. A. <bar...@gm...> - 2007-11-18 17:15:02
|
On Nov 17, 2007 8:09 PM, Florian Krohm <br...@ac...> wrote: > On Saturday 17 November 2007 9:40 am, Bart Van Assche wrote: > > A new drd version is available at the following location: > > > http://home.euphonynet.be/bvassche/valgrind/valgrind-7173-drd-2007-11-17.pa > >tch.gz > > > > I got the following compiler error with gcc 3.3.5 and glibc 2.3.2: > > drd_preloaded.c: In function `vg_set_main_thread_state': > drd_preloaded.c:165: error: `pthread_spinlock_t' undeclared (first use in > this function) > > I had to add > #define _XOPEN_SOURCE 600 > or > #define -GNU_SOURCE > > to get it to compile. > Thanks for reporting this -- I'll fix it in the next drd patch. Bart. |