nouvo09 wrote:tu as installé le paquet kernel-devel ??
Alors, j'ai eu de l'aide d'un pote hier soir et j'ai un peu avancé.
Voici ce que j'ai fait et à chaque étape, j'ai relancé le make. J'ai eu des erreurs et j'ai donc dû faire plusieurs install.
[root@localhost ~]# dnf install kernel-devel
[root@localhost ~]# dnf install gcc
[root@localhost Netgear-A6210]# dnf install elfutils-libelf-devel
J'ai donc relancé le make et là je me suis retrouvé face à cette erreur :
[root@localhost Netgear-A6210]# make
export DBGFLAGS
*** Building driver with debug messages ***
cp -f os/linux/Makefile.6 /home/john/Netgear-A6210/os/linux/Makefile
make -C /lib/modules/4.14.11-300.fc27.x86_64/build DBGFLAGS=-DDBG SUBDIRS=/home/john/Netgear-A6210/os/linux modules
make[1] : on entre dans le répertoire « /usr/src/kernels/4.14.11-300.fc27.x86_64 »
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/assoc.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/auth.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/auth_rsp.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/sync.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/sanity.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/rtmp_data.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/connect.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/wpa.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/sta_cfg.o
CC [M] /home/john/Netgear-A6210/os/linux/../../sta/sta.o
CC [M] /home/john/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o
In file included from ./include/linux/bitmap.h:9:0,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:21,
from ./arch/x86/include/asm/cpufeature.h:5,
from ./arch/x86/include/asm/thread_info.h:53,
from ./include/linux/thread_info.h:38,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:81,
from ./include/linux/spinlock.h:51,
from ./include/linux/seqlock.h:36,
from ./include/linux/time.h:6,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:10,
from /home/john/Netgear-A6210/include/os/rt_linux.h:14,
from /home/john/Netgear-A6210/include/rtmp_os.h:30,
from /home/john/Netgear-A6210/include/rtmp_comm.h:64,
from /home/john/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:33:
Dans la fonction « memcpy »,
mis en ligne depuis « rt_ioctl_iwaplist » à /home/john/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.c:549:2:
./include/linux/string.h:340:4: error: appel à « __read_overflow2 » déclaré avec une erreur d'attribut: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:315: /home/john/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o] Error 1
make[1]: *** [Makefile:1511: _module_/home/john/Netgear-A6210/os/linux] Error 2
make[1] : on quitte le répertoire « /usr/src/kernels/4.14.11-300.fc27.x86_64 »
make: *** [Makefile:64: debug] Error 2
Il se faisait tard et mon pote m'a dit qu'à ce stade, il ne pouvait plus faire grand chose pour moi, qu'il faudrait aller dans le code ou demander un peu d'aide sur le Forum...
EDIT : Imprimante OK ! DisplayCAL installé pour la sonde ! 😉