On Nov 17, 2007 8:09 PM, Florian Krohm <[EMAIL PROTECTED]> 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.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to