Questions tagged [header-file]
The header-file tag has no summary.
87 questions
0 votes
0 answers
642 views
Missing header files for linux development
I am new to linux development and I want to develop a linux module, but I am running into an issue. Some header files, notably <linux/init.h>, are missing (/not found) I am currently using ...
2 votes
2 answers
211 views
Does GRUB 2.12 now support detached headers?
In GRUB's project status update, at FOSDEM 2022, they talked about adding detached headers support in GRUB 2.12 (for decryption) : Add cryptodisk detached headers and key files support, Denis 'GNUtoo'...
7 votes
2 answers
2k views
Detached LUKS-header on Debian-based GNU/Linux
There is scattered information on how to set up a detached header for a LUKS-encrypted disk on Stack Exchange. And by searching the web using Google, I found limited information. Some of the best ...
9 votes
2 answers
1k views
Why is there no WORD_BIT in limits.h on Linux?
From the manpage man limits.h: {WORD_BIT} Number of bits in an object of type int. Minimum Acceptable Value: 32 However if I run a simple program: #include <limits....
0 votes
1 answer
5k views
How to find all possible locations for libraries and header files on any distro?
I found that the location of libraries and header files are very different on different distributions. For Example on Fedora you have /usr/lib64/libbfd.a while on Ubuntu you have /usr/lib/x86_64-linux-...
0 votes
1 answer
381 views
How to tell 'find' command to jump to a position and search? [duplicate]
I'm preparing headers for a C++ project and I decided to use find to get include option to other header files. To list the right path, I need to use cd with it, like: cd 'PATH/TO/HEADER/FILE' find ../....
0 votes
1 answer
524 views
How are conflicts avoided in Linux Headers?
I'm trying to understand how Linux works and how to build modules. So far I saw that Linux headers are stored in /usr/include and that the compiled implementation of these interfaces are located in /...
0 votes
1 answer
533 views
Install matching Linux header files after Linux kernel upgrade
I recently upgraded my Linux kernel from 4.19.20 to 5.5.0-0.bpo.2-amd64. sudo apt install linux-headers-$(uname -r) outputs: Reading package lists... Done Building dependency tree Reading ...