The following fixed this for me (link at the end):
to solve the "linux/smp_lock.h not found" error you need to edit this two files into the archive driver/rtl8192_8188CU_linux_v3.1.2590.20110922.tar.gz
file 1: include/rtw_io.h
Change osdep_service.h (line 49) linux/smp_lock.h to linux/smp.h
file 2: include/osdep_service.h
Change file rtw_io.h (line 36) linux/smp_lock.h to linux/smp.h
Then compile as normal
http://askubuntu.com/questions/68198/installing-realtek-8188-wireless-driver-fails
The following fixed this for me (link at the end):
to solve the "linux/smp_lock.h not found" error you need to edit this two files into the archive driver/ rtl8192_ 8188CU_ linux_v3. 1.2590. 20110922. tar.gz
file 1: include/rtw_io.h
Change osdep_service.h (line 49) linux/smp_lock.h to linux/smp.h
file 2: include/ osdep_service. h
Change file rtw_io.h (line 36) linux/smp_lock.h to linux/smp.h
Then compile as normal
http:// askubuntu. com/questions/ 68198/installin g-realtek- 8188-wireless- driver- fails