> 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to