Enviado em 31/12/2015 - 14:53h
xubuntu 15.10root@gessica:/home/gessica/Downloads/RTL# make
make -C /lib/modules/4.2.0-22-generic/build M=/home/gessica/Downloads/RTL modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-22-generic'
CC [M] /home/gessica/Downloads/RTL/base.o
In file included from /home/gessica/Downloads/RTL/base.c:39:0:
/home/gessica/Downloads/RTL/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
int __devinit rtl_pci_probe(struct pci_dev *pdev,
^
/home/gessica/Downloads/RTL/base.c: In function ‘_rtl_init_mac80211’:
/home/gessica/Downloads/RTL/base.c:318:12: error: assignment to expression with array type
hw->flags = IEEE80211_HW_SIGNAL_DBM |
^
/home/gessica/Downloads/RTL/base.c:331:13: error: assignment to expression with array type
hw->flags |= IEEE80211_HW_SUPPORTS_PS |
^
/home/gessica/Downloads/RTL/base.c:365:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’
hw->channel_change_time = 100;
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_action_proc’:
/home/gessica/Downloads/RTL/base.c:885:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
rx_status.freq = hw->conf.channel->center_freq;
^
/home/gessica/Downloads/RTL/base.c:886:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
rx_status.band = hw->conf.channel->band;
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_beacon_statistic’:
/home/gessica/Downloads/RTL/base.c:1160:6: error: implicit declaration of function ‘compare_ether_addr’ [-Werror=implicit-function-declaration]
if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid))
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_send_smps_action’:
/home/gessica/Downloads/RTL/base.c:1451:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’
info->band = hw->conf.channel->band;
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_store_debug_level’:
/home/gessica/Downloads/RTL/base.c:1684:8: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
ret = strict_strtoul(buf, 0, &val);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/gessica/Downloads/RTL/base.o' failed
make[2]: *** [/home/gessica/Downloads/RTL/base.o] Error 1
Makefile:1398: recipe for target '_module_/home/gessica/Downloads/RTL' failed
make[1]: *** [_module_/home/gessica/Downloads/RTL] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-22-generic'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 2
root@gessica:/home/gessica/Downloads/RTL# make install
make -C /lib/modules/4.2.0-22-generic/build M=/home/gessica/Downloads/RTL modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-22-generic'
CC [M] /home/gessica/Downloads/RTL/base.o
In file included from /home/gessica/Downloads/RTL/base.c:39:0:
/home/gessica/Downloads/RTL/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
int __devinit rtl_pci_probe(struct pci_dev *pdev,
^
/home/gessica/Downloads/RTL/base.c: In function ‘_rtl_init_mac80211’:
/home/gessica/Downloads/RTL/base.c:318:12: error: assignment to expression with array type
hw->flags = IEEE80211_HW_SIGNAL_DBM |
^
/home/gessica/Downloads/RTL/base.c:331:13: error: assignment to expression with array type
hw->flags |= IEEE80211_HW_SUPPORTS_PS |
^
/home/gessica/Downloads/RTL/base.c:365:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’
hw->channel_change_time = 100;
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_action_proc’:
/home/gessica/Downloads/RTL/base.c:885:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
rx_status.freq = hw->conf.channel->center_freq;
^
/home/gessica/Downloads/RTL/base.c:886:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
rx_status.band = hw->conf.channel->band;
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_beacon_statistic’:
/home/gessica/Downloads/RTL/base.c:1160:6: error: implicit declaration of function ‘compare_ether_addr’ [-Werror=implicit-function-declaration]
if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid))
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_send_smps_action’:
/home/gessica/Downloads/RTL/base.c:1451:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’
info->band = hw->conf.channel->band;
^
/home/gessica/Downloads/RTL/base.c: In function ‘rtl_store_debug_level’:
/home/gessica/Downloads/RTL/base.c:1684:8: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
ret = strict_strtoul(buf, 0, &val);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/gessica/Downloads/RTL/base.o' failed
make[2]: *** [/home/gessica/Downloads/RTL/base.o] Error 1
Makefile:1398: recipe for target '_module_/home/gessica/Downloads/RTL' failed
make[1]: *** [_module_/home/gessica/Downloads/RTL] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-22-generic'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 2
root@gessica:/home/gessica/Downloads/RTL#