cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Errors while building

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 26 Jun 2008 16:12:35 -0700

On Thu, Jun 26, 2008 at 03:44:17PM -0700, Scoped Ptr wrote:
> There is one memory.h in /usr/include/ and one in curl/
> wudn't that be a problem. As my application included memory.h and now when I
> tried to build curl with it I started getting errors on
> 'memcpy not defined in this scope'. the memory.h in /usr/include includes
> <string.h>
>
> Is there anything I should take care to avoid this?

I'm confused--why would your application including memory.h affect the
building of libcurl? Are you building your application directly with the
libcurl sources instead of linking to the libcurl library? The only curl
source files your app should be referencing are those /usr/include/curl/*

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-27