Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 1998 09:39:25 -0600 (CST)
From:      Alex Nash <nash@mcs.net>
To:        dec@phoenix.its.rpi.edu
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: make world problems...
Message-ID:  <199801111539.JAA15279@nash.pr.mcs.net>
In-Reply-To: <Pine.BSF.3.96.980111094308.16152A-100000@phoenix.its.rpi.edu>

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





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