Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

gcc-4.8-multilib-arm-linux-gnueabihf安装报错

146

积分

0

威望

0

贡献

技术小白

积分
146
发表于 2019-12-7 17:51:04        只看该作者  11#
很遗憾,固件烧写成功!但起不来系统,不知道哪里出问题了。。

QQ图片20191207175001.png (70.54 KB, 下载次数: 731)

QQ图片20191207175001.png

QQ图片20191207174907.png (50.1 KB, 下载次数: 777)

QQ图片20191207174907.png
回复

使用道具 举报

31

积分

0

威望

0

贡献

技术小白

积分
31
发表于 2020-3-31 22:03:53        只看该作者  12#
楼主你好,请问gcc-4.8-multilib-arm-linux-gnueabihf安装报错E: Unable to locate package gcc-4.8-multilib-arm-linux-gnueabihf这个问题你是怎么解决的呢?
回复

使用道具 举报

29

积分

0

威望

0

贡献

技术小白

积分
29
发表于 2020-4-14 22:44:24        只看该作者  13#
sudo apt-get install gdc-8-multilib-arm-linux-gnueabihf
用这个可以
回复

使用道具 举报

29

积分

0

威望

0

贡献

技术小白

积分
29
发表于 2020-4-14 22:50:00        只看该作者  14#
楼主求教一下,我编译的时候出现下面的错误指导是什么问题吗?
./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -Wp,-MD,scripts/mod/.devicetable-offsets.s.d -nostdinc -isystem ./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -print-file-name=include[Errno 8] Exec format error -I./arch/arm64/include -Iarch/arm64/include/generated/uapi -Iarch/arm64/include/generated -Iinclude -I./arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-pic -fno-asynchronous-unwind-tables -Os -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(devicetable_offsets) -DKBUILD_MODNAME=KBUILD_STR(devicetable_offsets) -fverbose-asm -S -o scripts/mod/devicetable-offsets.s scripts/mod/devicetable-offsets.c[Errno 8] Exec format error
scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 8
make[2]: *** Waiting for unfinished jobs....
./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem ./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -print-file-name=include[Errno 8] Exec format error -I./arch/arm64/include -Iarch/arm64/include/generated/uapi -Iarch/arm64/include/generated -Iinclude -I./arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-pic -fno-asynchronous-unwind-tables -Os -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(bounds) -DKBUILD_MODNAME=KBUILD_STR(bounds) -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c[Errno 8] Exec format error
./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem ./../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -print-file-name=include[Errno 8] Exec format error -I./arch/arm64/include -Iarch/arm64/include/generated/uapi -Iarch/arm64/include/generated -Iinclude -I./arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-pic -fno-asynchronous-unwind-tables -Os -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty) -DKBUILD_MODNAME=KBUILD_STR(empty) -c -o scripts/mod/empty.o scripts/mod/empty.c[Errno 8] Exec format error
Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 8
Makefile:1079: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
scripts/Makefile.build:277: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 8
scripts/Makefile.build:484: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:579: recipe for target 'scripts' failed
make: *** [scripts] Error 2
====Build kernel failed!====
回复

使用道具 举报

29

积分

0

威望

0

贡献

技术小白

积分
29
发表于 2020-12-28 12:30:40        只看该作者  15#
lizhaoping11 发表于 2020-4-14 22:44
sudo apt-get install gdc-8-multilib-arm-linux-gnueabihf
用这个可以

谢谢!
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
发表于 2021-2-28 18:56:34        只看该作者  16#
归来归去和楼主,你好!
我也遇到了这个问题,gcc-4.8-multilib-arm-linux-gnueabihf安装报错E: Unable to locate package gcc-4.8-multilib-arm-linux-gnueabihf。

用sudo apt-get install gdc-8-multilib-arm-linux-gnueabihf,没有报错。
但是后面的编译,一开始就有问题。感觉编译工具还是没有装好。
回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2022-5-18 14:33:28        只看该作者  17#
环境包安装列表已经更新了,不再需要安装 gcc-4.8-multilib-arm-linux-gnueabihf

这里使用Ubuntu18.04进行测试(推荐使用Ubuntu16.04及其以上版本):
  1. sudo apt-get update

  2. sudo apt-get install repo git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler \
  3. gcc-aarch64-linux-gnu mtools parted libudev-dev libusb-1.0-0-dev python-linaro-image-tools \
  4. linaro-image-tools gcc-arm-linux-gnueabihf libssl-dev liblz4-tool genext2fs lib32stdc++6 \
  5. gcc-aarch64-linux-gnu g+conf autotools-dev libsigsegv2 m4 intltool libdrm-dev curl sed make \
  6. binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio python unzip rsync file bc wget \
  7. libncurses5 libqt4-dev libglib2.0-dev libgtk2.0-dev libglade2-dev cvs git mercurial rsync openssh-client \
  8. subversion asciidoc w3m dblatex graphviz python-matplotlib libssl-dev texinfo fakeroot \
  9. libparse-yapp-perl default-jre patchutils swig chrpath diffstat gawk time expect-dev
复制代码

点评

具体查看: https://wiki.t-firefly.com/AIO-3399ProC/linux_compile_gpt.html  发表于 2022-5-18 14:34
回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表