Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Error! Bad return status for module build on kernel: 4.19.0-kali5-amd64 (x86_64) #32

Open
Kepler2016 opened this issue Jul 26, 2019 · 0 comments

Comments

@Kepler2016
Copy link

Hello,

Please help me, I'm receiving the following error,
(I have a Inamax wifi adapter 1200Mbps uses Realtek RTL88x2BU)

root@kali:~/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959# sudo dkms build -m rtl88x2bu -v ${VER}

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j2 KERNELRELEASE=4.19.0-kali5-amd64 KVER=4.19.0-kali5-amd64 src=/usr/src/rtl88x2bu-5.3.1..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.0-kali5-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.3.1/build/make.log for more information.

make.log,

DKMS make.log for rtl88x2bu-5.3.1 for kernel 4.19.0-kali5-amd64 (x86_64)
Fri 26 Jul 2019 01:21:17 PM EDT
/bin/sh: 1: bc: not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali5-amd64/build M=/var/lib/dkms/rtl88x2bu/5.3.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali5-amd64'
/bin/sh: 1: bc: not found
CC [M] /var/lib/dkms/rtl88x2bu/5.3.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/5.3.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/5.3.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/5.3.1/build/core/rtw_io.o
/usr/src/rtl88x2bu-5.3.1/core/rtw_debug.c: In function ‘dump_drv_version’:
/usr/src/rtl88x2bu-5.3.1/core/rtw_debug.c:45:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
^
/usr/src/rtl88x2bu-5.3.1/core/rtw_debug.c:45:62: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
/usr/src/rtl88x2bu-5.3.1/core/rtw_debug.c:45:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
/usr/src/rtl88x2bu-5.3.1/core/rtw_debug.c:45:62: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
CC [M] /var/lib/dkms/rtl88x2bu/5.3.1/build/core/rtw_ioctl_query.o
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-kali5-common/scripts/Makefile.build:308: /var/lib/dkms/rtl88x2bu/5.3.1/build/core/rtw_debug.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-4.19.0-kali5-common/Makefile:1539: module/var/lib/dkms/rtl88x2bu/5.3.1/build] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali5-amd64'
make: *** [Makefile:2011: modules] Error 2

os-release

PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2019.3"
VERSION_ID="2019.3"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

uname -r
4.19.0-kali5-amd64

Thank you,

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

No branches or pull requests

1 participant