Cross compiling a kernel module
Putting ARCH
and CROSS_COMPILE
in the Makefile doesn't work. You need to put them on the command line:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
where is defined kmap_atomic
The module is apparently missing an include of linux/highmem.h
.
Related Topics
Cannot Push to My Github Private Repository
Difference Between ./Executable and . Executable
Echo 'The Character - (Dash) in The Unix Command Line
In Linux, Do There Exist Functions Similar to _Clearfp() and _Statusfp()
Why Pid of a Process Is Represented by Opaque Data Type
How Does The Os Know Disk Address of an Absent Page
Listening for New Processes in Linux Kernel Module
How to Find The Byte Position of Specific Line in a File
Dialog in Bash Is Not Grabbing Variables Correctly
Git - How to Remove Branch from Checkout Autocomplete
Why Does The Same Executable Use Different Runpaths for Different Library Lookups
How to Convert a Text/Plain to Text/X.Shellscript
Nohup Failing with Anaconda Ipython
Is There a Linker Flag to Force It to Load All Shared Libraries at Start Time
Bash: Ctrl+C During Input Breaks Current Terminal
How My Custom Module on Linux 3.2.28 Can Make a Call to Print_Cpu_Info