ubuntu12.04上自带安装了1.0.1版本的OpenSSL,由于需要调试1.0.1m版本的代码,所以在官网上下载openssl1.0.1m源码包进行安装。但在安装过程中出现以下错误:
md2test.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
通过google找到解决方法:
The problem is that md2test.c is actually a symbolic link, or symlink to dummytest.c.If you extracted openssl-1.0.1m.tar.gz with anything other than tar xf openss