I am trying to build a kernel (so as to derive cifs.ko for the custom image from this forum, found here,
https://forum.radxa.com/t/new-custom-debian-arm64-build-4-4-154-c83-is-finally-here/881/76
I have followed the non-docker directions here,
https://github.com/radxa/rockchip-bsp
I’ve done the following.
git clone --recursive https://github.com/radxa/rockchip-bsp.git
apt-get install gcc-aarch64-linux-gnu device-tree-compiler libncurses5 libncurses5-dev build-essential libssl-dev mtools bc python dosfstools
cd ~/rockchip-bsp
./build/mk-uboot.sh rockpi4b
The last command eventually spits out the lines below.
LD init/built-in.o
drivers/built-in.o: In function kbase_platform_device_shutdown': clk-rk3399.c:(.text+0x45ecc): undefined reference to
kbase_platform_rk_shutdown’
clk-rk3399.c:(.text+0x45ecc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol kbase_platform_rk_shutdown' drivers/built-in.o: In function
kbase_platform_device_probe’:
clk-rk3399.c:(.text+0x492a0): undefined reference to kbase_platform_rk_init_opp_table' clk-rk3399.c:(.text+0x492a0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol
kbase_platform_rk_init_opp_table’
Makefile:1017: recipe for target ‘vmlinux’ failed
make: *** [vmlinux] Error 1
MAKE KERNEL IMAGE FAILED.
How do I surmount this error?