From owner-freebsd-hackers Sun Jan 11 08:00:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA05780 for hackers-outgoing; Sun, 11 Jan 1998 08:00:47 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from nash.pr.mcs.net (nash.pr.mcs.net [204.95.47.72]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA05572 for ; Sun, 11 Jan 1998 07:59:31 -0800 (PST) (envelope-from alex@nash.pr.mcs.net) Received: (from alex@localhost) by nash.pr.mcs.net (8.8.8/8.8.7) id JAA15279; Sun, 11 Jan 1998 09:39:25 -0600 (CST) (envelope-from alex) Message-Id: <199801111539.JAA15279@nash.pr.mcs.net> Date: Sun, 11 Jan 1998 09:39:25 -0600 (CST) From: Alex Nash Subject: Re: make world problems... To: dec@phoenix.its.rpi.edu cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk On 11 Jan, David E. Cross wrote: > I know I am doing something wrong... I just need someone to tell me what > > I issue a 'make -DWANT_LIBC_R world >/tmp/make.log 2>&1 &' and get the > following at the end of my make world (I have cvsuped a number of times > with no luck, I have not yet deleted my /usr/src directory and re-gotten > the whole thing.) > > --- > cc -O -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 -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libc_r/uthread/uthread_detach > .c -o uthread_detach.o > /usr/src/lib/libc_r/uthread/uthread_detach.c:40: conflicting types for `pthread_detach' > /usr/obj/usr/src/tmp/usr/include/pthread.h:196: previous declaration of `pthread_detach' > *** Error code 1 My fault (botched MFC). You can apply the patch below to fix things. Alex Index: pthread.h =================================================================== RCS file: /home/ncvs/src/include/pthread.h,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -c -r1.2.2.2 -r1.2.2.3 *** pthread.h 1997/06/24 04:32:27 1.2.2.2 --- pthread.h 1998/01/11 15:54:24 1.2.2.3 *************** *** 193,199 **** int pthread_cond_wait __P((pthread_cond_t *, pthread_mutex_t *)); int pthread_create __P((pthread_t *, const pthread_attr_t *, void *(*start_routine) (void *), void *)); ! int pthread_detach __P((pthread_t *)); int pthread_equal __P((pthread_t, pthread_t)); void pthread_exit __P((void *)); void *pthread_getspecific __P((pthread_key_t)); --- 193,199 ---- int pthread_cond_wait __P((pthread_cond_t *, pthread_mutex_t *)); int pthread_create __P((pthread_t *, const pthread_attr_t *, void *(*start_routine) (void *), void *)); ! int pthread_detach __P((pthread_t)); int pthread_equal __P((pthread_t, pthread_t)); void pthread_exit __P((void *)); void *pthread_getspecific __P((pthread_key_t));