Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Building PolarSSL for Solaris x86 and SPARC
Despite the best attempts by authors of PolarSSL, it consistently does not build on Solaris out of the box. Several minor tweaks are needed to get it to compile properly.
Step-by-step guide for Solaris x86
- Modify include/gcm.h
- Add "-lsocket" and "-lnsl" to LD_FLAGS in the Makefiles under the "tests" and "programs" directories (if you plan on using these).
Step-by-step guide for Solaris SPARC
For SPARC, do the same steps above for x86 and then do the following additional step.
- Modify include/polarssl/config.h and comment out #define POLARSSL_HAVE_ASM. The SPARC assembly is broken in both v1.2.11 and v1.3.8. See the following comment in include/polarssl/bn_mul.h: "The Sparc64 assembly is reported to be broken. Disable it for now, until we're able to fix it."
although sometimes your Solaris make may not be flexible enough to handle the "make check" command.
although sometimes your Solaris make may not be flexible enough to handle the "make check" command.
Related articles
('contentbylabel' missing)