Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

howto build a openssl Version 0.9.8d

Hello everyone:

I try to build a new version of openssl 0.9.8d with the target build_libs.

The Makefile comes to an end without error messages.

Therefor i add in the Configure file the following line:

"altera","nios2-linux-uclibc-gcc:-O3 -fno-pic -Wall -DTERMIO -DBN_STRICT -DPURIFY -DL_ENDIAN -D_FILE_OFFSET_BITS=32 -mhw-mul::-D_REENTRANT:::BN_LLONG ::http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif ",

I use nios2-linux-uclibc-gcc version 3.4.6.

Using my own libssl/libcrypto my system crashes with BAD-MAC error

and enryption is very slow

Using the libcrypto from "hippo" everything is ok. (nios2libs.tar.bz2)

But this is an old Version.

Who to compile/configure a new openssl?

Which flags are needed?

Can someone help me?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I built the old version with buildroot.

    You may look at the makefiles in buildroot/package/openssl .

    I remove the thing about shared objects.

    It should be possible to change them to newer verion.