Caute naistaloval som si ubuntu 16.04 kde internet pozuzivam adapter Edimax ac 1200 ovladac som si stiahol stranky vyrobcu len mam problem z instalaciou vypise chybu...
ojtech@vojtech-MS-7918:~/Ovladace/wifi$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-22-generic/build M=/home/vojtech/Ovladace/wifi modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic'
CC [M] /home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.o
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:352: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);
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:352: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);
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:359: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);
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:359: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);
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:370:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
padapter->dir_dev = create_proc_entry(dev->name,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:401:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:407:7: error: dereferencing pointer to incomplete type ‘struct proc_dir_entry’
entry->write_proc = proc_set_write_reg;
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:409:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:418:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:426:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:442:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:449:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:456:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:463:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:470:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:477:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:484:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mac_reg_dump1", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:491:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mac_reg_dump2", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:498:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mac_reg_dump3", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:505:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bb_reg_dump1", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:512:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bb_reg_dump2", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:519:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bb_reg_dump3", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:526:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump1", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:533:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump2", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:542:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump3", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:549:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump4", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:559:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:577:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:585:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:593:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:601:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bw_mode", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:609:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:617:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rx_stbc", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:626:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:629:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:647:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("sreset", S_IFREG | S_IRUGO,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c: At top level:
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:1031:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^
/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.c:1031: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 '/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/vojtech/Ovladace/wifi/os_dep/linux/os_intfs.o] Error 1
Makefile:1396: recipe for target '_module_/home/vojtech/Ovladace/wifi' failed
make[1]: *** [_module_/home/vojtech/Ovladace/wifi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic'
Makefile:1041: recipe for target 'modules' failed
make: *** [modules] Error 2