Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2009 15:06:13 -0500
From:      Ron Wilhoite <ronw@bals.org>
To:        Tim Kellers <timothyk@wallnet.com>
Cc:        ports@freebsd.org
Subject:   Re: libssh2 upgrade error
Message-ID:  <4984AF35.3070905@bals.org>
In-Reply-To: <4984A7EC.7060801@wallnet.com>
References:  <4984A7EC.7060801@wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4984AF35.3070905>