[338] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

pthreads, compiling...

daemon@ATHENA.MIT.EDU (Stewart Gebbie)
Sun Jun 23 17:24:42 1996

Date: Sun, 23 Jun 1996 23:03:51 +0000 (GMT)
From: Stewart Gebbie <stewart@quotient.global.co.za>
Reply-To: stewart@global.co.za
To: pthreads@MIT.EDU

Is there any thing else that one must do to compile and install pthreads? 
other than configure; make; make install. In particular does one have to 
make any cahnges to include files in /usr/include or set any paths etc.

The reason I ask is that after configure when I run make I get the following:

gcc -I. -Iinclude -I/usr/src/pthreads-1_60_beta5/include -DPTHREAD_KERNEL 
  -g -O -Werror -c /usr/src/pthreads-1_60_beta5/net/gethostbyaddr.c 
  -o obj/gethostbyaddr.o 
In file included from include/timers.h:43,
                 from include/pthread/sleep.h:42,
                 from include/pthread.h:51,
                 from /usr/src/pthreads-1_60_beta5/net/gethostbyaddr.c:40:
include/sys/timers.h:46: redefinition of `struct timespec'
make: *** [obj/gethostbyaddr.o] Error 1

I am not sure wether a specific set of include files is needed or what 
might be wrong.

Thanks
Stewart

/******************************************************************************
Stewart Gebbie
(H)+27 11 4323196                  ``A day without tempting fate
(W)+27 11 7164534                       is a day wasted''
sgebbie@voyager.cs.wits.ac.za
stewart@global.co.za
******************************************************************************/




home help back first fref pref prev next nref lref last post