c - 使用 Buildroot 为 Raspberry Pi 3 构建 rootfs 系统时出错 - 缺少 SysV IPC 支持

标签 c linux bash makefile buildroot

我正在尝试为 Raspberry Pi 3 构建 Buildroot 镜像,如页面所示: https://github.com/buildroot/buildroot/tree/f8ff7ab0be1cd3aa846829dc234d8c67b1bda0dc/board/raspberrypi .

我正在使用适用于 Linux 的 Windows 子系统,我已将其升级到 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

关于c - 使用 Buildroot 为 Raspberry Pi 3 构建 rootfs 系统时出错 - 缺少 SysV IPC 支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45469650/

相关文章:

c - gtk 处理列表存储 TreeView 中的事件

c++ - 将 SSE 内在函数转换为可读的 C/C++ 代码?

linux - 在 Bash 中反转二进制数

Linux bash if - elif 没有按预期工作

c - 为什么不能指定函数形参的存储类?

c - 如何在 C 中将 char* 复制到 char* 数组

linux - ffmpeg 添加所有音轨到视频转换(mkv)

c - 如何捕获已收到 SIGSEGV 的进程列表

Bash:使用变量作为数组名称

linux - cron 权限有什么问题?