Compile of openssh 4.2 failed with openssl 0.9.8

Thomas Litsch tlitsch at gmx.de
Mon Sep 12 07:37:36 EST 2005


Hello,

Tim Rice wrote:

>>sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/include/openssl 
> 
>                                                     ^^^^^^^^^^^^^^^^^^^^^^
> I suspect this is your problem

Unfortunately not.

>>./configure --prefix=/usr --sysconfdir=/etc/ssh \
>>         --libexecdir=/usr/lib/ssh \
  >
> Try droping the --with-ssl-dir= line.

I tried without the ssl line: error again.
I tried with no options passed to configure, but the error occured again.


I'm not a programmer, but could it be a problem of an too old gcc?
I'm using gcc Version 3.2.2.


Here's  the Output again:
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o 
sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/  -lssh 
-lopenbsd-compat -lresolv -lcrypto -lutil -lz -lnsl  -lcrypt
./libssh.a(rsa.o): In function `rsa_generate_additional_parameters':
/root/openssh-4.2p1/rsa.c:136: undefined reference to `BN_mod'
/root/openssh-4.2p1/rsa.c:139: undefined reference to `BN_mod'
collect2: ld returned 1 exit status


-- 
Gruss,                        /"\
Thomas Litsch                 \ /  ASCII ribbon campain
www.linux-schule.de            X   against HTML mailing
skype Kontakt: tlitsch        / \  and posting




More information about the openssh-unix-dev mailing list