libssh2 upgrade error
Ron Wilhoite
ronw at bals.org
Sat Jan 31 12:38:45 PST 2009
On 01/31/2009 02:35 PM Tim Kellers wrote:
> While portupgrading libssh2, sources csuped immediately before this
> error a few minutes ago:
>
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating include/libssh2_config.h
> ===> Building for libssh2-0.2,1
> cc -o channel.o channel.c -c -O2 -fno-strict-aliasing -pipe
> -I/usr/include -I/usr/include -Wall -g -I../include/ -fPIC
> In file included from channel.c:38:
> ../include/libssh2_priv.h:181: error: 'MD5_DIGEST_LENGTH' undeclared
> here (not in a function)
> ../include/libssh2_priv.h:184: error: 'SHA_DIGEST_LENGTH' undeclared
> here (not in a function)
> channel.c: In function 'libssh2_channel_direct_tcpip_ex':
> channel.c:230: warning: pointer targets in passing argument 6 of
> 'libssh2_channel_open_ex' differ in signedness
> *** Error code 1
>
> Nothing relevant that I saw in /usr/ports/UPDATING
>
I had the same error. The patch-libssh2_priv.h file didn't make it into
my ports tree yet - at least via portsnap.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/libssh2/files/?f=h#dirlist
If you add the files directory and that file, it builds and upgrades
with no errors.
Ron Wilhoite
More information about the freebsd-ports
mailing list