[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recompile openssl - how? (Re: ssh protocol version 1 and 2 allowed?)
On Mon, Jul 01, 2002 at 11:13:06PM +0200, Henning Brauer wrote:
> right.
> on sun4m systems compiling OpenSSL and OpenSSH w/ -mv8 speeds up things
> quite a lot.
Which leads me to the question: What's the proper way to recompile
OpenSSL (SS5/170, OpenBSD 3.1 w/ errata)? I tried the following:
cd /usr/src/lib/libssl
make obj
make cleandir
make depend
make
make fails with
"...src/crypto/objects/obj_dat.c:68: obj_dat.h: No such file or directory"
So I searched the archives and found out about obj_dat.pl in
/usr/src/lib/libssl/src/crypto/objects
(http://www.sigmasoft.com/~openbsd/archive/openbsd-misc/200003/msg01038.html)
So I generated obj_dat.h using the following command:
perl obj_dat.pl objects.h obj_dat.h
(taken from the description in obj_dat.pl)
Then, I rerun the steps above (make obj -> make), but make now fails
with:
In file included from
/usr/src/lib/libssl/crypto/../src/crypto/objects/obj_dat.c:68:
/usr/src/lib/libssl/crypto/../src/crypto/objects/obj_dat.h:339:
`NID_ld_ce' undeclared here (not in a function)
/usr/src/lib/libssl/crypto/../src/crypto/objects/obj_dat.h:339:
initializer element is not constant
/usr/src/lib/libssl/crypto/../src/crypto/objects/obj_dat.h:339: (near
initialization for `nid_objs[81].nid')
*** Error code 1
I could not find any reference to this in the archives, so if anybody
has an idea what I'm missing here, I'd appreciate some insight.
Thanks!
Thomas
--
-----------------------------------------------------------------------------
Thomas Ribbrock http://www.ribbrock.org ICQ#: 15839919
"You have to live on the edge of reality - to make your dreams come true!"