Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: vdr[3330]: ERROR: can't record MPEG1! - possible cause
On Sat, Sep 22, 2001 at 12:10:08PM +0200, Klaus Schmidinger wrote:
>
> I like this idea a lot - but apparently this doesn't compile under Linux :-(
>
> The function pthread_mutexattr_settype() is only available if __USE_UNIX98
> is defined in /usr/include/pthread.h, which apparently is not the case.
> Simply declaring this function in VDR's thread.c doesn't help, either, because
> then the linker doesn't find it.
Maybe a simple -D_GNU_SOURCE or -D_XOPEN_SOURCE together with
#include <bits/libc-lock.h>
before including pthread.h using will help. Nevertheless
pthread_mutexattr_settype is a weak symbol whereas
__pthread_mutexattr_settype is the real function in /lib/libpthread.so.0.
Werner
Home |
Main Index |
Thread Index