tce-load -i compiletc cd uname_hack cc -shared uname_hack.c -fPIC -march=i486 -mtune=i686 -Os -ldl -o uname_hack.so uname_hack.c:33:10: fatal error: linux/init.h: No such file or directory 33 | #include cc -shared uname_hack.c -fPIC -march=i486 -mtune=i686 -Os -I/usr/src/linux-5.10.3/include -ldl -o uname_hack.so In file included from /usr/src/linux-5.10.3/include/linux/kernel.h:8, from /usr/src/linux-5.10.3/include/linux/list.h:9, from /usr/src/linux-5.10.3/include/linux/module.h:12, from uname_hack.c:32: /usr/src/linux-5.10.3/include/linux/linkage.h:8:10: fatal error: asm/linkage.h: No such file or directory 8 | #include cc -shared uname_hack.c -fPIC -march=i486 -mtune=i686 -Os -I/usr/src/linux-5.10.3/include -I/usr/src/linux-5.10.3/arch/x86/include -I/usr/src/linux-5.10.3/arch/x86/include/generated -ldl -o uname_hack.so LD_PRELOAD=$PWD/uname_hack.so uname -m i486 cd uname_hack sudo ln -s /usr/src/linux-5.10.3 /lib/modules/5.10.3-tinycore/build make uname_hack_fake_machine=i486 make -C /lib/modules/5.10.3-tinycore/build SUBDIRS=/usr/src/uname_hack modules make[1]: Entering directory '/usr/src/linux-5.10.3' CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh WARNING: Symbol version dump "vmlinux.symvers" is missing. Modules may not have dependencies or modversions. make[1]: Leaving directory '/usr/src/linux-5.10.3'