Jump to content

Recommended Posts

Posted
Armbianmonitor:

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines