title: Cross compile libcurl for arm-linux-gnueabi-gcc
body: <p>I have been trying to cross compile libcurl 7.35.0 from ubuntu eclipse for  arm-linux-gnueabi-gcc++. 
  I have included -lcurl optons in GCC++ linker. when I am trying to compile the code in G++ compiler for the below code everything is going well and no error was there after building.</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;curl/curl.h&gt;
  using namespace std;
  
  int main()
  {
       return
  }
  </code></pre>
  
  <p>But when I am trying to cross compile using arm-linux-gnueabi-gcc++ but trying to Build this produces compilation errors:</p>
  
  <p>/usr/include/curl/curlrules.h:143:41: error: size of array ‘<strong>curl_rule_01</strong>’ is negative
  /usr/include/curl/curlrules.h:153:53: error: size of array ‘<strong>curl_rule_02</strong>’ is negative</p>
  
  <p>Kindly help me to guide how to cross compile libcurl for ARM.</p>