View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006707 | Kali Linux | General Bug | public | 2020-09-06 07:09 | 2021-06-02 10:11 |
Reporter | vizt3r | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | unable to reproduce |
Status | closed | Resolution | open | ||
Product Version | 2020.3 | ||||
Summary | 0006707: Error when compiling with make command | ||||
Description | So i just upgraded the kernel version to 5.7.0 on kali 2020.3. And i wanted to installing wifi driver with rtl8723de chipset on my kali. When i am type "make" command on the terminal.. the error said "gcc: error: unrecognized command-line option I have opening issue on his github repository and he says don't know how to fix it, so he told me contact to bug report on kali. Here are some people who have had the same problem : | ||||
Steps To Reproduce | Error when trying to compile with "make" command | ||||
Attached Files | |||||
This looks like it's coming from upstream - https://lore.kernel.org/patchwork/patch/472180/ is the patch to the kernel that added it. A workaround for the moment is to comment that line out in /usr/src/linux-headers-5.7.0-kali3-common/Makefile - this will allow the rtw88 driver to build, but I don't have the hardware to test that it works, unfortunately. |
|
Yes it works now on my kali machine. Thank you so much! |
|
The linux kernel that we ship is built with gcc 9 and that version still support that option. However the default gcc has changed to gcc 10 and that version has dropped the option, thus leading to this error. Quoting /usr/share/doc/gcc-10/NEWS.gz: |
|
It turns out it's really a bug in rtw88 build machinery. The makefile overrides the CC variable with "gcc" instead of letting the kernel build system take care of initializing it to the value that it has been configured with (which in our case is gcc-9). See https://github.com/lwfinger/rtw88/issues/18#issuecomment-688579122 (this is a comment of Ben Hutchings, a Debian kernel maintainer). |
|
I sent a pull request to rtw88 - https://github.com/lwfinger/rtw88/pull/21 which was merged, to remove this. It should work properly now, without editing the Makefile. I would suggest reverting the change to the Makefile, and pulling in the latest rtw88 git and testing it. |
|
This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-06 07:09 | vizt3r | New Issue | |
2020-09-06 07:09 | vizt3r | File Added: Screenshot_2020-09-03_06-56-50.png | |
2020-09-06 18:54 | steev | Note Added: 0013397 | |
2020-09-07 01:35 | vizt3r | Note Added: 0013398 | |
2020-09-07 15:02 | rhertzog | Note Added: 0013399 | |
2020-09-08 08:06 | rhertzog | Note Added: 0013401 | |
2020-10-01 16:42 | steev | Note Added: 0013516 | |
2021-06-02 10:11 | g0tmi1k | Note Added: 0014635 | |
2021-06-02 10:11 | g0tmi1k | Status | new => closed |