Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't build on kernel 4.14 #2

Open
a2f0 opened this issue Apr 3, 2018 · 2 comments
Open

Won't build on kernel 4.14 #2

a2f0 opened this issue Apr 3, 2018 · 2 comments

Comments

@a2f0
Copy link

a2f0 commented Apr 3, 2018

I am getting the following output on Linux master 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux

root@master:/tmp/rtl8822bu# cat /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/make.log
DKMS make.log for RTL8822BU-5.1.7_19806.20161025_BTCOEX20161024-3333-0.1 for kernel 4.14.30-v7+ (armv7l)
Tue  3 Apr 05:37:50 UTC 2018
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.30-v7+/build M=/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build  modules
make[1]: Entering directory '/home/pi/linux-81dda1af754c3af667944af7156bf1c5cdf9beee'
  CC [M]  /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.o
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
                 from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.c:22:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending(current))
      ^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
                 from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.c:52:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending(current))
      ^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
                 from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.c:22:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
In file included from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/drv_types.h:32:0,
                 from /var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.c:22:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:374:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending(current))
      ^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:384:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending(current))
      ^~~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/include/osdep_service.h:385:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_io.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_security.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_cmd.o] Error 1
cc1: some warnings being treated as errors
scripts/Makefile.build:328: recipe for target '/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.o' failed
make[2]: *** [/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build/core/rtw_debug.o] Error 1
Makefile:1519: recipe for target '_module_/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build' failed
make[1]: *** [_module_/var/lib/dkms/RTL8822BU/5.1.7_19806.20161025_BTCOEX20161024-3333-0.1/build] Error 2
make[1]: Leaving directory '/home/pi/linux-81dda1af754c3af667944af7156bf1c5cdf9beee'
Makefile:1891: recipe for target 'modules' failed
make: *** [modules] Error 2
root@master:/tmp/rtl8822bu# uname -a
Linux master 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux
@a2f0
Copy link
Author

a2f0 commented Apr 3, 2018

@drwilco
Copy link
Owner

drwilco commented Dec 1, 2019

I've updated the repo with a new branch based on the latest driver. Should compile with up to 4.15 at least.

Also, the repo listed in that article doesn't do AP mode, and that's my goal with this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants