Giter Site home page Giter Site logo

Compile Error in Kali about rtw88 HOT 6 CLOSED

lwfinger avatar lwfinger commented on August 30, 2024
Compile Error in Kali

from rtw88.

Comments (6)

mrizkimaulidan avatar mrizkimaulidan commented on August 30, 2024 1

I have asked kali about this problem at here https://bugs.kali.org/view.php?id=6707, the problem is fixed now on mine. Just comment this line out at /usr/src/linux-headers-5.7.0-kali3-common/Makefile. Thank you so much for maintaining this repository sir, it helps alot!

Screenshot_2020-09-06_18-41-51

from rtw88.

lwfinger avatar lwfinger commented on August 30, 2024

It is a Kali problem. I have no idea where those gcc command-line options come from. I had one other Kali user report that same problem.

from rtw88.

cmkeslin avatar cmkeslin commented on August 30, 2024

from rtw88.

mrizkimaulidan avatar mrizkimaulidan commented on August 30, 2024

so are there any fixes for this issue?

from rtw88.

lwfinger avatar lwfinger commented on August 30, 2024

Have you asked Kali? I have used that compiler on openSUSE without ever running into that error, thus it is definitely a Kali problem!

from rtw88.

bwhacks avatar bwhacks commented on August 30, 2024

Kali is using the Debian kernel packaging. I think the problem is that:

  • Debian kernel packaging sets a specific compiler version for building the kernel and all out-of-tree modules; currently gcc-9
  • rtw88's Makefile sets CC = gcc; and that's now gcc 10

The result of this is that Kbuild will do compiler feature probing with gcc 9 but then rtw88 is built with gcc 10, and that no longer accepts this particular option.

Setting CC also breaks cross-compiling. So please don't set it.

from rtw88.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.