From owner-freebsd-current Wed Mar 19 17:41:55 1997 Return-Path: <owner-current> Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA11541 for current-outgoing; Wed, 19 Mar 1997 17:41:55 -0800 (PST) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA11481 for <freebsd-current@FreeBSD.ORG>; Wed, 19 Mar 1997 17:41:18 -0800 (PST) Received: (qmail 16185 invoked by uid 5); 20 Mar 1997 01:41:08 -0000 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id MAA08361; Thu, 20 Mar 1997 12:20:30 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> Message-Id: <199703200120.MAA08361@freebsd1.cimlogic.com.au> Subject: Re: threads in 970209-SNAP To: gclarkii@main.gbdata.com (Gary Clark II) Date: Thu, 20 Mar 1997 12:20:29 +1100 (EST) Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <199703200028.SAA07918@main.gbdata.com> from Gary Clark II at "Mar 19, 97 06:28:48 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Gary Clark II wrote: > main:gclarkii# make > cc -O2 -m486 -fno-strength-reduce -DLIBC_RCS -DSYSLIBC_RCS -DPTHREAD_KERNEL -D_THREAD_SAFE -I/usr/src/lib/libc_r/uthread -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE > -I/usr/src/lib/libc_r/../libc/locale -DYP -c /usr/src/lib/libc_r/../libc/gen/is > atty.c -o isatty.o > In file included from /usr/src/lib/libc_r/../libc/gen/isatty.c:42: > /usr/src/lib/libc_r/uthread/pthread_private.h:524: parse error before `0' > *** Error code 1 > > Any ideas? Look in pthread.h and check if pthread_condattr_default is within the same #ifndef PTHREAD_KERNEL that pthread_attr_default is in. If not, then move the #define so that it is. Regards, -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137