cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Build Problem. (FreeBSD 4.1.1-STABLE)

From: SM <nntp_at_iname.com>
Date: Wed, 26 Dec 2001 19:13:28 +0400

Hi,
At 11:29 26-12-2001 +0700, Anders Almman wrote:
>>>>
Trying to build on FreeBSD 4.1.1-STABLE.
  
cURL v.7.9.2
  
I get this problem, any clues?
  
best regards for a quick response.
  
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include
-I/home/reserve/.usr/include -I/home/reserve/.usr/include
-I/home/reserve/.usr/openssl/include/openssl
-I/home/reserve/.usr/openssl/include -g -O2 -c sendf.c -fPIC -DPIC -o
.libs/sendf.lo
In file included from sendf.c:31:
<<<<

Apply the following patch to lib/sendf.c :

--- lib/sendf.c.orig Mon Dec 10 23:35:10 2001
+++ lib/sendf.c Mon Dec 10 23:35:17 2001
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
+#include <sys/types.h>
              
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> /* required for send() & recv() prototypes */

Regards,
-sm
Received on 2001-12-26