cURL / Mailing Lists / curl-library / Single Mail

curl-library

curlrules.h:143: error: size of array __curl_rule_01__ is negative in RH Linux

From: S, Shubha <shubha-s_at_hp.com>
Date: Fri, 13 Apr 2012 11:42:14 +0000

Hi All,
I have installed libcurl as instructed in Step1. Install on Linux of this link http://code.google.com/p/mysql-udf-http/ and when I am trying to install mysql-udf I am getting this error:
In file included from /usr/include/curl/curl.h:35,
                 from mysql-udf-http.c:5:
/usr/include/curl/curlrules.h:143: error: size of array â__curl_rule_01__â is negative
/usr/include/curl/curlrules.h:153: error: size of array â__curl_rule_02__â is negative
mysql-udf-http.c: In function âmyreallocâ:
mysql-udf-http.c:29: warning: return makes pointer from integer without a cast
make[2]: *** [mysql-udf-http.lo] Error 1
make[2]: Leaving directory `/mysql-udf-http-1.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mysql-udf-http-1.0/src'
make: *** [all-recursive] Error 1

I am trying to do this mysql-udf setup in Redhat Linux 5.5(64bit). Require help for resolving this "size of array is negative".
Many thanks in advance!

Thanks!
Regards,
Shubha

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-13