Subject: ssh rsaref/md.5 struct conflict
To: '' <>
From: Edwin Foo <>
List: tech-pkg
Date: 05/26/1999 09:22:06

I tried to install ssh using a freshly supped pkgsrc tree on both a i386 and
Alpha yesterday. In both cases, I got the following:

kabuf# make
cc -pipe -c -I.  -I./gmp-2.0.2-ssh-2 -I.//usr/include -DHAVE_CONFIG_H
-DHOST_KEY_FILE=\"/etc/ssh_host_key\" -DHOST_CONFIG_FILE=\"/etc/ssh_config\"
-DSSH_PROGRAM=\"/usr/pkg/bin/ssh1\" -DETCDIR=\"/etc\" -DPIDDIR=\"/var/run\"
-DSSH_BINDIR=\"/usr/pkg/bin\" -DTIS_MAP_FILE=\"/etc/\" -O2
-I/usr/pkg/include -I/usr/X11R6/include rsaglue.c
In file included from /usr/pkg/include/rsaref/md5.h:1,
                 from /usr/pkg/include/rsaref/rsaref.h:12,
                 from rsaglue.c:74:
/usr/include/md5.h:38: redefinition of `struct MD5Context'
/usr/include/md5.h:42: warning: redefinition of `MD5_CTX'
md5.h:21: warning: `MD5_CTX' previously declared here
*** Error code 1


On the i386, #ifdef 0'ing out the /usr/include/md5.h definition of struct
MD5Context completely appears to produce a working ssh and sshd (I'm using
it right now). On the alpha, the #ifdef 0 allows it to compile, but
ssh-keygen1 dumps core repeatedly during the make install and refuses to


Compaq Computer Corporation - Corporate Research
Cambridge Research Laboratory
(617) 551-7612 (Phone)
(617) 551-7650 (Fax)