diederikdehaas / rtl8812AU

Realtek 8812AU USB WiFi driver
Other
475 stars 177 forks source link

Exec format error #89

Open HornedReaper opened 6 years ago

HornedReaper commented 6 years ago

Each time my system update the kernel, I must re-install the module because when I type "sudo modprobe 8812au" I got this line as all result : "modprobe: ERROR: could not insert '8812au': Exec format error" Watch if there is no bug nor backdoor that could disable nor destroy or make a script to re-install with the kernel update the module because it's very boring to have to use my phone to get back the network to get the module that give me the network at each update/upgrade of my system... :-/ Thanks by advance, Best regards...

ps: I'm on ...buntu last version

dizzi90 commented 6 years ago

Same error. Won't compile either.

magnus@pop-os:~/Source/rtl8812AU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-36-generic/build M=/home/magnus/Source/rtl8812AU  modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-36-generic'
  CC [M]  /home/magnus/Source/rtl8812AU/core/rtw_cmd.o
In file included from /home/magnus/Source/rtl8812AU/include/drv_types.h:32:0,
                 from /home/magnus/Source/rtl8812AU/core/rtw_cmd.c:22:
/home/magnus/Source/rtl8812AU/include/osdep_service.h: In function ‘thread_enter’:
/home/magnus/Source/rtl8812AU/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
  do_signal
/home/magnus/Source/rtl8812AU/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/magnus/Source/rtl8812AU/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
      timer_pending
/home/magnus/Source/rtl8812AU/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
   do_signal
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/home/magnus/Source/rtl8812AU/core/rtw_cmd.o' failed
make[2]: *** [/home/magnus/Source/rtl8812AU/core/rtw_cmd.o] Error 1
Makefile:1550: recipe for target '_module_/home/magnus/Source/rtl8812AU' failed
make[1]: *** [_module_/home/magnus/Source/rtl8812AU] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-36-generic'
Makefile:1576: recipe for target 'modules' failed
make: *** [modules] Error 2
diederikdehaas commented 6 years ago

I've added some commits to the 4.3.20 branch, which among other things adds support for newer kernels. Can you test that and see whether that fixes your issue?