Page 11 sur 11

Re: carte wifi inexistante pour LINUXMINT

Posté : mar. 26 janv. 2021 22:30
par L5d

Dernier message de la page précédente :

Bonjour,
Je reviens sur le retour de "ls" : on voit qu'il manque beaucoup de fichiers listés sur la page du lien du "git".
dont "dkms-install.sh" qui devrait y être. Est-ce que ça serait la commande "git clone ..." qui prend pas tout ?

sur cette même page, il y a un bouton (vert) qui propose "Download zip" quand on le clique. à essayer peut être pour avoir tous les fichiers ?

Re: carte wifi inexistante pour LINUXMINT

Posté : mer. 27 janv. 2021 07:55
par MickMick68
j'ai refais toutes l'opération de A à Z pour voir si j'arrive a avoir les fichiers manquant.
résultat du ls:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU
driesbach@driesbach-F6-Plus:~/rtl8821CU$ ls
clean      dkms-install.sh  ifcfg-wlan0  LICENSE   platform     runwpa
core       dkms-remove.sh   include      Makefile  README.md    wlan0dhcp
dkms.conf  hal              Kconfig      os_dep    rtl8821c.mk
driesbach@driesbach-F6-Plus:~/rtl8821CU$
suite a ça je passe aux commandes make:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~/rtl8821CU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-40-generic/build M=/home/driesbach/rtl8821CU  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.8.0-40-generic »
  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-40-generic »
make: *** [Makefile:1923 : modules] Erreur 2
driesbach@driesbach-F6-Plus:~/rtl8821CU$
et là, j'ai toujours deux erreurs.

Re: carte wifi inexistante pour LINUXMINT

Posté : ven. 29 janv. 2021 23:14
par L5d
Bonsoir,
suite au nouveau résultat de la commande ls, tu peux réessayer

Code : Tout sélectionner

./dkms-install.sh
, à faire du dossier qui le contient, et au besoin précédé de sudo.

Re: carte wifi inexistante pour LINUXMINT

Posté : lun. 1 févr. 2021 09:13
par MickMick68
Salut L5d,
j'ai testé ta commande et il semblerait que mon noyau poserait problème. Cyrille m'en avait parlé, mais je ne sais pas comment faire pour aller sur un noyau antérieur a celui que j'ai actuellement. N'y lequel prendre d'ailleurs.
la commande a donnée ceci:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~$ cd rtl8821CU
driesbach@driesbach-F6-Plus:~/rtl8821CU$ sudo ./dkms-install.sh
[sudo] Mot de passe de driesbach :                 
About to run dkms install steps...

Creating symlink /var/lib/dkms/rtl8821CU/5.4.1/source ->
                 /usr/src/rtl8821CU-5.4.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.0-40-generic................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=5.8.0-40-generic................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.0-40-generic (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.
Finished running dkms install steps.
driesbach@driesbach-F6-Plus:~/rtl8821CU$ 

Re: carte wifi inexistante pour LINUXMINT

Posté : lun. 1 févr. 2021 09:22
par alain
Bonjour MickMick.

Donnes le retour de:

Code : Tout sélectionner

cat /var/lib/dkms/rtl8821CU/5.4.1/build/make.log
Ça pourrait aiguiller L5d ou Cyrille sur l'origine du problème.

Re: carte wifi inexistante pour LINUXMINT

Posté : lun. 1 févr. 2021 09:27
par MickMick68
Salut Alain,
voici le retour:

Code : Tout sélectionner

driesbach@driesbach-F6-Plus:~/rtl8821CU$ cat /var/lib/dkms/rtl8821CU/5.4.1/build/make.log
DKMS make.log for rtl8821CU-5.4.1 for kernel 5.8.0-40-generic (x86_64)
lun. 01 févr. 2021 09:08:21 CET
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-40-generic/build M=/var/lib/dkms/rtl8821CU/5.4.1/build  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.8.0-40-generic »
  CC [M]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_security.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_security.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_debug.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_debug.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_io.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_io.c:52:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_query.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_query.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_set.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ioctl_set.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ieee80211.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ieee80211.c:25:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/../hal/phydm/phydm_types.h:191,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/../hal/phydm/phydm_precomp.h:24,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/hal_data.h:25,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/../hal/phydm/phydm_types.h:191,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/../hal/phydm/phydm_precomp.h:24,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/hal_data.h:25,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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
      | 
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.c:1510:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1510 |   if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
      |      ^
/var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mlme_ext.c:1515:2: note: here
 1515 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mi.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_mi.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_wlan_util.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_wlan_util.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_vht.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_vht.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_pwrctrl.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_pwrctrl.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rf.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_rf.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_recv.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_recv.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_sta_mgt.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_ap.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_xmit.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_xmit.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_p2p.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_p2p.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_tdls.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_tdls.c:22:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_br_ext.o
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_br_ext.c:32:
/var/lib/dkms/rtl8821CU/5.4.1/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1019 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/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 /var/lib/dkms/rtl8821CU/5.4.1/build/include/drv_types.h:82,
                 from /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_br_ext.c:32:
/var/lib/dkms/rtl8821CU/5.4.1/build/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 /var/lib/dkms/rtl8821CU/5.4.1/build/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 : /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_br_ext.o] Erreur 1
make[1]: *** [Makefile:1780 : /var/lib/dkms/rtl8821CU/5.4.1/build] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.8.0-40-generic »
make: *** [Makefile:1923 : modules] Erreur 2

Re: carte wifi inexistante pour LINUXMINT

Posté : lun. 1 févr. 2021 22:22
par L5d
Bonsoir,
Cyrille a raison, c'est hors de nos compétences, il faudrait poster sur https://launchpad.net/ et soumettre un bug, mais il faut maîtriser l'anglais un minimum, afin de bien présenter le bug dans la forme attendue.
Sur leur site, on peut faire un recherche avec soit le nom du driver qui ne veut pas compiler : "rtl8821CU" soit le type du matériel : "0bda:c811".

Si le bug est déjà répertorié, ajouter ton expérience : site git utilisé, version de noyau utilisé pour le dkms-install.sh, tout le retour qu'il y a dans le log .
Si les bug trouvés ne sont pas identiques au tien, en déclarer un nouveau.
bon courage :geek:

Re: carte wifi inexistante pour LINUXMINT

Posté : lun. 1 févr. 2021 22:40
par L5d
re-
Donc sur launchpad.net, on trouve : https://launchpad.net/+search?field.tex ... rch=Search une entrée avec un ppa maintenu par Butterfly, un contributeur de LinuxMint.
En page 2 de sa liste https://launchpad.net/~kelebek333/+arch ... u/kablosuz de "*.-dkms", il y a les "rtl8821cu-dkms ", un par noyau : hélas on n'y trouve pas le tien pour 5.8...., il n'y a que des 5.4.1 par LTS d'Ubuntu : Normal, car ce sont les noyaux "de base", maintenus 5 ans, alors que la branche 5.8 sera obsolète dans 6 mois.

Par ailleurs, il existe déjà des 5.10 il me semble.
Tu peux essayer de lui écrire directement, en expliquant que le 5.8 t'es indispensable pour gérer le truc tactile de ton pc, que le 5.4 ne gère pas. :ugeek:

Re: carte wifi inexistante pour LINUXMINT

Posté : dim. 18 avr. 2021 03:47
par alain
Bonjour.

Sujet archivé (en lecture seule) car 2 mois sans réponse.
Si besoin de rouvrir faire un MP à un membre de l'équipe ;)