KennethThompson / RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911

4 stars 6 forks source link

Error with kernel version 4.1 #1

Open rprasanth opened 6 years ago

rprasanth commented 6 years ago

rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: In function 'rtw_proc_init_one': rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:12: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration] rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net); ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net); ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:11: error: implicit declaration of function 'create_proc_read_entry' [-Werror=implicit-function-declaration] entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev); ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev); ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:326:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("log_level", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:332:8: error: dereferencing pointer to incomplete type 'struct proc_dir_entry' entry->write_proc = proc_set_log_level; ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:348:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion] padapter->dir_dev = create_proc_entry(dev->name, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:379:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:387:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:396:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:404:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:412:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:420:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:427:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:441:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:448:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:455:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:462:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("mac_reg_dump1", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:469:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("mac_reg_dump2", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:476:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("mac_reg_dump3", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:483:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("bb_reg_dump1", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:490:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("bb_reg_dump2", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:497:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("bb_reg_dump3", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:504:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rf_reg_dump1", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:511:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rf_reg_dump2", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:520:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rf_reg_dump3", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:527:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rf_reg_dump4", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:537:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:555:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:564:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:572:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:580:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("cbw40_enable", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:588:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:596:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rx_stbc", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:605:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:608:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("vid", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:615:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("pid", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:622:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:631:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] entry = create_proc_read_entry("sreset", S_IFREG | S_IRUGO, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: At top level: rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] .ndo_select_queue = rtw_select_queue, ^ rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:22: note: (near initialization for 'rtw_netdev_ops.ndo_select_queue') cc1: some warnings being treated as errors scripts/Makefile.build:258: recipe for target 'rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o' failed make[3]: [rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o] Error 1 Makefile:1385: recipe for target '_module_rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911' failed make[2]: [_module_rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Error 2 make[2]: Leaving directory 'linux-4.1' Makefile:594: recipe for target 'modules' failed make[1]: *** [modules] Error 2 make[1]: Leaving directory 'rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911'

ghost commented 6 years ago

@rprasanth Hi, have you solved this issue? Thanks.