[GRASS5] sockets and Solaris
Eric G . Miller
egm2 at jps.net
Thu Feb 15 21:26:27 EST 2001
On Thu, Feb 15, 2001 at 04:37:49PM -0400, Bob Covill wrote:
> I have been trying to build the latest grass release under Solaris (7)
> today. One of the problems that I have encountered is in "unix_socks.c"
> in the gis lib. It fails at line 123 because it cannot find a definition
> for PF_LOCAL. I have checked sys/socket.h, and for some reason it is not
> defined there.
> Any idea where I would find an upgrade to include PF_LOCAL?
I should've know better than using PF_LOCAL (Posix).
s/PF_LOCAL/AF_LOCAL/ and if that doesn't work s/AF_LOCAL/AF_UNIX/.
I'll change it to AF_LOCAL in CVS...
FYI: I found the definition in /usr/include/bits/socket.h (which is
included by /usr/include/sys/socket.h). It defines PF_UNIX, AF_LOCAL,
and AF_UNIX as synonyms for PF_LOCAL (which is defined as 1 here).
Eric G. Miller <egm2 at jps.net>
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev