On Wed, May 17, 2006 at 03:36:29PM +0200, Madhush Mathews wrote:
> Hi
> 
> I have a MIPL 2.0 RC2 enabled Linux kernel 2.6.8.1 running on my
> testbed. However, when compiling the userspace part, I get a "OpenSSL
> Crypto Library required!" error. I have openssl-0.9.8a installed. The
> output I get is pasted below. 

Hello Madhush,

Is there a particular reason why you are using 2.0RC2 and not the
latest 2.0.1?

> checking for HMAC_Init in -lcrypto... no

Autoconf does not think you have OpenSSL.  There may be several
reasons why this fails.

> mh.c:53:2: #error "OpenSSL Crypto Library required!"
> mh.c: In function `calculate_auth_data':
> mh.c:426: error: `HMAC_CTX' undeclared (first use in this function)

It seems also that CPP can't find OpenSSL headers either.

> Has anyone had a similar problem? Suggestions/solutions would be
> appreciated.

It would seem there is something wrong with your OpenSSL installation.
One thing that comes to my mind is that you might have one of those
distributions that splits packages into user and devel, and when you
compile you need the devel too.  Do you have
/usr/include/openssl/hmac.h, for example?

I would suggest upgrading to MIPL 2.0.1.  Even if you can't fix the
OpenSSL problem, 2.0.1 will work anyway.  There is built-in crypto
functions in 2.0.1 (originally intended for small devices, but works
anywhere).

Regards,

Antti

_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to