NiyazFattahov Posted December 27, 2021 Posted December 27, 2021 Armbianmonitor: http://ix.io/3JGA I cannot compile this module - https://github.com/uboborov/sunxi-cedar-mainline I get this: root@bananapim2zero:/usr/src/sunxi-cedar-mainline# make arch=ARM KERNEL_SOURCE=../linux-source-5.10.60-sunxi make -C ../linux-source-5.10.60-sunxi M=/usr/src/sunxi-cedar-mainline modules make[1]: Entering directory '/usr/src/linux-source-5.10.60-sunxi' MODPOST /usr/src/sunxi-cedar-mainline/Module.symvers ERROR: modpost: "arm_copy_to_user" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "arm_copy_from_user" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "kmem_cache_alloc_trace" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "arm_heavy_mb" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "__aeabi_unwind_cpp_pr1" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "_raw_spin_unlock_irqrestore" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "_raw_spin_lock_irqsave" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "__aeabi_unwind_cpp_pr0" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! ERROR: modpost: "__gnu_mcount_nc" [/usr/src/sunxi-cedar-mainline/cedar_ve.ko] undefined! make[2]: *** [scripts/Makefile.modpost:124: /usr/src/sunxi-cedar-mainline/Module.symvers] Error 1 make[2]: *** Deleting file '/usr/src/sunxi-cedar-mainline/Module.symvers' make[1]: *** [Makefile:1728: modules] Error 2 make[1]: Leaving directory '/usr/src/linux-source-5.10.60-sunxi' make: *** [Makefile:18: default] Error 2 I've done: make scripts sudo make modules_prepare 0 Quote
Igor Posted December 27, 2021 Posted December 27, 2021 1 hour ago, NiyazFattahov said: arch=ARM ARCH=arm 0 Quote
NiyazFattahov Posted December 28, 2021 Author Posted December 28, 2021 17 hours ago, Igor said: ARCH=arm thanks for the typo correction, but still same errors Spoiler 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.