Re: problems building sfio under BSD

John Capo (jc@irbs.com)
Sat, 11 Jan 1997 12:47:47 -0500

Message-Id: <Mutt.19970111124747.jc@irbs.irbs.com>
Date: Sat, 11 Jan 1997 12:47:47 -0500
From: jc@irbs.com (John Capo)
To: maurice@hevanet.com
Subject: Re: problems building sfio under BSD
In-Reply-To: <m0vj66V-0010rpC@vista.hevanet.com>; from Maurice L. Marvin on Jan 11, 1997 08:18:35 +0000

Quoting Maurice L. Marvin (maurice@hevanet.com):
> 	Hello.  I'm attempting to build sfio for use with fast-cgi under BSD.  
> My initial problems were solved by Gary Shea's message to the list on Dec. 16 
> (thanks Gary).  However, I'm now getting these errors:
> 
> # make
> gcc -c -I. -O  sfclose.c
> In file included from sfclose.c:1:
> sfhdr.h:619: conflicting types for `lseek'
> /usr/include/sys/types.h:84: previous declaration of `lseek'
> sfhdr.h:650: conflicting types for `recv'
> /usr/include/sys/socket.h:331: previous declaration of `recv'
> *** Error code 1
> 

The prototypes in /usr/include are correct for lseek() and recv()
since these are system calls.  Comment out the prototypes in sfhdr.h
or modify configure/configure.in to DTRT.

John Capo
IRBS Engineering