On Friday, August 25, 2017 at 10:19:13 PM UTC+8, Rijad Skrobo wrote: > > I am trying to build Buildroot image for Raspberry Pi 3, as found on page: > > > https://github.com/buildroot/buildroot/tree/f8ff7ab0be1cd3aa846829dc234d8c67b1bda0dc/board/raspberrypi > . > > I am using Windows Subsystem for Linux, which I have upgraded to version > of Ubuntu 16.04.02 . > Version of Buildroot is 2017.05.2. > > However, when running make I observe following output in bash: >
But why WSL? I think this is going to be very diffcult to debug, because you are depending on WSL working correctly: <https://lh3.googleusercontent.com/-zwkKlHQGrrk/WaDO2aj7plI/AAAAAAAAXDA/DG8TyQANMwsGAN0s2iu2nCJbzksXLSSTwCLcBGAs/s1600/bashlinuxwin10.jpg> But looking at the internals of WSL above, it is only the userspace, and the entire kernel is still in Windows. Ie, All system calls, in Linux have to be translated to windows kernel calls, because you can only have one Ring0 running, and all the rest are ring 3, or 2. fakeroot/chroot is all using system call "chroot". If you are referring to this error: http://lists.busybox.net/pipermail/buildroot/2009-August/028873.html then check the following config: CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_SYSV68_PARTITION is not set CONFIG_SYSVIPC_COMPAT=y # CONFIG_SYSV_FS is not set The above is from Ubuntu, or any popular distro and the config normally is supposed to support many other software, and so unlikely to go wrong. For buildroot, the config seemed to be specified for many board - default YES for SYSVIPC, except for raspberrypi (my buildroot version may be old?): ./board/qemu/ppc-g3beige/linux-4.9.config: CONFIG_SYSVIPC=y ./board/qemu/mips64r6-malta/linux-4.9.config: CONFIG_SYSVIPC=y ./board/qemu/mips32r6el-malta/linux-4.9.config: CONFIG_SYSVIPC=y ./board/qemu/sh4eb-r2d/linux-4.9.config: CONFIG_SYSVIPC=y ./board/qemu/mips64r6el-malta/linux-4.9.config: CONFIG_SYSVIPC=y and and RPI is just a bunch of scripts, which is for puling config information from other sites. Bottomline, restart again using all linux component, perhaps using Ubuntu. > > /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 implementedThis 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 > > > Is there any way to enable SysV IPC support on WSL, or run fakeroot with > TCP IPC support? > > Thanks! > > -- You received this message because you are subscribed to the Google Groups "linuxkernelnewbies" group. To unsubscribe from this group and stop receiving emails from it, send an email to linuxkernelnewbies+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.