[357] in Pthreads mailing list archive

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

Pthreads 1.60b5 & Linux 2.0.3

daemon@ATHENA.MIT.EDU (James Ellison)
Tue Jul 9 01:49:37 1996

Date: Tue, 9 Jul 1996 14:34:03 +0900 (JST)
From: James Ellison <jellison@shrine.cyber.ad.jp>
To: pthreads@MIT.EDU


Pthreads 1.60 beta 5 fails to compile with Linux 2.0.3, gcc 2.7.2, and 
libc 5.3.12. Is a patch available? Here's the compile error:

> if [ -d obj ]; then true; else mkdir obj; fi
> cp /dev/null obj/x
> gcc -I. -Iinclude -I/usr/src/up-kern2/pthreads-1_60_beta5/include
>     -DPTHREAD_KERNEL -g -O -Werror -c
>     /usr/src/up-kern2/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/up-kern2/pthreads-1_60_beta5/net/gethostbyaddr.c:40:
> include/sys/timers.h:46: redefinition of `struct timespec'
> make: *** [obj/gethostbyaddr.o] Error 1

Thanks.

=======================================================================
      James Ellison          |    Cyber Technologies International K.K. 
=============================|      General Manager, Tech Systems Dept.
 jellison@cyber.ad.jp        |  Toranomon Suzuki Bldg, 3-20-4 Toranomon
 tech@cyber.ad.jp            |              Minato-ku, Tokyo 150, Japan
 http://www.cyber.ad.jp      |  Tel:+81-3-3578-4888 Fax:+81-3-3578-4889
=======================================================================


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