OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 1792|回复: 1

STM32MP157在 Make buildroot时报错

[复制链接]

1

主题

1

帖子

0

精华

新手入门

积分
7
金钱
7
注册时间
2020-11-15
在线时间
1 小时
发表于 2021-5-14 14:33:26 | 显示全部楼层 |阅读模式
1金钱
各种错误信息放在搜索引擎上,都搜不到有用的信息,请教
>>> host-makedevs  Extracting
>>> host-makedevs  Patching
>>> host-makedevs  Configuring
>>> host-makedevs  Building
/usr/bin/gcc -O2 -I/home/moon/linux/tools/buildroot-2020.02.6/output/host/include package/makedevs/makedevs.c -o /home/moon/linux/tools/buildroot-2020.02.6/output/build/host-makedevs/makedevs -L/home/moon/linux/tools/buildroot-2020.02.6/output/host/lib -Wl,-rpath,/home/moon/linux/tools/buildroot-2020.02.6/output/host/lib
>>> host-makedevs  Installing to host directory
/usr/bin/install -D -m 755 /home/moon/linux/tools/buildroot-2020.02.6/output/build/host-makedevs/makedevs /home/moon/linux/tools/buildroot-2020.02.6/output/host/bin/makedevs
>>> skeleton-init-common  Extracting
>>> skeleton-init-common  Patching
>>> skeleton-init-common  Configuring
>>> skeleton-init-common  Building
>>> skeleton-init-common  Installing to staging directory
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' system/skeleton/ /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/bin
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/sbin
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/lib
ln -snf lib /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/lib32
ln -snf lib /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib32
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include
>>> skeleton-init-common  Fixing libtool files
for la in $(find /home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib* -name "*.la"); do \
        cp -a "${la}" "${la}.fixed" && \
        /bin/sed -i -e "s:/home/moon/linux/tools/buildroot-2020.02.6/outputBASE_DIR@:g" \
                -e "s:/home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysrootSTAGING_DIR@:g" \
                 -e "s:/usr/local/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihfTOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \
                -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
                -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \
                 -e "sTOOLCHAIN_EXTERNAL_INSTALL_DIR@:/usr/local/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf:g" \
                -e "sSTAGING_DIR@:/home/moon/linux/tools/buildroot-2020.02.6/output/host/arm-buildroot-linux-gnueabihf/sysroot:g" \
                -e "sBASE_DIR@:/home/moon/linux/tools/buildroot-2020.02.6/output:g" \
                "${la}.fixed" && \
        if cmp -s "${la}" "${la}.fixed"; then \
                rm -f "${la}.fixed"; \
        else \
                mv "${la}.fixed" "${la}"; \
        fi || exit 1; \
done
/**********************下面是错误信息************************************分割线****************************************/
>>> skeleton-init-common  Installing to target
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' system/skeleton/ /home/moon/linux/tools/buildroot-2020.02.6/output/target/
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/target/bin
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/target/sbin
/usr/bin/install -d -m 0755 /home/moon/linux/tools/buildroot-2020.02.6/output/target/lib
ln -snf lib /home/moon/linux/tools/buildroot-2020.02.6/output/target/lib32
ln -snf lib /home/moon/linux/tools/buildroot-2020.02.6/output/target/usr/lib32
/bin/sed -i -e 's,@PATH@,"/bin:/sbin:/usr/bin:/usr/sbin",' /home/moon/linux/tools/buildroot-2020.02.6/output/target/etc/profile
/usr/bin/install -m 0644 support/misc/target-dir-warning.txt /home/moon/linux/tools/buildroot-2020.02.6/output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
support/scripts/check-bin-arch: illegal option -- n
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- o
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- n
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- e
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- -
support/scripts/check-bin-arch: line 43: error: command not found
sed: can't read inux-gnueabihf-readelf: No such file or directory
>>> skeleton-init-sysv  Extracting
>>> skeleton-init-sysv  Patching
>>> skeleton-init-sysv  Configuring
>>> skeleton-init-sysv  Building
>>> skeleton-init-sysv  Installing to target
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' package/skeleton-init-sysv//skeleton/ /home/moon/linux/tools/buildroot-2020.02.6/output/target/
support/scripts/check-bin-arch: illegal option -- n
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- o
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- n
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- e
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- -
support/scripts/check-bin-arch: line 43: error: command not found
sed: can't read inux-gnueabihf-readelf: No such file or directory
>>> skeleton  Extracting
>>> skeleton  Patching
>>> skeleton  Configuring
>>> skeleton  Building
>>> skeleton  Installing to target
support/scripts/check-bin-arch: illegal option -- n
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- o
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- n
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- e
support/scripts/check-bin-arch: line 43: error: command not found
support/scripts/check-bin-arch: illegal option -- -
support/scripts/check-bin-arch: line 43: error: command not found
sed: can't read inux-gnueabihf-readelf: No such file or directory
>>> toolchain-external-custom  Extracting
>>> toolchain-external-custom  Patching
>>> toolchain-external-custom  Configuring
/bin/bash: -none-linux-gnueabihf-gcc: command not found
Cannot execute cross-compiler ''
package/pkg-generic.mk:254: recipe for target '/home/moon/linux/tools/buildroot-2020.02.6/output/build/toolchain-external-custom/.stamp_configured' failed
make: *** [/home/moon/linux/tools/buildroot-2020.02.6/output/build/toolchain-external-custom/.stamp_configured] Error 1

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

4

主题

881

帖子

0

精华

论坛元老

Rank: 8Rank: 8

积分
4195
金钱
4195
注册时间
2019-9-4
在线时间
881 小时
发表于 2021-5-14 16:17:14 | 显示全部楼层
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-22 11:27

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表