Forum Discussion
Altera_Forum
Honored Contributor
20 years agoopenSSL build error
Hello, I am following tschmelcher written guide "sshd-guide". http://forum.niosforum.com/forum/index.php?showtopic=3252 (http://forum.niosforum.com/forum/index.php?showtopic=3252) In the...
Altera_Forum
Honored Contributor
20 years agoThe error does not matter because it is post building the libcrypto.a and the libssl.a. The error appears when applications for SSL are build which we do not need. The error happens because the Nios does not support shared libs.
If you want to compile without error make following lines a comment in openssl.mk file: $(OPENSSL_DIR)/apps/openssl: $(OPENSSL_DIR)/Makefile $(MAKE1) CC=$(TARGET_CC) -C $(OPENSSL_DIR) all # Work around openssl build bug to link libssl.a with libcrypto.a. # -rm $(OPENSSL_DIR)/libssl.a.*.*.* # $(MAKE1) CC=$(TARGET_CC) -C $(OPENSSL_DIR) do_linux-shared