gcc -o ssh-keygen ssh-keygen.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -L/us r/lib -lssh -lopenbsd-compat -lz -lcrypto collect2: ld returned 2 exit status ld: Undefined symbol _strtoul *** Error code 1 make: Fatal error: Command failed for target `ssh-keygen' strtoul is in libc on Solaris, but not SunOS 4. Workaround: Put strtoul.c (from OpenBSD or some other source) the openssh compile directory, and then: gcc -o ssh-keygen ssh-keygen.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -L/us r/lib -lssh -lopenbsd-compat -lz -lcrypto strtoul.o [Resume normal make/make install sequence here.]
ssh configuration : ./configure --with-mantype=man --with-ssl-dir=/usr/local/ssl --w ith-zlib=/usr/ lib --with-privsep-user=sshd --with-default-path=/usr/local/bin:/usr/bin:/site/ scripts --with-superuser-path=/usr/local/bin:/usr/bin:/usr/sbin:/usr/local/sbin
This has already been fixed. You could have also used the patch in bug #670 or a recent snapshot. *** This bug has been marked as a duplicate of 670 ***
Mass change of RESOLVED bugs to CLOSED