Re: R-0.64.2 ssize_t not defined in src/unix/sock.h

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: R-0.64.2 ssize_t not defined in src/unix/sock.h
From: Kurt Hornik (Kurt.Hornik@ci.tuwien.ac.at)
Date: Fri 16 Jul 1999 - 23:22:10 EST


Message-ID: <14223.12802.659507.724069@aragorn.ci.tuwien.ac.at>

>>>>> Johann Petrak writes:

> I though I should let you all know of this:
> Trying to build R-0.62.2 on a SunOS xxxx 4.1.4 2 sun4m machine
> using gcc (gcc version egcs-2.91.57 19980901 (egcs-1.1 release)):

> gnumake[2]: Entering directory `/tmp_mnt/xxxx/src/R-0.64.2/src/unix'
> gcc -g -O2 -I../include -I../../src/include -c Rsock.c -o Rsock.o
> In file included from Rsock.c:8:
> sock.h:21: parse error before `Sock_read'
> sock.h:21: warning: data definition has no type or storage class
> sock.h:22: parse error before `Sock_write'
> sock.h:22: warning: data definition has no type or storage class
> Rsock.c: In function `Rsockwrite':
> Rsock.c:112: `ssize_t' undeclared (first use in this function)
> Rsock.c:112: (Each undeclared identifier is reported only once
> Rsock.c:112: for each function it appears in.)
> Rsock.c:112: parse error before `n'
> Rsock.c:125: `n' undeclared (first use in this function)
> gnumake[2]: *** [Rsock.o] Error 1
> gnumake[2]: Leaving directory `/tmp_mnt/xxxx/src/R-0.64.2/src/unix'
> gnumake[1]: *** [R] Error 1
> gnumake[1]: Leaving directory `/tmp_mnt/xxxx/src/R-0.64.2/src'
> gnumake: *** [R] Error 1

> Adding a typedef like for Win32 seems to help ...

This is fixed in 0.65. I'll also do it for r-release.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:06 EST