cURL / Mailing Lists / curl-library / Single Mail

curl-library

libssh2 >= 1.0 now mandatory?

From: Guenter <lists_at_gknw.net>
Date: Tue, 19 May 2009 18:18:02 +0200

Hi,
I've just tried to compile curl 7.19.5 against my distribution-provided
libs, but get this:
libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../include
-I../lib -I../lib -I../ares -I../ares -g0 -O2 -Wno-system-headers -MT
ssh.lo -MD -MP -MF .deps/ssh.Tpo -c ssh.c -fPIC -DPIC -o .libs/ssh.o
ssh.c: In function ‘ssh_block2waitfor’:
ssh.c:2154: error: ‘LIBSSH2_SESSION_BLOCK_INBOUND’ undeclared (first use
in this function)
ssh.c:2154: error: (Each undeclared identifier is reported only once
ssh.c:2154: error: for each function it appears in.)
ssh.c:2155: error: ‘LIBSSH2_SESSION_BLOCK_OUTBOUND’ undeclared (first
use in this function)
ssh.c: In function ‘ssh_easy_statemach’:
ssh.c:2197: error: ‘LIBSSH2_SESSION_BLOCK_INBOUND’ undeclared (first use
in this function)
ssh.c:2200: error: ‘LIBSSH2_SESSION_BLOCK_OUTBOUND’ undeclared (first
use in this function)
make[2]: *** [ssh.lo] Fehler 1
make[2]: Leaving directory `/home/hacki/projects/curl-7.19.5/lib'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/hacki/projects/curl-7.19.5/lib'

libssh2 version is
#define LIBSSH2_VERSION "0.19.0-20080814"

if we really require a newer libssh2 version now shouldnt we then reject
older versions at configure level already?

Gün.
Received on 2009-05-19