Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

howto build a openssl Version 0.9.8d

Altera_Forum
Honored Contributor II
1,256 Views

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?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
513 Views

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.
0 Kudos
Reply