设为首页收藏本站
查看: 358|回复: 1

T527 Linux SDK报错

[复制链接]

2

主题

2

回帖

22

积分

新手上路

积分
22
sake_bill 发表于 2024-5-21 16:01:52 | 显示全部楼层 |阅读模式
在编译T527 Linux SDK时,报错信息如下,请专家帮忙看看是什么问题:


Use init ramdisk file: '/home/alinx/08_T527/02-MYIR-SDK/LT527/kernel/linux-5.15/bsp/ramfs/rootfs_arm64.cpio.gz'.
Copy modules to target ...
15985 blocks
37062 blocks
bootimg_build
Copy boot.img to output directory ...

sun55iw3p1 compile all(Kernel+modules+boot.img) successful


INFO: build dts ...
INFO: Prepare toolchain ...
Setup BSP files
'/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/kernel/staging/sunxi.dtb' -> '/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/sunxi.dtb'
INFO: build rootfs ...
INFO: build buildroot ...
make: Entering directory '/home/alinx/08_T527/02-MYIR-SDK/LT527/buildroot/buildroot-202205'
>>> host-libglib2 2.70.4 Installing to host directory
PATH="/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/bin:/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/sbin:/home/alinx/08_T527/02-MYIR-SDK/LT527/prebuilt/hostbuilt/linux-x86/bin:/home/alinx/08_T527/02-MYIR-SDK/LT527/prebuilt/hostbuilt/linux-x86/bin:/home/alinx/anaconda3/bin:/home/alinx/anaconda3/condabin:/home/alinx/01_TQT113/06_SorceCode/t113-s3_linux-sdk-v1.1/out/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/alinx/01_TQT113/06_SorceCode/t113-s3_linux-sdk-v1.1/out/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/alinx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/alinx/08_T527/02-MYIR-SDK/LT527/build/bin:/home/alinx/08_T527/02-MYIR-SDK/LT527/build/bin" PKG_CONFIG="/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/pkgconfig:/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/share/pkgconfig"  PYTHONNOUSERSITE=y /home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/bin/ninja  -C /home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/build/host-libglib2-2.70.4//build install
ninja: Entering directory `/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/build/host-libglib2-2.70.4//build'
[0/1] Installing files.
Installing glib/libglib-2.0.so.0.7000.4 to /home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib
Stripping target 'glib/libglib-2.0.so.0.7000.4'.
Traceback (most recent call last):
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 153, in run
    return options.run_func(options)
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/minstall.py", line 771, in run
    installer.do_install(datafilename)
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/minstall.py", line 550, in do_install
    self.install_targets(d, dm, destdir, fullprefix)
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/minstall.py", line 706, in install_targets
    self.do_strip(d.strip_bin, fname, outname)
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/minstall.py", line 574, in do_strip
    returncode, stdo, stde = self.Popen_safe(strip_bin + [outname])
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/minstall.py", line 365, in Popen_safe
    p, o, e = Popen_safe(*args, **kwargs)
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/site-packages/mesonbuild/mesonlib/universal.py", line 1408, in Popen_safe
    p = subprocess.Popen(args, universal_newlines=True, close_fds=False,
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/lib/python3.10/subprocess.py", line 1842, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'export'

ERROR: Unhandled python exception

    This is a Meson bug and should be reported!
FAILED: meson-install
/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/host/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
package/pkg-generic.mk:300: recipe for target '/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/build/host-libglib2-2.70.4/.stamp_host_installed' failed
make[1]: *** [/home/alinx/08_T527/02-MYIR-SDK/LT527/out/t527/myd-lt527-full/buildroot/buildroot/build/host-libglib2-2.70.4/.stamp_host_installed] Error 1
Makefile:96: recipe for target '_all' failed
make: *** [_all] Error 2
make: Leaving directory '/home/alinx/08_T527/02-MYIR-SDK/LT527/buildroot/buildroot-202205'
ERROR: build buildroot Failed
INFO: build_buildroot_rootfs failed


回复

使用道具 举报

2

主题

2

回帖

22

积分

新手上路

积分
22
 楼主| sake_bill 发表于 2024-5-21 16:15:17 | 显示全部楼层
搞错板块了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-11-21 18:15 , Processed in 0.044684 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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