[25] in Pthreads mailing list archive
Compilation errors with beta-3/solaris
daemon@ATHENA.MIT.EDU (William Gribble)
Sat Jun 24 11:56:44 1995
From: grib@arlut.utexas.edu (William Gribble)
To: pthreads@MIT.EDU
Date: Sat, 24 Jun 1995 10:41:16 -0600 (CDT)
This is the same error I have gotten with every 1.60 release compiling
under Solaris. Is this a local configuration problem, or does pthreads
1.60+ just not build under Solaris?
gcc 2.6.3, Solaris 2.4, pthreads 1.60 beta 3.
----
gcc -I. -Iinclude -I/home/grib/pthreads/include -DPTHREAD_KERNEL -g -O -Werror -c /home/grib/pthreads/net/gethostbyaddr.c -o obj/gethostbyaddr.o
In file included from /usr/include/netinet/in.h:28,
from /home/grib/pthreads/include/netdb.h:42,
from /home/grib/pthreads/net/gethostbyaddr.c:44:
/usr/include/sys/stream.h:472: parse error before `uio_t'
cc1: warnings being treated as errors
/usr/include/sys/stream.h:472: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:473: warning: data definition has no type or storage class
/usr/include/sys/stream.h:474: parse error before `}'
/usr/include/sys/stream.h:474: warning: data definition has no type or storage class
/usr/include/sys/stream.h:484: parse error before `uio_t'
/usr/include/sys/stream.h:484: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:485: warning: data definition has no type or storage class
gmake: *** [obj/gethostbyaddr.o] Error 1
----
Bill Gribble