2168
- 收藏
- 点赞
- 分享
- 举报
用海思平台工具链交叉编译crtmp服务器出现然后出现一堆错误
用海思平台工具链交叉编译crtmp服务器出现然后出现一堆错误,请问如何解决?
之前crtmpserver在虚拟机下编译通过,现在将cmake文件修改后进行交叉编译,然后出现一堆错误,日志如下,请问怎么解决呢?
[ 10%] Generating ../precompiled.gch/Debug.c++/common.gch
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation
In file included from /opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:43,
from /opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/basic_ios.h:39,
from /opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/ios:45,
from /opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/istream:40,
from /opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/fstream:40,
from /home/fb/crtmpserver/sources/common/include/platform/linux/linuxplatform.h:41,
from /home/fb/crtmpserver/sources/common/include/platform/platform.h:32,
from /home/fb/crtmpserver/sources/common/include/common.h:24:
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:45: error: expected ';' before '*' token
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:49: error: '__ctype_mask_t' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:50: error: 'mask' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:51: error: 'mask' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:52: error: 'mask' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:53: error: 'mask' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:54: error: 'mask' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:162: error: 'mask' has not been declared
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:179: error: 'mask' has not been declared
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:195: error: expected ';' before '(' token
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:210: error: expected ';' before 'const'
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:211: error: expected ';' before '(' token
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:224: error: expected ';' before 'char_type'
m-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1192: error: 'mask' does not name a type
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1223: error: expected ',' or '...' before '__m'
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1243: error: 'mask' has not been declared
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1262: error: 'mask' has not been declared
/opt/hisi-linux/x86-arm/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1280: error: 'do_scan_is' declared as a 'virtual' field
make[2]: *** [precompiled.gch/Debug.c++/common.gch] Error 1
make[1]: *** [common/CMakeFiles/common_common_gch.dir/all] Error 2
make: *** [all] Error 2
我来回答
回答1个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-08-23 10:43:37
-
2021-01-13 16:56:34
-
2018-06-21 20:06:00
-
2020-07-06 19:50:00
-
2019-04-01 19:03:38
-
2022-10-09 16:03:32
-
2023-03-03 15:32:11
-
2020-01-08 10:38:02
-
22013-11-15 10:10:04
-
22019-02-21 15:06:06
-
2015-09-07 16:23:44
-
2020-09-27 09:23:11
-
2020-10-30 11:11:35
-
2021-05-21 09:51:04
-
2020-08-11 11:37:04
-
2020-08-11 11:35:47
-
2016-01-20 21:06:46
-
2019-12-18 17:39:11
-
2013-04-22 16:30:45
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认