Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15051 invoked from network); 25 Feb 2013 13:02:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2013 13:02:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:62364] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/75-10787-7F06B215 for ; Mon, 25 Feb 2013 08:02:48 -0500 Received: from [192.168.2.20] (ppp-88-217-65-93.dynamic.mnet-online.de [88.217.65.93]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 49D5565D57; Mon, 25 Feb 2013 14:02:44 +0100 (CET) To: Dennis Clarke Cc: internals@lists.php.net, christopher.jones@oracle.com In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 25 Feb 2013 14:03:34 +0100 Message-ID: <1361797414.2376.42.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Mon, 2013-02-25 at 01:58 -0500, Dennis Clarke wrote: > > "/usr/local/include/curl/curlrules.h", line 143: zero or negative > subscript > "/usr/local/include/curl/curlrules.h", line 153: zero or negative > subscript > "conftest.c", line 249: warning: implicit function declaration: > strncasecmp > cc: acomp failed for conftest.c looking at my version of curlrules.h I read #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1 #define CurlchkszGE(t1, t2) sizeof(t1) >= sizeof(t2) ? 1 : -1 /* * Verify that the size previously defined and expected for long * is the same as the one reported by sizeof() at compile time. */ typedef char __curl_rule_01__ [CurlchkszEQ(long, CURL_SIZEOF_LONG)]; // <-- Line 143 So this is a fancy check for statically checking that sizeof(long) == CURL_SIZEOF_LONG. So my guess would be that there is some mix between 32 and 64 bit mode, try compiling with setting CFLAGS="-m64" (or CFLAGS="-m32") for configure. johannes