【发布时间】:2021-10-02 21:55:20
【问题描述】:
我正在尝试为 linux 内核应用程序构建 buildroot 系统。 这是为了学术研究,所以我想实现自己的文件系统,所以我应该使用虚拟机。
所以我按下了一些命令:
git clone https://git.buildroot.net/buildroot
make qemu_x86_64_defconfig
但是当我按下make 时,我收到了这个错误:
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' system/skeleton/ /root/buildroot/output/host/x86_64-buildroot-linux -uclibc/sysroot/
所以这个命令会产生很多错误:
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/dev": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/profile.d": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/media": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/mnt": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/opt": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/proc": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/root": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/run": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/sys": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/tmp": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/bin": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/lib": Function not implemented (38)
rsync: [generator] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/sbin": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.group.nsk97w": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.hosts.yBRyXu": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.passwd.0Uncqt": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.profile.0E8enu": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.protocols.DJb4ew": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.services.AO2ruv": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/.shadow.QE0FTt": Function not implemented (38)
rsync: [receiver] failed to set permissions on "/root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/etc/profile.d/.umask.sh.IN0rhw": Function not implemented (38)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]
make: *** [package/pkg-generic.mk:333 : /root/buildroot/output/build/skeleton-init-common/.stamp_staging_installed] Erreur 23
请问我该如何解决?因为我还没有看到关于如何避免它的东西 我不知道如何或为什么会发生此错误。 我认为它忘记了构建要求,但我不知道如何修复它。
拜托,我是不是在什么地方做错了??
我用的是kali-Linux 5.9.0-kali5-amd64,问题是从那里来的吗?
你认为在这之后我会有什么其他问题
感谢您对这个“奇怪”问题的见解。
【问题讨论】:
-
验证是否为您的主机系统安装了所有必需的软件包;学习 docs/manual/prerequisite.txt 或 buildroot.org/downloads/manual/manual.html#requirement
-
是的,它已经完成了,......所以我试图取消选择一些模块,看看它是否会好
-
我认为它更新了不兼容的内核和软件包,...或者提取的 linux 标头不好,...我看到了这个link,但没有解决我的问题
-
@ledoux 哦,我有个朋友也有类似的问题! FAT* 分区不支持某些在 Windows 中有效的文件名。确保您按照 Linux 分区 (Ext4) 中的所有步骤进行操作。推荐的文件夹是
/home/{Username},其中{username}是您的用户名(除非您是root,否则它的/root)。/media让我假设您正在外部驱动器或 Windows 驱动器中工作和提取,这是不推荐的。您的主目录的快捷方式是cd ~/。 -
我已经完成了,但是我还有一个问题,
rsync -a --ignore-times --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS --chmod=u=rwX,go=rX --exclude .empty --exclude '*~' system/skeleton/ /root/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/产生很多错误
标签: linux-kernel embedded-linux buildroot