Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA19840; Sun, 17 Mar 96 03:22:11 EST
Received: from zec.kaist.ac.kr by MIT.EDU with SMTP
	id AA06834; Sun, 17 Mar 96 03:21:21 EST
Received: (from hseung@localhost) by zec.kaist.ac.kr (8.6.12H1/8.6.9) id RAA05148; Sun, 17 Mar 1996 17:21:24 +0900
Date: Sun, 17 Mar 1996 17:21:24 +0900
Message-Id: <199603170821.RAA05148@zec.kaist.ac.kr>
From: Hyunsuk Seung <hseung@zec.kaist.ac.kr>
To: proven@MIT.EDU
Subject: problems compiling pthreads on Linux


Hi,

I'm having trouble compiling the pthreads-1_60_beta5 package.  Here's
the error message when I type "make" after running "configure".

----------------------------------------------------------------------
gcc -I. -Iinclude -I/home/hseung/cse/agent/src/threads/mit/pthreads-1_60_beta5/include -DPTHREAD_KERNEL -g -O -Werror -c /home/hseung/cse/agent/src/threads/mit/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 /home/hseung/cse/agent/src/threads/mit/pthreads-1_60_beta5/net/gethostbyaddr.c:40:
include/sys/timers.h:46: redefinition of `struct timespec'
make: *** [obj/gethostbyaddr.o] Error 1
----------------------------------------------------------------------

My system is a Pentium 120 MHz running Linux 1.3.59.  Any help
greatly appreciated!

Hyunsuk Seung
hseung@selab.kaist.ac.kr
