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 15:44:17 -0700

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?

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

> On Thu, Jun 26, 2008 at 02:31:32PM -0700, Scoped Ptr wrote:
> > Its on Ubuntu 8.04 compiled with gcc 4.1.2
> > The curl version is the latest one - 7.18.2
> >
> > Now i used the following to configure:
> > ./configure --disable-ftp --disable-file --disable-ldap --disable-dict
> > --disable-telnet --disable-tftp --disable-manual --disable-ipv6
> > --disable-verbose --disable-sspi --disable-crypto-auth --disable-cookies
> > --without-ssl --with-nss --without-zlib --without-libidn CC=/usr/local/
> > gcc-4.1.2/bin/gcc
>
> A custom compiler, hmmmm. You'll have to look at the file that's causes
> this error to show up and figure out where and why memory.h or memdebug.h
> is being included before stdlib.h.
>
> >>> 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