From owner-freebsd-current Tue Dec 28 12:40:34 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 07E2D14F8B for ; Tue, 28 Dec 1999 12:40:31 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id VAA45252; Tue, 28 Dec 1999 21:40:01 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <199912282040.VAA45252@freebsd.dk> Subject: Re: the nist port In-Reply-To: from Kenneth Wayne Culver at "Dec 28, 1999 08:05:20 am" To: culverk@wam.umd.edu (Kenneth Wayne Culver) Date: Tue, 28 Dec 1999 21:40:01 +0100 (CET) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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