Code : Tout sélectionner
driesbach@driesbach-F6-Plus:~$ cd rtl8821CU
driesbach@driesbach-F6-Plus:~/rtl8821CU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-36-generic/build M=/home/driesbach/rtl8821CU modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.8.0-36-generic »
CC [M] /home/driesbach/rtl8821CU/core/rtw_cmd.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_cmd.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_security.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_security.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_security.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_debug.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_debug.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_io.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_io.c:52:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_io.c:52:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_ioctl_query.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_ioctl_query.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_ioctl_query.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_ioctl_set.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_ioctl_set.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_ioctl_set.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_ieee80211.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_ieee80211.c:25:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_ieee80211.c:25:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_mlme.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_types.h:191,
from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_precomp.h:24,
from /home/driesbach/rtl8821CU/include/hal_data.h:25,
from /home/driesbach/rtl8821CU/core/rtw_mlme.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_types.h:191,
from /home/driesbach/rtl8821CU/include/../hal/phydm/phydm_precomp.h:24,
from /home/driesbach/rtl8821CU/include/hal_data.h:25,
from /home/driesbach/rtl8821CU/core/rtw_mlme.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_mlme_ext.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
/home/driesbach/rtl8821CU/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:1510:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
1510 | if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
| ^
/home/driesbach/rtl8821CU/core/rtw_mlme_ext.c:1515:2: note: here
1515 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /home/driesbach/rtl8821CU/core/rtw_mi.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_mi.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_mi.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_wlan_util.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_wlan_util.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_wlan_util.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_vht.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_vht.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_vht.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_pwrctrl.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_pwrctrl.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_pwrctrl.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_rf.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_rf.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_rf.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_recv.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_recv.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_sta_mgt.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_sta_mgt.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_sta_mgt.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_ap.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_ap.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_ap.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_xmit.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_xmit.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_xmit.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_p2p.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_p2p.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_p2p.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_tdls.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_tdls.c:22:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_tdls.c:22:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
CC [M] /home/driesbach/rtl8821CU/core/rtw_br_ext.o
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:35,
from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:32:
/home/driesbach/rtl8821CU/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/driesbach/rtl8821CU/include/osdep_service_linux.h:86,
from /home/driesbach/rtl8821CU/include/osdep_service.h:47,
from /home/driesbach/rtl8821CU/include/drv_types.h:32,
from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:32:
./include/linux/ieee80211.h:1600: note: this is the location of the previous definition
1600 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/driesbach/rtl8821CU/include/drv_types.h:82,
from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:32:
/home/driesbach/rtl8821CU/include/rtw_security.h:248:8: error: redefinition of ‘struct sha256_state’
248 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:23,
from ./include/net/sock.h:59,
from ./include/net/inet_sock.h:22,
from ./include/net/ip.h:27,
from /home/driesbach/rtl8821CU/core/rtw_br_ext.c:24:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:290 : /home/driesbach/rtl8821CU/core/rtw_br_ext.o] Erreur 1
make[1]: *** [Makefile:1780 : /home/driesbach/rtl8821CU] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.8.0-36-generic »
make: *** [Makefile:1923 : modules] Erreur 2
driesbach@driesbach-F6-Plus:~/rtl8821CU$ sudo make install
install -p -m 644 8821cu.ko /lib/modules/5.8.0-36-generic/kernel/drivers/net/wireless/
install: impossible d'évaluer '8821cu.ko': Aucun fichier ou dossier de ce type
make: *** [Makefile:1929 : install] Erreur 1