cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Undefined Reference Error while building LIBCURL

From: Mathew Simon <msimon_at_simdol.com>
Date: Sat, 18 Aug 2007 14:26:18 -0500

Hi Guenter,

I tried again with the LIBCURL daily snapshot of August 18, 2007. I get
the following link errors.

Creating library file: libcurldll.a
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0xc4):
undefined reference to `inflateInit_'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0xff):
undefined reference to `deflateInit_'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0x1ef):
undefined reference to `deflate'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0x2bd):
undefined reference to `inflate'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0x2dd):
undefined reference to `deflate'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0x36e):
undefined reference to `inflate'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0x606):
undefined reference to `inflateEnd'
C:/Codeblocks/libssh2-0.18/win32/libssh2.a(comp.o):comp.c:(.text+0x634):
undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
mingw32-make: *** [libcurl.dll] Error 1

Regards,
Mathew Simon

-----Original Message-----
From: Guenter Knauf [mailto:eflash_at_gmx.net]
Sent: Saturday, August 18, 2007 2:05 PM
To: msimon_at_simdol.com; curl-library_at_cool.haxx.se
Subject: Re: Undefined Reference Error while building LIBCURL

Hi,
> I am trying to build LIBCURL with SSH2 for using it's SFTP feature.
> After long struggles, I managed to compile LIBZ, OPENSSL, and LIBSSH2
> using Mingw32 on the Win-XP platform. But the Make of LIBCURL fails
> with "undefined reference" errors. I tried two versions of LIBSSH2
> 0.17 and the 0.18 daily snap shot of August 18, 2007. Both versions
> give the same errors. The CURL source I used are from CURL-7.16.4. How

> can I proceed with the compilation? Thanks in advance.
I believe I've fixed that already in CVS - can you please also use a
libcurl daily snapshot, or CVS?

Guenter.
Received on 2007-08-18