Subject: [libssh2] CVS build failures

[libssh2] CVS build failures

From: Daniel Stenberg <>
Date: Fri, 8 Jun 2007 23:29:01 +0200 (CEST)


I tried on two of my Debian unstable machines, and both give me this:

$ ./buildconf
$ ./configure --enable-debug --disable-shared
$ make
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src -DLIBSSH2DEBUG -g -I/usr/include -g -W -Wall
-Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs -Winline
-Wmissing-prototypes -Wmissing-declarations -Wundef -Wno-long-long
-Wsign-compare -Wfloat-equal -Wno-format-nonliteral -Wendif-labels
-Wstrict-prototypes -Wdeclaration-after-statement -MT channel.lo -MD -MP -MF
".deps/channel.Tpo" -c -o channel.lo channel.c; \
         then mv -f ".deps/channel.Tpo" ".deps/channel.Plo"; else rm -f
".deps/channel.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2DEBUG -g -I/usr/include -g
-W -Wall -Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs -Winline
-Wmissing-prototypes -Wmissing-declarations -Wundef -Wno-long-long
-Wsign-compare -Wfloat-equal -Wno-format-nonliteral -Wendif-labels
-Wstrict-prototypes -Wdeclaration-after-statement -MT channel.lo -MD -MP -MF
.deps/channel.Tpo -c channel.c -o channel.o
In file included from libssh2_priv.h:67,
                  from channel.c:38:
../include/libssh2.h:360: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'libssh2_channel_read_ex'
In file included from channel.c:38:
libssh2_priv.h:204: error: expected specifier-qualifier-list before 'uint32_t'
libssh2_priv.h:219: error: expected specifier-qualifier-list before 'uint32_t'
libssh2_priv.h:317: error: expected specifier-qualifier-list before 'uint32_t'
channel.c: In function 'libssh2_channel_open_ex':
channel.c:268: error: 'LIBSSH2_CHANNEL' has no member named 'write_packet'
channel.c:269: error: 'LIBSSH2_CHANNEL' has no member named 'write_packet'
channel.c:270: error: 'LIBSSH2_CHANNEL' has no member named 'write_packet'
channel.c: In function 'libssh2_channel_handle_extended_data2':
channel.c:1142: error: 'LIBSSH2_CHANNEL' has no member named 'extData2_state'
channel.c:1147: error: 'LIBSSH2_CHANNEL' has no member named 'extData2_state'

I have to admit it isn't obvious to me why this happens, but I didn't research
very carefully yet.

This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
libssh2-devel mailing list
Received on 2007-06-08