It seems Kenneth Wayne Culver wrote:
> I can't get the nist port to compile:
> c++ -g -O2 -Wall -DDO_NIST -DPACKAGE=\"ac3dec\" -DVERSION=\"0.5.5\"
> -I../../inc -c bitstream.c -o bitstream.o
> In file included from decode.h:24,
> from bitstream.c:27:
> ../../inc/athread.hh: In function `int athr_setschedparam(pthread *, int,
> sched_param *)':
> ../../inc/athread.hh:150: implicit declaration of function `int
> pthread_setschedparam(...)'
> ../../inc/athread.hh: In function `int athr_getschedparam(pthread *, int
> *, sched_param *)':
> ../../inc/athread.hh:151: implicit declaration of function `int
> pthread_getschedparam(...)'
> bitstream.c: In function `uint_32 bitstream_get(bitstream_t *, long
> unsigned int)':
Uhm, seems like we need to define _POSIX_THREAD_PRIORITY_SCHEDULING now
to get the prototypes for these, add:
#ifdef __FreeBSD__
#define _POSIX_THREAD_PRIORITY_SCHEDULING
#endif
At line 80 in inc/athread.hh
-Søren
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message