Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 21:40:01 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        culverk@wam.umd.edu (Kenneth Wayne Culver)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: the nist port
Message-ID:  <199912282040.VAA45252@freebsd.dk>
In-Reply-To: <Pine.GSO.4.10.9912280804030.2929-100000@rac3.wam.umd.edu> from Kenneth Wayne Culver at "Dec 28, 1999 08:05:20 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912282040.VAA45252>