20222
- 收藏
- 点赞
- 分享
- 举报
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
-
2018-03-30 10:37:55
-
2019-06-24 16:11:26
-
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-03-26 10:54:02
-
2015-12-30 22:18:30
-
2017-09-19 14:57:05
-
2016-09-24 09:09:24
-
2020-04-17 16:16:03
-
2020-05-20 09:49:20
-
2020-07-30 15:54:29
-
2019-01-27 12:00:45
-
2022-05-17 18:24:06
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认