Linux下编译驱动发现没有内核源码的解决办法
CentOS系统
yum install -y kernel-devel
Ubuntu系统
apt-get install linux-source
以上~!
参考:《或许你不需要整个内核的源代码》 - http://wiki.centos.org/zh/HowTos/I_need_the_Kernel_Source
yum install -y kernel-devel
apt-get install linux-source
以上~!
参考:《或许你不需要整个内核的源代码》 - http://wiki.centos.org/zh/HowTos/I_need_the_Kernel_Source