You are not logged in.

#1 2023-12-05 19:18:51

lpss31
Member
From: Ukraine
Registered: 2023-10-22
Posts: 1

init.h not installed

Was writing basic kernel modules for my assignment when clangd started to say that linux/init.h doesn't exist. I tried reinstalling linux-headers but nothing changes. 

Anyone had the similar issue?


This message is against the codd of conduct

Offline

#2 2023-12-05 19:52:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: init.h not installed

pacman -Ql linux-headers | grep init.h

and please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

Post the actual, complete error in its entire context.
You might simply be missing the relevant include paths.

Offline

Board footer

Powered by FluxBB