LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trying to install kernel module for new usb wifi dongle (https://www.linuxquestions.org/questions/linux-hardware-18/trying-to-install-kernel-module-for-new-usb-wifi-dongle-874799/)

Adol 04-13-2011 10:39 AM

Trying to install kernel module for new usb wifi dongle
 
Hello,

I:m trying to install the module RTL819CU onto my kernel so that I can use my wifi usb dongle.

When I try to install it I get a make error 2.

PHP Code:

                Auto install for 8192cu
                September
1 2010 v 1.0.0
rtl8192CU_linux_v2.0.1324.20110126
/
rtl8192CU_linux_v2.0.1324.20110126/autoconf_rtl8192c_usb_linux.h
rtl8192CU_linux_v2.0.1324.20110126
/clean
rtl8192CU_linux_v2.0.1324.20110126
/core/
rtl8192CU_linux_v2.0.1324.20110126/core/efuse/
rtl8192CU_linux_v2.0.1324.20110126/core/efuse/rtl8712_efuse.c
rtl8192CU_linux_v2.0.1324.20110126
/core/ieee80211.c
rtl8192CU_linux_v2.0.1324.20110126
/core/led/
rtl8192CU_linux_v2.0.1324.20110126/core/led/rtl8192c_led.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_cmd.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_debug.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_eeprom.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_io.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_ioctl_query.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_ioctl_rtl.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_ioctl_set.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_mlme.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_mlme_ext.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_mp.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_mp_ioctl.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_pwrctrl.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_recv.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_rf.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_security.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_sta_mgt.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_wlan_util.c
rtl8192CU_linux_v2.0.1324.20110126
/core/rtw_xmit.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/
rtl8192CU_linux_v2.0.1324.20110126/hal/hal_init.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/
rtl8192CU_linux_v2.0.1324.20110126/hal/rtl8192c/rtl8192c_dm.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/rtl8192c_phycfg.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/rtl8192c_rf6052.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/rtl8192c_rxdesc.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/                                          
rtl8192CU_linux_v2.0.1324.20110126/hal/rtl8192c/usb/Hal8192CUHWImg.c                          
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/rtl8192cu_recv.c                          
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/rtl8192cu_xmit.c                          
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/rtl8192c_cmd.c                            
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/usb_halinit.c                             
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/usb_ops_ce.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/usb_ops_linux.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c/usb/usb_ops_xp.c
rtl8192CU_linux_v2.0.1324.20110126
/hal/rtl8192c_d_hal_init.c
rtl8192CU_linux_v2.0.1324.20110126
/ifcfg-wlan0
rtl8192CU_linux_v2.0.1324.20110126
/include/
rtl8192CU_linux_v2.0.1324.20110126/include/autoconf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/basic_types.h
rtl8192CU_linux_v2.0.1324.20110126
/include/byteorder/
rtl8192CU_linux_v2.0.1324.20110126/include/byteorder/big_endian.h
rtl8192CU_linux_v2.0.1324.20110126
/include/byteorder/generic.h
rtl8192CU_linux_v2.0.1324.20110126
/include/byteorder/little_endian.h
rtl8192CU_linux_v2.0.1324.20110126
/include/byteorder/swab.h
rtl8192CU_linux_v2.0.1324.20110126
/include/byteorder/swabb.h
rtl8192CU_linux_v2.0.1324.20110126
/include/circ_buf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/cmd_osdep.h
rtl8192CU_linux_v2.0.1324.20110126
/include/drv_conf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/drv_types.h
rtl8192CU_linux_v2.0.1324.20110126
/include/drv_types_ce.h
rtl8192CU_linux_v2.0.1324.20110126
/include/drv_types_linux.h
rtl8192CU_linux_v2.0.1324.20110126
/include/drv_types_xp.h
rtl8192CU_linux_v2.0.1324.20110126
/include/ethernet.h
rtl8192CU_linux_v2.0.1324.20110126
/include/farray.h
rtl8192CU_linux_v2.0.1324.20110126
/include/h2clbk.h
rtl8192CU_linux_v2.0.1324.20110126
/include/Hal8192CPhyCfg.h
rtl8192CU_linux_v2.0.1324.20110126
/include/Hal8192CPhyReg.h
rtl8192CU_linux_v2.0.1324.20110126
/include/Hal8192CUHWImg.h
rtl8192CU_linux_v2.0.1324.20110126
/include/HalRf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/hal_init.h
rtl8192CU_linux_v2.0.1324.20110126
/include/ieee80211.h
rtl8192CU_linux_v2.0.1324.20110126
/include/ieee80211_ext.h
rtl8192CU_linux_v2.0.1324.20110126
/include/if_ether.h
rtl8192CU_linux_v2.0.1324.20110126
/include/ip.h
rtl8192CU_linux_v2.0.1324.20110126
/include/mlme_osdep.h
rtl8192CU_linux_v2.0.1324.20110126
/include/mp_custom_oid.h
rtl8192CU_linux_v2.0.1324.20110126
/include/nic_spec.h
rtl8192CU_linux_v2.0.1324.20110126
/include/osdep_ce_service.h
rtl8192CU_linux_v2.0.1324.20110126
/include/osdep_intf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/osdep_service.h
rtl8192CU_linux_v2.0.1324.20110126
/include/recv_osdep.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_cmd.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_dm.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_event.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_hal.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_recv.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_spec.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8192c_xmit.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_bitdef.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_cmd.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_efuse.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_event.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_hal.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_recv.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_regdef.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_rf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_spec.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtl8712_xmit.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_byteorder.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_cmd.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_debug.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_eeprom.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_event.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_ht.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_io.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_ioctl.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_ioctl_query.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_ioctl_rtl.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_ioctl_set.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_led.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_mlme.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_mlme_ext.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_mp.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_mp_ioctl.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_mp_phy_regdef.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_pwrctrl.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_qos.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_recv.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_rf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_security.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_version.h
rtl8192CU_linux_v2.0.1324.20110126
/include/rtw_xmit.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sdio_hal.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sdio_ops.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sdio_ops_ce.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sdio_ops_linux.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sdio_ops_xp.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sdio_osintf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/sta_info.h
rtl8192CU_linux_v2.0.1324.20110126
/include/usb_hal.h
rtl8192CU_linux_v2.0.1324.20110126
/include/usb_ops.h
rtl8192CU_linux_v2.0.1324.20110126
/include/usb_osintf.h
rtl8192CU_linux_v2.0.1324.20110126
/include/usb_vendor_req.h
rtl8192CU_linux_v2.0.1324.20110126
/include/version.h
rtl8192CU_linux_v2.0.1324.20110126
/include/wifi.h
rtl8192CU_linux_v2.0.1324.20110126
/include/wlan_bssdef.h
rtl8192CU_linux_v2.0.1324.20110126
/include/xmit_osdep.h
rtl8192CU_linux_v2.0.1324.20110126
/Kconfig
rtl8192CU_linux_v2.0.1324.20110126
/Makefile
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/
rtl8192CU_linux_v2.0.1324.20110126/os_dep/linux/
rtl8192CU_linux_v2.0.1324.20110126/os_dep/linux/ioctl_linux.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/linux/mlme_linux.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/linux/os_intfs.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/linux/recv_linux.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/linux/sdio_intf.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/linux/usb_intf.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/linux/xmit_linux.c
rtl8192CU_linux_v2.0.1324.20110126
/os_dep/osdep_service.c
rtl8192CU_linux_v2.0.1324.20110126
/runwpa
rtl8192CU_linux_v2.0.1324.20110126
/wlan0dhcp
rtl8192CU_linux_v2.0.1324.20110126
/wpa1.conf
rtl8192CU_linux_v2.0.1324.20110126
Authentication requested 
[root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -/lib/modules/2.6.37.1-1.2-desktop/build M=/toinstall/drivers/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1324.20110126/driver/rtl8192CU_linux_v2.0.1324.20110126  modules
make
[1]: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop'
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop/. modules
  CC [M]  /toinstall/drivers/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1324.20110126/driver/rtl8192CU_linux_v2.0.1324.20110126/os_dep/osdep_service.o
/toinstall/drivers/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1324.20110126/driver/rtl8192CU_linux_v2.0.1324.20110126/os_dep/osdep_service.c: In function ‘_rtw_mutex_init’:
/toinstall/drivers/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1324.20110126/driver/rtl8192CU_linux_v2.0.1324.20110126/os_dep/osdep_service.c:305:2: error: implicit declaration of function ‘init_MUTEX’
make[4]: *** [/toinstall/drivers/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1324.20110126/driver/rtl8192CU_linux_v2.0.1324.20110126/os_dep/osdep_service.o] Error 1
make[3]: *** [_module_/toinstall/drivers/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1324.20110126/driver/rtl8192CU_linux_v2.0.1324.20110126] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop'
make: *** [modules] Error 2
Compile make driver error: 2, Please check error Mesg 

Any ideas?

MS3FGX 04-13-2011 09:42 PM

This thread on the Ubuntu forums seem to indicate it is a known problem on some kernel versions, and mentions that a newer release of the driver should be available to fix the issue. It also talks about a change to the driver itself you can try and make (though make sure you have the latest release before trying anything else).

Adol 04-14-2011 05:18 AM

Thank you very much

works perfectly


All times are GMT -5. The time now is 03:14 AM.