[544] in Pthreads mailing list archive

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

Compile Bugs in pthread package.

daemon@ATHENA.MIT.EDU (Yuh-Jye Chang)
Thu Jan 9 16:31:09 1997

Date: Thu, 9 Jan 1997 15:57:03 -0500 (EST)
From: Yuh-Jye Chang <yjchang@npac.syr.edu>
To: pthreads@MIT.EDU

Hi!

  I obtain the pthread and compiled it under linux 2.0.0 and found the 
error as following:
linux:~/pthread/pthreads-1_60_beta4_1# make
gcc -I. -Iinclude -I/root/pthread/pthreads-1_60_beta4_1/include 
-DPTHREAD_KERNEL -g -O -Werror -c 
/root/pthread/pthreads-1_60_beta4_1/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 
/root/pthread/pthreads-1_60_beta4_1/net/gethostbyaddr.c:40:
include/sys/timers.h:46: redefinition of `struct timespec'
make: *** [obj/gethostbyaddr.o] Error 1

  Could you point out what should be changed in order to make it works ?
  Thanks.

Yuh-Jye Chang



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