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

build against clang compiled kernel #34

Open
mejgun opened this issue Dec 12, 2022 · 1 comment
Open

build against clang compiled kernel #34

mejgun opened this issue Dec 12, 2022 · 1 comment

Comments

@mejgun
Copy link

mejgun commented Dec 12, 2022

distro: gentoo stable

if kernel compiled manually with gcc (default compiler), everything works perfectly fine

if binary kernel used or compiled manually with clang, then

  • make fails with error
    gcc: error: unrecognized command line option ‘-Qunused-arguments’, etc

screenshot-2022-12-12--14-02-24-window

  • make CC=clang
    fails with ERROR: "is_broadcast_mac_addr" [] undefined!

screenshot-2022-12-12--14-00-45-window

@mejgun
Copy link
Author

mejgun commented Dec 12, 2022

i found workaround by replacing extern inline to static inline in include/ieee80211.h

from here

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

1 participant