FAQ
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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 12 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedFeb 25, '13 at 6:59a
activeFeb 25, '13 at 6:46p
posts12
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase