root@kali:~/Desktop/rtl8187L_linux_1041.0209.2012# make
make[1]: Entering directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
CC [M] /root/Desktop/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.o
/root/Desktop/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:153:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rtl8187_usb_probe'
/root/Desktop/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:155:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rtl8187_usb_disconnect'
/root/Desktop/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:168:12: error: 'rtl8187_usb_probe' undeclared here (not in a function)
/root/Desktop/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:169:16: error: 'rtl8187_usb_disconnect'
那应该怎么改呢? 驱动解压后Readme 中是说 make 然后 make install ,但是我执行第一步就出问题,刚接触Linux,这些问题都搞不懂
那应该怎么改呢? 驱动解压后Readme 中是说 make 然后 make install ,但是我执行第一步就出问题,刚接触Linux,这些问题都搞不懂
追答额,那个readme就是简单的一说,具体肯定要看实际的编译的东西么.你打开r8187_core.c,看看函数rtl8187_usb_probe前后是不是有一些宏控制,然后再看看自己的配置是不是选上了相应的配置。谢谢