cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: compiling php, getting socklen_t error

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 2 Feb 2004 15:16:56 +0100 (CET)

On Thu, 29 Jan 2004, Nicki Handy wrote:

> In file included from /usr/include/curl/multi.h:65,
> from /usr/include/curl/curl.h:1214,
> from /Users/assumpti/Desktop/php-4.3.4/ext/curl/curl.c:37:
> /usr/include/sys/socket.h:79: error: conflicting types for `socklen_t'
> /Users/assumpti/Desktop/php-4.3.4/main/php.h:147: error: previous
> declaration of `socklen_t'

I'm sorry, but this is a PHP-related error. The php.h file typedefs a variable
that is also typedefed in sys/socket.h.

You should probably bring this up and ask for advice in a suitable PHP forum.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-02-02