关于“/usr/include/openssl/bn.h 288 error: parse error before "BN_ULONG"解决方法
来源:互联网 发布:网络女主播新浪 编辑:程序博客网 时间:2024/06/10 10:33
问题如标题所示,一般出现这个问题基本上是交叉编译报的错,arm-elf-gcc和gcc编译是不同。
报这个错的原因是对BN_ULONG宏定义在arm-elf-gcc中不识别,故只需要将BN_ULONG的宏定义修改一下就可以了。可以将BN_ULONG单独作为一个定义,而不要和其他的宏定义放在一起,这样再用arm-elf-gcc编译就不会报错了。
文中有不到之处还请高手指点,有这方面的问题我们也可以相互探讨!
- 关于“/usr/include/openssl/bn.h 288 error: parse error before "BN_ULONG"解决方法
- 关于Error 1 error C1189: #error : "include 'stdafx.h' before including this file这个错误的解决方法
- /sysroot/usr/include/search.h:19: error: expected declaration specifiers or '...' before '__free_fn_
- /usr/include/linux/if_ppp.h:117: error: expected specifier-qualifier-list before 'aligned_u64' 解决方式
- parse error before `\'
- "parse error before *"
- linux下使用jsoncpp库出现“/usr/include/wchar.h:75:43: error: missing binary operator before token "("”
- json编译错误及解决: /usr/include/wchar.h:75:43: error: missing binary operator before token "("
- 解决/usr/include/sys/types.h:153: error: duplicate ‘unsigned’
- error:#include"Point.h";
- 解决:fatal error C1189: #error : include 'stdafx.h' before including this file for PCH
- /usr/include/features.h:374:25: fatal error: sys/cdefs.h: 没有那个文件或目录 # include <sys/cdefs.h>
- ../include/squid_md5.h:27:2: error: #error Cannot find OpenSSL MD5 headers【squid安装中】
- error: /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
- make Error::/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
- include/linux/if_ppp.h:135: error: expected specifier-qualifier-list before 'aligned_u64'
- QT经典错误:/usr/include/qt4/QtCore/qatomic_i386.h:132: error: impossible constraint in 'asm'
- /host/android-ndk-r7/mytoolchain/bin/../sysroot/usr/include/crypt.h:69: error: expected ',' or ';' b
- 2012,当我们谈论移动互联网创业时,我们在谈论些什么?
- System.IO.FileSystemWatcher 监视目录文件的状态
- python测试二进制文件
- Server U 的使用
- jQuery选择器完整介绍
- 关于“/usr/include/openssl/bn.h 288 error: parse error before "BN_ULONG"解决方法
- 织梦如何制作install安装文件
- Win7清除程序的最近打开记录
- extjs getDom 和 getCmp
- linux命令的oracle运用(一) .
- 移植android默认参数设置
- Oracle SQL优化建议
- 最终还是签约华为——纪念我的求职历程
- 程序的本质