初级会员
- 积分
- 60
- 金钱
- 60
- 注册时间
- 2022-12-19
- 在线时间
- 7 小时
|
1金钱
参考了该求助【新提醒】linux驱动编译报错,'vmlinux' is bigger than filesize-OpenEdv-开源电子网还是无法解决,一旦修改设备树,重新编译dtbs,再编译驱动程序就会出现下面的错误(驱动程序无论是自己写的还是采用例程的都会报错):重新编译 Linux 内核再编译驱动程序就可以通过,但是修改设备树,每次都要重新编译一次内核,这太浪费时间了。
make -C /home/yang/桌面/linux/imx6ull-mini/atom/use/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek M=/home/yang/桌面/linux/imx6ull-mini/atom/use/02、Linux驱动例程/13_irq modules
make[1]: Entering directory '/home/yang/桌面/linux/imx6ull-mini/atom/use/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek'
Building modules, stage 2.
MODPOST 1 modules
FATAL: section header offset=11259024840327220 in file 'vmlinux' is bigger than filesize=14300620
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1390: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/yang/桌面/linux/imx6ull-mini/atom/use/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek'
Makefile:9: recipe for target 'kernel_modules' failed
make: *** [kernel_modules] Error 2
|
|