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

stddef.h not found #1195

Open
chunkbanned opened this issue Mar 16, 2024 · 1 comment
Open

stddef.h not found #1195

chunkbanned opened this issue Mar 16, 2024 · 1 comment

Comments

@chunkbanned
Copy link

I've installed clang, gcc, llvm, everything
I've also built clang from source which took hours and still didnt work
and I constantly just get this error
I am on endevourOS which is Arch Linux based

  /usr/include/sys/types.h:144:10: fatal error: 'stddef.h' file not found
  thread 'main' panicked at /home/riley/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redis-module-2.0.7/build.rs:65:10:
  error generating bindings: ClangDiagnostic("/usr/include/sys/types.h:144:10: fatal error: 'stddef.h' file not found\n")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If you would like anymore details please ask and I will be happy to provide

@gpavinteractiv
Copy link

gpavinteractiv commented May 21, 2024

Same problem here on Centos Stream 9
edit : dnf install clang fixed it

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

2 participants