From p.c.j.kleiweg at rug.nl  Thu Apr 27 14:09:14 2006
From: p.c.j.kleiweg at rug.nl (Peter Kleiweg)
Date: Thu, 27 Apr 2006 14:09:14 +0200 (CEST)
Subject: [Rd] Minor issue building 2.3.0 under Red Hat Linux 9
In-Reply-To: <Pine.LNX.4.64.0604271033420.24905@gannet.stats.ox.ac.uk>
References: <4450420F.7060803@DecisionSynergy.com>
	<Pine.LNX.4.64.0604271033420.24905@gannet.stats.ox.ac.uk>
Message-ID: <Pine.LNX.4.63.0604271401550.1267@kleigh.nl>

Prof Brian Ripley schreef op de 27e dag van de grasmaand van het jaar 2006:

> On Thu, 27 Apr 2006, Dominick Samperi wrote:
> 
> > Building R 2.3.0 fails under Red Hat 9.0 because
> > ssize_t is not defined in src/modules/internet/sock.h.
> > Inserting #include <sys/types.h> at the top of this
> > file fixes the problem.
> 
> That's interesting: POSIX says it must be defined in unistd.h, and that is 
> included before sock.h in all the C files AFAICS (and this is why all the 
> Unix-alike platforms tested before release do compile that module).
> 
> It's a bug in RH9 (there seems to be no 9.0), and that is maintained by 
> Fedora Legacy -- do they have an update?

Also SuSE 8.0, see bug PR#8809. And I have ssize_t defined in 
unistd.h, so I guess unistd.h does not get included into 
sockconn.c.


-- 
Peter Kleiweg
http://www.let.rug.nl/~kleiweg/



[Rd] Minor issue building 2.3.0 under Red Hat Linux 9
Peter Kleiweg