Subject: Re: [libssh2] automake and friends

Re: [libssh2] automake and friends

From: Heiko Jansen <>
Date: Tue, 21 Nov 2006 10:36:21 +0100

Hi Daniel.

Am Dienstag, 21. November 2006 00:21 schrieb Daniel Stenberg
<> [Re: [libssh2] automake and friends]:

> Right, and it seemed that all the symbols you got problems with
> are using "inline". So I just now added a proper check for inline
> in configure.
> Please try again!

That did not resolve the problem, either.
In the meantime I have found a solution to the problem but I´m unsure
if it has any undesired side effects: simply adding
-- snip --
LIBSSH2_API int libssh2_packet_x11_open(LIBSSH2_SESSION *session, unsigned char *data, unsigned long datalen);
LIBSSH2_API int libssh2_poll_channel_write(LIBSSH2_CHANNEL *channel);
LIBSSH2_API int libssh2_packet_queue_listener(LIBSSH2_SESSION *session, unsigned char *data, unsigned long datalen);
LIBSSH2_API int libssh2_poll_listener_queued(LIBSSH2_LISTENER *listener);
-- / snip --
to ~/include/libssh2.h did the trick.

ssh2_sample.c still wouldn´t compile because the symbol "ceil" was
reported missing - but that was rather easily fixed by adding "-lm" to
the flags.

Another minor problem (which I recently reported to the bug tracker):
INSTALL mentions "--with-zlib" while uses "libz".


Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
libssh2-devel mailing list
Received on 2006-11-21