Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66189 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26950 invoked from network); 25 Feb 2013 14:08:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2013 14:08:53 -0000 Authentication-Results: pb1.pair.com header.from=dclarke@blastwave.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dclarke@blastwave.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain blastwave.org from 210.87.62.131 cause and error) X-PHP-List-Original-Sender: dclarke@blastwave.org X-Host-Fingerprint: 210.87.62.131 comm.purplecow.org Solaris 10 (beta) Received: from [210.87.62.131] ([210.87.62.131:52969] helo=comm.purplecow.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F6/C7-10787-3707B215 for ; Mon, 25 Feb 2013 09:08:53 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from comm.purplecow.org ([127.0.0.1]) by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTP id <0MIS00HTG4MOVI00@comm.purplecow.org> for internals@lists.php.net; Tue, 26 Feb 2013 01:08:48 +1100 (EST) Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org) with IPv4:25 by ASSP.nospam; Tue, 26 Feb 2013 01:08:48 +1100 Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Mon, 25 Feb 2013 09:08:48 -0500 To: =?iso-8859-1?Q?Johannes_Schl=FCter?= Cc: internals@lists.php.net, christopher.jones@oracle.com Message-ID: Date: Mon, 25 Feb 2013 09:08:48 -0500 X-Mailer: Sun Java(tm) System Messenger Express 6.3-6.03 (built Mar 14 2008; 32bit) Content-language: en X-Accept-Language: en Priority: normal In-reply-to: <1361797414.2376.42.camel@guybrush> References: <1361797414.2376.42.camel@guybrush> Subject: Re: [PHP-DEV] PHP 5.4.12 and libcurl 7.29.0 configure problem From: dclarke@blastwave.org (Dennis Clarke) > 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. Yep. I looked at that too. Thought it was obscure but okay, workable I guess. > 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. Everything here is -m64 and -xtarget=ultraT2 so not sure where else to look. dc