5011
- 收藏
- 点赞
- 分享
- 举报
编译osdrv时出现错误
求助,在编译osdrv时报错,具体是在编译busybox时报以下错误:
[code]---------task [5] build busybox
rm /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 -rf
tar xzf /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2.tgz -C /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox
find /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 | xargs touch
cp /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2/config_aarch64_a73_a53_softfp_neon \
/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2/.config
pushd /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2/;make ARCH=arm64 CROSS_COMPILE=aarch64-himix100-linux- -j 20 >/dev/null;popd
/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
applets/usage.c: In function ‘main’:
applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array.usage, strlen(usage_array.usage) + 1);
^
applets/usage_pod.c: In function ‘main’:
applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments [-Wformat-security]
printf(usage_array.aname);
^
applets/applets.c:1:0: error: unknown value ‘cortex-a73.cortex-a53’ for -mcpu
/* vi: set sw=4 ts=4: */
make[2]: *** [applets/applets.o] Error 1
make[1]: *** [applets_dir] Error 2
make[1]: *** 正在等待未完成的任务....
/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv
make CROSS_COMPILE=aarch64-himix100-linux- -C /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 install
make[1]: Entering directory '/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2'
HOSTCC applets/usage
applets/usage.c: In function ‘main’:
applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array.usage, strlen(usage_array.usage) + 1);
^
GEN include/usage_compressed.h
HOSTCC applets/applet_tables
GEN include/applet_tables.h include/NUM_APPLETS.h
GEN include/applet_tables.h include/NUM_APPLETS.h
CC applets/applets.o
applets/applets.c:1:0: error: unknown value ‘cortex-a73.cortex-a53’ for -mcpu
/* vi: set sw=4 ts=4: */
scripts/Makefile.build:197: recipe for target 'applets/applets.o' failed
make[2]: *** [applets/applets.o] Error 1
Makefile:372: recipe for target 'applets_dir' failed
make[1]: *** [applets_dir] Error 2
make[1]: Leaving directory '/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2'
Makefile:289: recipe for target 'hibusybox' failed
make: *** [hibusybox] Error 2[/code]
有大神帮忙看下是咋回事吗
[code]---------task [5] build busybox
rm /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 -rf
tar xzf /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2.tgz -C /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox
find /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 | xargs touch
cp /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2/config_aarch64_a73_a53_softfp_neon \
/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2/.config
pushd /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2/;make ARCH=arm64 CROSS_COMPILE=aarch64-himix100-linux- -j 20 >/dev/null;popd
/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
applets/usage.c: In function ‘main’:
applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array.usage, strlen(usage_array.usage) + 1);
^
applets/usage_pod.c: In function ‘main’:
applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments [-Wformat-security]
printf(usage_array.aname);
^
applets/applets.c:1:0: error: unknown value ‘cortex-a73.cortex-a53’ for -mcpu
/* vi: set sw=4 ts=4: */
make[2]: *** [applets/applets.o] Error 1
make[1]: *** [applets_dir] Error 2
make[1]: *** 正在等待未完成的任务....
/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv
make CROSS_COMPILE=aarch64-himix100-linux- -C /media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2 install
make[1]: Entering directory '/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2'
HOSTCC applets/usage
applets/usage.c: In function ‘main’:
applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array.usage, strlen(usage_array.usage) + 1);
^
GEN include/usage_compressed.h
HOSTCC applets/applet_tables
GEN include/applet_tables.h include/NUM_APPLETS.h
GEN include/applet_tables.h include/NUM_APPLETS.h
CC applets/applets.o
applets/applets.c:1:0: error: unknown value ‘cortex-a73.cortex-a53’ for -mcpu
/* vi: set sw=4 ts=4: */
scripts/Makefile.build:197: recipe for target 'applets/applets.o' failed
make[2]: *** [applets/applets.o] Error 1
Makefile:372: recipe for target 'applets_dir' failed
make[1]: *** [applets_dir] Error 2
make[1]: Leaving directory '/media/yuming/Pro/Projects/Hi3559AV100_SDK_V2.0.3.1/osdrv/opensource/busybox/busybox-1.26.2'
Makefile:289: recipe for target 'hibusybox' failed
make: *** [hibusybox] Error 2[/code]
有大神帮忙看下是咋回事吗
我来回答
回答9个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-05-16 14:13:03
-
2016-08-13 14:13:19
-
2020-07-06 19:26:57
-
2020-08-11 11:37:04
-
2020-08-11 11:35:47
-
2024-05-07 10:43:13
-
2017-02-07 09:31:05
-
2020-04-04 14:37:50
-
2020-07-08 11:29:20
-
2017-06-28 14:24:35
-
2017-11-21 18:46:31
-
2016-11-16 09:39:51
-
2015-07-10 19:56:32
-
2017-02-06 11:44:12
-
2022-10-18 09:47:47
-
2017-08-25 13:30:31
-
2018-09-12 14:05:10
-
2021-04-10 23:14:48
-
2019-06-24 19:27:30
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5RK3588的DPHY0接lt6911uxe转HDMI抓帧分辨率不对
-
20求rv1106板子的sdk包或者开发板资料
-
10ss928烧录uboot失败
-
10求助,3588调试imx586和ov50c40时,按照瑞芯微的单摄8k配置好设备树后,驱动配置的8k分辨率的,但是只能抓到4k的图,且颜色偏粉
-
50帮忙解决个交叉编译的问题
-
20帮忙交叉编译个源码
-
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
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认