s.******[email protected]
2012-01-07 09:03 deepin
下载这个文件smp_lock.h.zip解压缩,然后把smp_lock.h放到
/usr/src/linux-headers-你的内核版本/include/linux/
/usr/src/linux-headers-你的内核版本-generic/include/linux/
这两个文件夹下。
/usr/src/linux-headers-你的内核版本/include/linux/
/usr/src/linux-headers-你的内核版本-generic/include/linux/
这两个文件夹下。
Reply Like 0 View the author
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.0.0-14-generic/build M=/home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625 modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.0.0-14-generic'
CC [M] /home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/cmd/rtl871x_cmd.o
In file included from /home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/include/drv_types.h:58:0,
from /home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/cmd/rtl871x_cmd.c:22:
/home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/include/rtl871x_io.h:17:28: 致命错误: linux/smp_lock.h:没有那个文件或目录
编译中断。
make[2]: *** [/home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/cmd/rtl871x_cmd.o] 错误 1
make[1]: *** [_module_/home/anway/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100625] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.0.0-14-generic'
make: *** [modules] 错误 2
看不懂问题出在哪里,请高人指点!谢谢!