lfp1975

lfp1975

0个粉丝

7

问答

0

专栏

0

资料

lfp1975  发布于  2015-07-10 19:56:32
采纳率 0%
7个问答
21150

我在编译海思给的例程时,出现这个错误,怎么解决?

 
root@Ubunut10:~/hi3518/mpp/sample/venc# make
ls: 无法访问/hiwork/osdrvhi3518.C01: 没有那个文件或目录

请问什么原因?该怎么解决?
我来回答
回答9个
时间排序
认可量排序

fancong

0个粉丝

15

问答

0

专栏

2

资料

fancong 2015-07-10 20:57:48
认可0
这个错误不用管!  直接忽略就行了!编译不会报错的!

lfp1975

0个粉丝

7

问答

0

专栏

0

资料

lfp1975 2015-07-10 21:34:57
认可0
编绎OSDRV也错!
root@Ubunut10:~/hiwork/osdrv# make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3518a all
mkdir /root/hiwork/osdrv/pub/image_uclibc -p
mkdir /root/hiwork/osdrv/pub/bin/board_uclibc -p
mkdir /root/hiwork/osdrv/pub/bin/pc -p
mkdir /root/hiwork/osdrv/pub/bin/board_uclibc/hifat -p
---------task [1]        build boot
rm /root/hiwork/osdrv/uboot/u-boot-2010.06 -rf
tar xzf /root/hiwork/osdrv/uboot/u-boot-2010.06.tgz -C /root/hiwork/osdrv/uboot
find /root/hiwork/osdrv/uboot/u-boot-2010.06 | xargs touch
make -C /root/hiwork/osdrv/uboot/u-boot-2010.06 ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- hi3518a_config
make[1]: 正在进入目录 `/root/hiwork/osdrv/uboot/u-boot-2010.06'
Configuring for hi3518a board...
make[1]:正在离开目录 `/root/hiwork/osdrv/uboot/u-boot-2010.06'
pushd /root/hiwork/osdrv/uboot/u-boot-2010.06;make ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- -j 20 >/dev/null;popd
/bin/sh: pushd: not found
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/bin/sh: pushd: not found
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/bin/sh: pushd: not found
chmod: 无法访问"./configure": 没有那个文件或目录
/bin/sh: popd: not found
make[2]: *** [hipctools_clean] 错误 127
/bin/sh: popd: not found
make[1]: *** [hiboardtools_clean] 错误 127
/bin/sh: popd: not found
make: *** [hiboot] 错误 127

goodman

4个粉丝

30

问答

18

专栏

17

资料

goodman 2015-07-10 21:40:35
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=17982&ptid=8083]lfp1975 发表于 2015-7-10 21:34[/url]
编绎OSDRV也错!
root@Ubunut10:~/hiwork/osdrv# make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3518a  ...[/quote]

make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3518a all SHELL=bash

你回神奇的发现,能编译了。。。。。请叫我红领巾

lfp1975

0个粉丝

7

问答

0

专栏

0

资料

lfp1975 2015-07-17 16:13:08
认可0
真的能编译了,谢谢楼上的!

qwh

0个粉丝

9

问答

0

专栏

0

资料

qwh 2016-03-13 16:53:28
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=17984&ptid=8083]goodman 发表于 2015-7-10 21:40[/url]
make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3518a all SHELL=bash

你回神奇的发现,能编译了 ...[/quote]

为什么我不能编译。
a@ubuntu:~/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv$ sudo make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3520d all SHELL=bash
mkdir /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/pub/image_uclibc -p
mkdir /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/pub/bin/board_uclibc -p
mkdir /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/pub/bin/pc -p
---------task [1]        build boot
rm /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06 -rf
tar xzf /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06.tgz -C /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot
find /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06 | xargs touch
make -C /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06 ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- hi3520d_config
make[1]: Entering directory `/home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06'
Configuring for hi3520d board...
make[1]: Leaving directory `/home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06'
pushd /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06;make ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- -j 20 >/dev/null;popd
~/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06 ~/Desktop/Hi3520D_SDK_V1.0.5.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
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
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
bash: arm-hisiv100nptl-linux-gcc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
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
make[2]: *** [start.o] Error 127
make[1]: *** [arch/arm/cpu/hi3520d/start.o] Error 2
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;
          ^
/home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06/lib/md5.c: In function ‘MD5Final’:
/home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06/lib/md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ((__u32 *) ctx->in)[14] = ctx->bits[0];
  ^
/home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06/lib/md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ((__u32 *) ctx->in)[15] = ctx->bits[1];
  ^
make[1]: *** wait: No child processes.  Stop.
~/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv
cp /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06/u-boot.bin /home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/pub/image_uclibc
cp: cannot stat ‘/home/a/Desktop/Hi3520D_SDK_V1.0.5.0/osdrv/uboot/u-boot-2010.06/u-boot.bin’: No such file or directory
make: *** [hiboot] Error 1

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2016-03-14 09:52:29
认可0
bash: arm-hisiv100nptl-linux-gcc: command not found

就是说,没有找到交叉编译器,可以检查下面两点
1.交叉编译器是否安装
2.交叉编译器所在的路径是否放到PATH中

willzhang121

0个粉丝

8

问答

0

专栏

0

资料

willzhang121 2016-04-20 16:25:38
认可0
大神,小弟hi3520a编译也遇到这样的问题,
“root@ubuntu:/home/will/Hi3520A_SDK_V1.0.7.0/drv/hisi-irda# make OSDRV_CROSS=arm-hisiv100nptl-linux CHIP=hi3520a all SHELL=bash
ls: 无法访问/hiwork/osdrvhi3520A.C01: 没有那个文件或目录
make: *** 没有规则可以创建目标“all”。 停止。
root@ubuntu:/home/will/Hi3520A_SDK_V1.0.7.0/drv/hisi-irda#

laocheng

1个粉丝

14

问答

0

专栏

0

资料

laocheng 2017-03-05 09:48:09
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26483&ptid=8083]zhuangweiye 发表于 2016-3-14 09:52[/url]
bash: arm-hisiv100nptl-linux-gcc: command not found

就是说,没有找到交叉编译器,可以检查下面两点
[/quote]

可是,我使用echo $PATH命令后,发现能够找到交叉编译器,依然会弹出这个提示。
我是在普通用户下编译的,已经添加sudo

ccsutbs

0个粉丝

5

问答

0

专栏

0

资料

ccsutbs 2017-07-17 15:37:34
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=46053&ptid=8083]laocheng 发表于 2017-3-5 09:48[/url]
可是,我使用echo $PATH命令后,发现能够找到交叉编译器,依然会弹出这个提示。
我是在普通用户下编译的 ...[/quote]

先执行sudo -i;
然后make OSDRV...
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区