cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Errors while building

From: Scoped Ptr <scoped.ptr_at_gmail.com>
Date: Thu, 26 Jun 2008 16:28:19 -0700

Thanks Dan.

Yes I am building my application directly with the curl sources instead of
linking to the libcurl library ! So in that case it references the curl
headers in the source code itself.

On Thu, Jun 26, 2008 at 4:12 PM, Dan Fandrich <dan_at_coneharvesters.com>
wrote:

> 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