MichielDerhaeg/build-linux

Busybox issue

visar opened this issue · 3 comments

visar commented

While running make all (specifically, make busybox) I ran into this issue:

console-tools/kbd_mode.c:33:22: fatal error: linux/kd.h: No such file or directory
 #include <linux/kd.h>
                      ^
compilation terminated.
scripts/Makefile.build:197: recipe for target 'console-tools/kbd_mode.o' failed
make[2]: *** [console-tools/kbd_mode.o] Error 1
Makefile:742: recipe for target 'console-tools' failed
make[1]: *** [console-tools] Error 2
make[1]: Leaving directory '/home/vnz/work/build-linux/busybox-1.26.2'
Makefile:26: recipe for target 'busybox' failed
make: *** [busybox] Error 2
[1]    27046 exit 2     make busybox

Any idea on how should this be resolved?

visar commented

Yes, that fixes it. This happens only on Ubuntu and Debian, on Arch systems one does not need to download the gitmodules. Thanks.

PS maybe you should put that on the README.