Skip to content

raspberry isue #20

@jmsal79

Description

@jmsal79

I hope you can help me, I am trying to compile the driver this is the error:

root@raspberrypi:/tmp/rtl8822bu# cat /etc/os-release | head -1
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
root@raspberrypi:/tmp/rtl8822bu# uname -r
4.14.90-v7+
root@raspberrypi:/tmp/rtl8822bu# grep CONFIG_PLATFORM_ARM_RPI Makefile
CONFIG_PLATFORM_ARM_RPI = y
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
root@raspberrypi:/tmp/rtl8822bu# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.90-v7+/build M=/tmp/rtl8822bu modules
make[1]: Entering directory '/root/linux-6d68e517b3ec73b08f3af96f5859c5d083b66535'
CC [M] /tmp/rtl8822bu/core/rtw_cmd.o
In file included from /tmp/rtl8822bu/include/drv_types.h:32:0,
from /tmp/rtl8822bu/core/rtw_cmd.c:22:
/tmp/rtl8822bu/include/osdep_service.h: In function ‘thread_enter’:
/tmp/rtl8822bu/include/osdep_service.h:345:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/tmp/rtl8822bu/include/osdep_service.h: In function ‘flush_signals_thread’:
/tmp/rtl8822bu/include/osdep_service.h:355:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending(current))
^~~~~~~~~~~~~~
/tmp/rtl8822bu/include/osdep_service.h:356:3: error: implicit declaration of function ‘flush_signal ’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:326: recipe for target '/tmp/rtl8822bu/core/rtw_cmd.o' failed
make[2]: *** [/tmp/rtl8822bu/core/rtw_cmd.o] Error 1
Makefile:1532: recipe for target 'module/tmp/rtl8822bu' failed
make[1]: *** [module/tmp/rtl8822bu] Error 2
make[1]: Leaving directory '/root/linux-6d68e517b3ec73b08f3af96f5859c5d083b66535'
Makefile:1318: recipe for target 'modules' failed
make: *** [modules] Error 2
root@raspberrypi:/tmp/rtl8822bu#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions