I have a problem with BPI-M3-bsp kernel on BPI-M3

I was compiled with the topic.


./build.sh compile : 2(1-6) choose compile : 3(1-6) begin to compile .

but, I met a error.

MODPOST vmlinux.o WARNING: modpost: Found 23 section mismatch(es). To see full details build your kernel with: ‘make CONFIG_DEBUG_SECTION_MISMATCH=y’ GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function cma_map_kernel’: clk-ac100.c:(.text+0xb4d64): undefined reference to_getdma_pgprot’ drivers/built-in.o: In function psmouse_extensions’: clk-ac100.c:(.text+0x19d250): undefined reference tolifebook_detect’ Makefile:876: recipe for target ‘.tmp_vmlinux1’ failed make[1]: *** [.tmp_vmlinux1] Error 1 make[1]: Leaving directory ‘/home/ubuntu/work/bpi-m3/linux-sunxi’ Makefile:52: recipe for target ‘kernel’ failed make: *** [kernel] Error 2

what is the problem please?

I have been working on the Toolchain For Linux 4.11.11 but when I built the 3.4 kernel a while ago I found an older fix online somewhere. Not sure if it will fix your specific issue but it helped me.

fix1.txt (16.4 KB)

I used it as a reference rather than a patch file and manually made changes suggested by it.

I do remember an issue with having to comment out the life book references