Compiling kernel modules
$ make M=/home/liyongjun/project/c/linux-4.4.1/net/mac80211/ modules
Installation error
$ sudo insmod net/mac80211/mac80211.ko
insmod: ERROR: could not insert module net/mac80211/mac80211.ko: Invalid module format
dmesg
$ dmesg
...
[ 3187.509374] mac80211: no symbol version for module_layout
Solution:
Add the -C /lib/modules/`uname -r`/build
option
$ make -C /lib/modules/`uname -r`/build M=/home/liyongjun/project/c/linux-4.4.1/net/mac80211/ modules
Read More:
- kernel module insert error: ERROR: could not insert module …../file.ko : File exits
- [Solved] igb Compile Error: igb_main.c:10044:7: error: implicit declaration of function ‘isdigit’
- [Solved] Vermagic error and signature error in insmod
- Android r compiles OTA times error: ExternalError: Invalid ro.product.property_source_order
- [Solved] error: failed to run custom build command for `librocksdb-sys v6.17.3`
- ASIC VCS Error: Error-[VCS_COM_UNE] Cannot find VCS compiler [Solved]
- buildroot SIGSTKSZ Error: make[5]: *** [Makefile:1915: c-stack.o] Error 1
- [Solved] Android 5.1 code compilation error: Unsupported reloc 43
- [Solved] Android Studio Compile Error: Execution failed for task ‘:APP_MIDI:lintVitalRelease‘.
- Error: an error occurred while performing the step: “building kernel modules”. See/var/log/NV
- The solution of no module named ‘jinja2. Asyncsupport’
- [Solved] IDEA Error: java: Compilation failed: internal java compiler error
- [Solved] Android Studio Compile Error: Invalid main APK outputs : EarlySyncBuildOutput
- [Solved] Vite Project jenkins Auto Package Error: failed to load config from ../vite.config.js You installed esbuild on
- How to Solve Docker Run Error: standard_init_linux.go:219: exec user process caused: exec format error
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- [Solved] ORB_SLAM3 Compile Error: opencv4.0 not found four
- [Solved] NRM Error: error code: ‘err’_INVALID_ARG_Type ‘
- Prompt unknown error in pom.xml of Maven project
- [Solved] UE4 Android Package Error: failed for task :permission_library:compileDebugJavaWithJavac