[OpenAFS-devel] Build issues on FreeBSD

Russ Allbery rra@stanford.edu
Mon, 24 May 2010 10:01:12 -0700


Aditya Sarawgi <sarawgi.aditya@gmail.com> writes:

> After uupdating the openafs source I am unable to build openafs on FreeBSD
> I'm getting 
> In file included from ./afsutil.h:27,
>                  from ./assert.c:21:
> /usr/include/sys/socket.h:71: error: conflicting types for 'socklen_t'
> /home/aditya/openafs/include/afs/stds.h:63: error: previous declaration of 'socklen_t' was here
> *** Error code 1

> I think 
> Change Ib5aeb600: Autoconf: Use a standard test for socklen_t
> http://gerrit.openafs.org/#change,1972
> this commit broke the build. Please Fix

Could you provide some more information, particularly the config.log
output around socklen_t?  For some reason, configure didn't think your
system had a socklen_t type despite the fact that it does.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>