我正在尝试为Raspberry Pi 3构建Buildroot镜像,如页面上所示:
https://github.com/buildroot/buildroot/tree/f8ff7ab0be1cd3aa846829dc234d8c67b1bda0dc/board/raspberrypi
我正在使用Windows子系统Linux,我已升级到Ubuntu 16.04.02的版本.
Buildroot的版本是2017.05.2.
但是,在运行make时我会在bash中观察以下输出:
/home/rijad/buildroot-2017.05.2/output/host/usr/bin/fakeroot --
/home/rijad/buildroot-2017.05.2/output/build/_fakeroot.fs
fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
fs/ext2/ext2.mk:42: recipe for target '/home/rijad/buildroot-2017.05.2/output/images/rootfs.ext2' failed
make[1]: *** [/home/rijad/buildroot-2017.05.2/output/images/rootfs.ext2] Error 1
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
有没有办法在WSL上启用SysV IPC支持,或者在TCP IPC支持下运行fakeroot?
谢谢!
解决方法:
我自己跑到同一个问题并与它争斗一段时间我在构建文件系统之前添加了以下命令来运行
cp -f /usr/bin/fakeroot-tcp /path-to-buildroot/output/host/usr/bin/fakeroot