Symptom:
- when compiling the driver, there maybe exist issue like :
......
In file included from include/linux/gfp.h:4:0,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/asm/local.h:4,
from include/linux/module.h:19,
from
AX88179_178A_LINUX_DRIVER_v1.13.0_SOURCE/ax88179_178a.c:30:
include/linux/mmzone.h:18:26: fatal error: linux/bounds.h: No such file or directory
#include <linux/bounds.h>
^
.........
Root Cause:
- Header file miss.
Solution:
- go to kernel folder, issue the command:
make modules_prepare
- after that, go back to make driver again
ref:
https://forums.gentoo.org/viewtopic-t-819002-start-0.html
https://forums.gentoo.org/viewtopic-t-819002-start-0.html
沒有留言:
張貼留言