[Gluster-users] Any success on FreeBSD ?

Venky Shankar venky at gluster.com
Mon Apr 25 17:24:24 UTC 2011


On Monday 25 April 2011 02:12 AM, Leon Meßner wrote:
> Hi,
>
> i wanted to know if anyone succeeded in building glusterfs-3.1.4 on
> FreeBSD. The problems will probably by manifold. One of them is there is
> no TCP_KEEPALIVE. I am using some older versions of glusterfs on
> FreeBSD and know there is no support but i'm not ready to give up hope
> so quickly.
FreeBSD has socket level keepalive calls that can be used with 
setsockopt() (SO_KEEPALIVE). The call to setsockopt() with TCP_KEEPALIVE 
should be wrapped under #ifndef GF_BSD_HOST_OS

> socket.c: In function '__socket_keepalive':
> socket.c:383: error: 'TCP_KEEPALIVE' undeclared (first use in this
> function)
> socket.c:383: error: (Each undeclared identifier is reported only once
> socket.c:383: error: for each function it appears in.)
> socket.c: In function '__socket_read_vectored_request':
> socket.c:826: warning: implicit declaration of function 'xdr_sizeof'
>
> thanks,
> Leon
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




More information about the Gluster-users mailing list