On Sat, Nov 11, 2006 at 03:40:34PM +0100, Federico Giannici wrote:
[...]
> >    /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: `NID_sha256'
> >    undeclared (first use in this function)
> >    /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: (Each
> >    undeclared identifier is reported only once
> >    /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: for each
> >    function it appears in.)
> >    /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:168: error: `NID_sha384'
> >    undeclared (first use in this function)
> >    /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:171: error: `NID_sha512'
> >    undeclared (first use in this function)
> >    *** Error code 1
> >
> >    Stop in /usr/src/lib/libssl/crypto.
> >    *** Error code 1
> >
> >    Stop in /usr/src/lib/libssl.
> >
> >
> >    What could be the problem?

Here are the instructions from the top of the patch.  You can't skip any
steps here.

        Apply by doing:
                cd /usr/src
                patch -p0 < 002_openssl.patch

        And then rebuild and install OpenSSL:
                cd lib/libssl
                make obj
                make depend
                make includes
                make
                make install

You appear to have at least skipped the 'make includes' step.

Reply via email to