You are not logged in.

#1 2018-02-14 08:04:41

rogorido
Member
Registered: 2009-08-17
Posts: 107

Error building ndiswrapper for new kernels

Hi, kernel 4.15.2 and 4.15.3 were not able to build ndiswrapper because of the following error: http://ix.io/HaY

Basically:

/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c: En la función ‘wrap_init_timer’:
/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c:455:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
  init_timer(&wrap_timer->timer);
  ^~~~~~~~~~
  init_timers
/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c:456:19: error: ‘struct timer_list’ no tiene un miembro llamado ‘data’
  wrap_timer->timer.data = (unsigned long)wrap_timer;
                   ^
/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c:457:29: error: asignación desde un tipo de puntero incompatible [-Werror=incompatible-pointer-types]
  wrap_timer->timer.function = timer_proc;
                             ^
/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c: En la función ‘ntoskernel_init’:
/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c:2563:29: error: asignación desde un tipo de puntero incompatible [-Werror=incompatible-pointer-types]
  shared_data_timer.function = update_user_shared_data_proc;
                             ^
/var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.c:2564:19: error: ‘struct timer_list’ no tiene un miembro llamado ‘data’
  shared_data_timer.data = 0;
                   ^
cc1: algunos avisos se tratan como errores
make[2]: *** [scripts/Makefile.build:316: /var/lib/dkms/ndiswrapper/1.61/build/ntoskernel.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [Makefile:1508: _module_/var/lib/dkms/ndiswrapper/1.61/build] Error 2
make[1]: se sale del directorio '/usr/lib/modules/4.15.3-1-ARCH/build'
make: *** [Makefile:183: modules] Error 2

Any ideas?

Offline

#2 2018-02-14 10:52:27

jarvisai
Member
From: Tokyo | Berlin
Registered: 2017-01-18
Posts: 5
Website

Re: Error building ndiswrapper for new kernels

hmm did that say the function call init_timer must have s letter at end of word.

Did that make this error ?


$> whoami -- Jarvis Mercer | My GitHub - My email address - Telegram-ID - Discord = #0839 - ArchLinux+AsusN552VW-A+MacbookPro2017(TB)

Offline

#3 2018-02-14 20:49:50

rogorido
Member
Registered: 2009-08-17
Posts: 107

Re: Error building ndiswrapper for new kernels

jarvisai wrote:

hmm did that say the function call init_timer must have s letter at end of word.

Did that make this error ?

It seems so, but I did not change this file... Am I the only one with this error?

Offline

#4 2018-02-14 23:53:46

loqs
Member
Registered: 2014-03-06
Posts: 3,620

Re: Error building ndiswrapper for new kernels

https://sources.debian.org/patches/ndis … .15.patch/
File a bug report asking for ndiswrapper to be patched for linux 4.15.

Offline

Board footer

Powered by FluxBB