编译环境
Ubuntu 12.04 LTS
android内核是在官网下载的 common
git clone https://android.googlesource.com/kernel/common.git
然后checkout的版本是 3.4内核从下载下来之后没有改动,只是想先编译一下,看能不能通过编译时出现一下错误:
drivers/misc/akm8975.c:35:32: fatal error: linux/earlysuspend.h: No such file or directory
compilation terminated.
make[2]: *** [drivers/misc/akm8975.o] 错误 1
make[1]: *** [drivers/misc] 错误 2
make: *** [drivers] 错误 2
各位有遇到过的吗,请问该怎么解决
Ubuntu 12.04 LTS
android内核是在官网下载的 common
git clone https://android.googlesource.com/kernel/common.git
然后checkout的版本是 3.4内核从下载下来之后没有改动,只是想先编译一下,看能不能通过编译时出现一下错误:
drivers/misc/akm8975.c:35:32: fatal error: linux/earlysuspend.h: No such file or directory
compilation terminated.
make[2]: *** [drivers/misc/akm8975.o] 错误 1
make[1]: *** [drivers/misc] 错误 2
make: *** [drivers] 错误 2
各位有遇到过的吗,请问该怎么解决
恩 是我设置的有问题,第一次编译不知道从哪开始,我把板子cpu对应的配置文件拷出来之后,先生成了对应的.config文件,然后再make就可以了