20267
- 收藏
- 点赞
- 分享
- 举报
OSDRV编译不成功
Win764位环境下的Ubuntu 32位虚拟机
交叉编译环境和uclibc、gclibc编译器都安装完整
请问各位大佬报错是什么原因,该如何解决?
~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv$ sudo make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3518a all SHELL=bash
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/image_uclibc -p
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/bin/board_uclibc -p
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/bin/pc -p
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/bin/board_uclibc/hifat -p
---------task [1] build boot
rm /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 -rf
tar xzf /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06.tgz -C /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot
find /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 | xargs touch
make -C /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- hi3518a_config
make[1]: Entering directory '/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06'
Configuring for hi3518a board...
make[1]: Leaving directory '/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06'
pushd /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06;make ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- -j 20 >/dev/null;popd
~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 ~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 3: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 3: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** No rule to make target '.depend', needed by '_depend'. Stop.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** No rule to make target '.depend', needed by '_depend'. Stop.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** [hello_world.o] Error 127
make[1]: *** [examples/standalone] Error 2
make[1]: *** Waiting for unfinished jobs....
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** [start.o] Error 127
make[1]: *** [arch/arm/cpu/hi3518/start.o] Error 2
In file included from default_image.c:31:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from fit_image.c:31:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/common/image.c:74:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from imximage.c:32:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
kwbimage.c: In function ‘kwbimage_verify_header’:
kwbimage.c:350:10: warning: variable ‘calc_exthdrcsum’ set but not used [-Wunused-but-set-variable]
uint8_t calc_exthdrcsum;
^
In file included from kwbimage.c:29:0:
kwbimage.c: At top level:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from mkimage.c:25:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv
cp /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/u-boot.bin /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/image_uclibc
cp: cannot stat '/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/u-boot.bin': No such file or directory
Makefile:117: recipe for target 'hiboot' failed
make: *** [hiboot] Error 1
交叉编译环境和uclibc、gclibc编译器都安装完整
请问各位大佬报错是什么原因,该如何解决?
~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv$ sudo make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3518a all SHELL=bash
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/image_uclibc -p
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/bin/board_uclibc -p
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/bin/pc -p
mkdir /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/bin/board_uclibc/hifat -p
---------task [1] build boot
rm /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 -rf
tar xzf /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06.tgz -C /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot
find /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 | xargs touch
make -C /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- hi3518a_config
make[1]: Entering directory '/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06'
Configuring for hi3518a board...
make[1]: Leaving directory '/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06'
pushd /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06;make ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- -j 20 >/dev/null;popd
~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06 ~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 3: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 3: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** No rule to make target '.depend', needed by '_depend'. Stop.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
bash: line 2: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** No rule to make target '.depend', needed by '_depend'. Stop.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** [hello_world.o] Error 127
make[1]: *** [examples/standalone] Error 2
make[1]: *** Waiting for unfinished jobs....
bash: arm-hisiv100nptl-linux-gcc: command not found
bash: arm-hisiv100nptl-linux-gcc: command not found
make[2]: *** [start.o] Error 127
make[1]: *** [arch/arm/cpu/hi3518/start.o] Error 2
In file included from default_image.c:31:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from fit_image.c:31:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/common/image.c:74:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from imximage.c:32:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
kwbimage.c: In function ‘kwbimage_verify_header’:
kwbimage.c:350:10: warning: variable ‘calc_exthdrcsum’ set but not used [-Wunused-but-set-variable]
uint8_t calc_exthdrcsum;
^
In file included from kwbimage.c:29:0:
kwbimage.c: At top level:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
In file included from mkimage.c:25:0:
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:547:12: warning: inline function ‘fit_parse_subimage’ declared but never defined
inline int fit_parse_subimage (const char *spec, ulong addr_curr,
^
/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/include/image.h:545:12: warning: inline function ‘fit_parse_conf’ declared but never defined
inline int fit_parse_conf (const char *spec, ulong addr_curr,
^
~/YY-His/Hi3518_SDK_V1.0.A.0/osdrv
cp /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/u-boot.bin /home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/pub/image_uclibc
cp: cannot stat '/home/yyt/YY-His/Hi3518_SDK_V1.0.A.0/osdrv/uboot/u-boot-2010.06/u-boot.bin': No such file or directory
Makefile:117: recipe for target 'hiboot' failed
make: *** [hiboot] Error 1
我来回答
回答32个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-07-04 17:50:56
-
2019-06-24 16:11:26
-
2018-03-30 10:37:55
-
2019-05-24 11:43:59
-
2019-09-04 23:24:20
-
2015-10-05 18:15:35
-
2015-08-20 18:05:11
-
2021-06-05 10:07:57
-
2019-01-09 19:44:36
-
2020-08-20 08:58:10
-
2015-12-30 22:18:30
-
2015-03-26 10:54:02
-
2017-09-19 14:57:05
-
2016-09-24 09:09:24
-
2020-07-30 15:54:29
-
2019-01-27 12:00:45
-
2020-03-24 10:52:15
-
2022-05-17 18:24:06
-
2020-05-20 09:49:20
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认