#251: Error during make expected specifier-qualifier-list before
'LIBSSH2_SEND_FUNC'
----------------------+--------------------
Reporter: rdenault | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.4.3
Component: API | Version: 1.4.2
Keywords: | Blocked By:
Blocks: |
----------------------+--------------------
When making libssh2, on linux redhat, compilation of channel.c returns the
following errors.
In file included from channel.c:41:
libssh2_priv.h:564: error: expected specifier-qualifier-list before
'LIBSSH2_SEND_FUNC'
libssh2_priv.h:1000: error: expected ')' before 'socket'
libssh2_priv.h:1002: error: expected ')' before 'socket'
configure options:
INCLUDES=-I/opt2/local/include
LDFLAGS=-L/opt2/local/lib64
export INCLUDES LDFLAGS
./configure --enable-rpath --prefix=/opt2/local --libdir=/opt2/local/lib64
--with-gnu-ld --with-libssl-prefix=/opt2/local --with-libz
-- Ticket URL: <https://trac.libssh2.org/ticket/251> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2012-11-13