使用wsl编译buildroot---泰山派踩坑记录

fakeroot错误:

在编译固件
./mkfirmware.sh时报错
报错内容
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.

先找到这篇文章:
https://whycan.com/t_1004.html
cp -f /usr/bin/fakeroot-tcp /output/host/usr/bin/fakeroot
替换buildroot\output\rockchip_rk3566\host\bin的fakeroot后

还是不行,一样报错

最后在arch论坛找到
只需执行:
sudo update-alternatives --set fakeroot /usr/bin/fakeroot-tcp

https://superuser.com/questions/1408340/in-arch-linux-wsl-windows-subsystem-for-linux-what-is-the-workaround-for

samba服务

windows直接访问wsl中的文件老是各种奇怪问题,因此用samba共享文件
主要参考此文章:
https://segmentfault.com/a/1190000015892542
https://lceda001.feishu.cn/wiki/NggWw6XZliI5D1k9aircDS2Jnkb?from=space_search

posted @ 2025-12-13 16:27  cynety  阅读(13)  评论(0)    收藏  举报