Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 1997 12:20:29 +1100 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        gclarkii@main.gbdata.com (Gary Clark II)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: threads in 970209-SNAP
Message-ID:  <199703200120.MAA08361@freebsd1.cimlogic.com.au>
In-Reply-To: <199703200028.SAA07918@main.gbdata.com> from Gary Clark II at "Mar 19, 97 06:28:48 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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