cattleman

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman  发布于  2017-02-21 12:47:55
采纳率 0%
19个问答
4234

`arm-hisiv300-linux-g++': machine `arm-hisiv300-linux' not recognized

 
环境:hisi3518ev200 arm-hisiv300-linux
源码:MP4V2.0.0
问题:如下
cattle2@cattle2-VirtualBox:/mnt/share/B-Cattle-MP4合成/MP4V2合成/mp4v2-2.0.0$ ./configure  --prefix=/mnt/share/B-Cattle-MP4合成/Hisi3518eV200/mp4v2-2.0.0-install/ --host=arm-hisiv300-linux  CC=arm-hisiv300-linux-gcc  CXX= arm-hisiv300-linux-g++ --disable-dependency-tracking --disable-libtool-lock --disable-debug --disable-optimize  --disable-fvisibility --disable-gch   --disable-largefile   --disable-util
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: arm-hisiv300-linux-g++
configure:
  -->
  --> Configuring MP4v2 2.0.0
  -->
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-hisiv300-linux-strip... arm-hisiv300-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration `arm-hisiv300-linux-g++': machine `arm-hisiv300-linux' not recognized
configure: error: /bin/bash autoaux/config.sub arm-hisiv300-linux-g++ failed
cattle2@cattle2-VirtualBox:/mnt/share/B-Cattle-MP4合成/MP4V2合成/mp4v2-2.0.0$

请问是什么回事?
执行 env。 能看到 arm-hisiv300-linux-g++ 命令的
我来回答
回答3个
时间排序
认可量排序

falloutmx

1个粉丝

15

问答

0

专栏

0

资料

falloutmx 2017-02-22 09:46:48
认可0
checking build system type... Invalid configuration `arm-hisiv300-linux-g++': machine `arm-hisiv300-linux' not recognized
这个错误不是提示找不到编译器,看env是没用的。
CXX=(此处不应有空格)arm-hisiv300-linux-g++

baboe

0个粉丝

8

问答

0

专栏

1

资料

baboe 2017-02-22 11:23:54
认可0
删除 CC=arm-hisiv300-linux-gcc  CXX= arm-hisiv300-linux-g++

另建议可在configure命令前加上参数CXXFLAGS,以符合osdrv/readme_cn.txt内注意事项,如下
CXXFLAGS="-mcpu=arm926ej-s -mno-unaligned-access -fno-aggressive-loop-optimizations -O2" ./configure

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman 2017-03-02 08:36:11
认可0
2楼正解!谢谢
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区