Compiling openssh-4.0p1 on Solaris 10.

Peter Losher Peter_Losher at isc.org
Tue Jun 7 18:55:05 EST 2005


Darren Tucker wrote:

> Others have reported these errors can be caused by an old sys/cdefs.h
> header left over from previous gcc installation:
> http://bugzilla.mindrot.org/show_bug.cgi?id=1013

Grr, this was a fresh Solaris 10 install (which comes w/ gcc-3.4.2) so
there was no 'previous gcc' install for the file to be orphaned by...

>> Has anyone successfully compiled 4.1p1 on a Solaris 10 system?
>
>
> I built 4.0p1 on Solaris 10/x86 a while back but not 4.1p1.

Well after hearing the trouble other folks had w/ the gcc that came w/
Solaris 10, I went off and built 3.4.4...

-=-
% /usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.4/specs
Configured with: ./configure : (reconfigured) ./configure
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.4.4
-=-

And that fixed the first problem, but it now barfs at the linking phase...

-=-
/usr/local/bin/gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o
sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/
-L/usr/sfw/lib -R/usr/sfw/lib  -R/usr/local/krb5/lib -lssh
-lopenbsd-compat -lresolv -lcrypto -lrt -lz -lsocket -lnsl
-L/usr/local/krb5/lib -R/usr/local/krb5/lib -lgssapi_krb5 -lkrb5
-lk5crypto -lkrb5support -lcom_err -lresolv -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
EVP_aes_192_cbc                     ./libssh.a(cipher.o)
EVP_aes_256_cbc                     ./libssh.a(cipher.o)
ld: fatal: Symbol referencing errors. No output written to ssh
collect2: ld returned 1 exit status
gmake: *** [ssh] Error 1
-=-

Looks like more OpenSSL issues?

Best Wishes - Peter
--
Peter_Losher at isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050607/9d04dc8c/attachment.bin 


More information about the openssh-unix-dev mailing list