Skip to main content

Questions tagged [linux-headers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Kali Linux-Headers not being installed due to rtl8188fu

I am not able to install the linux-headers-6.8.11-amd64 kernel even after repeated trying. I tried several methods - sudo apt-get update, sudo apt-get upgrade, sudo apt-get dist-upgrade, sudo dkms --...
vidyarthi's user avatar
  • 101
0 votes
0 answers
224 views

Install TP-Link Archer T2U V3 driver in Linux without Internet

I'm using an Archer T2U v3 on my Ubuntu 14.04 and 16.04 system and on a Linux Mint system based on these Ubuntu versions. It works flawlessly with the driver directly provided by TP-Link from their ...
A. Bhowmick's user avatar
0 votes
1 answer
307 views

How to defer kernel updates until the corresponding "linux-headers" package is available?

I'm using Debian 12 Bookworm, and currently, when I run uname -a, it shows: Linux pctxd 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux The package linux-image-6....
gh57.at's user avatar
  • 13
0 votes
1 answer
125 views

Linux header and extra modules on ubuntu container from an open suse micro os host with mismatch kernel versions

I have an Open SUSE micro OS host with kernel 6.5.9-1-default and an Ubuntu 22.04 distrobox container. I need to install the linux-headers-$(uname -r) and linux-modules-extra-$(uname -r) packages and ...
ademar111190's user avatar
0 votes
1 answer
998 views

How to install OBS studio on Arch Linux without flatpak?

I am trying to install OBS studio using the standard Arch Linux repository instead of Flatpak. First I visited the Github page to find dependencies. xserver-xorg version 1.18.4 or newer is ...
wpt19368's user avatar
0 votes
0 answers
1k views

Package linux-headers-6.1.0-12-amd64 is not configured yet

I'm running proxmox host 8.0.4 on debian 12 - 6.2.16-10-pve One of my LXC running debian 12 6.2.16-10-pve, cant do any apt use If I try to install any package I got this error dkms: running auto ...
seserize's user avatar
1 vote
1 answer
963 views

What folder do I choose in the VMware kernel module updater?

When I run vmware in Kali Linux, this keeps showing up: I have kernel headers for version 6.3.0-kali1-amd64. What path do I use? When I choose a folder, this shows up: I looked up the answers online ...
horsey_guy's user avatar
1 vote
1 answer
1k views

How can I create the kernel headers for ARM on X86?

I have an ARM-based board, which I used with factory kernel (5.10.110). To manually build a kernel module, I needed the kernel-header package. To install this package it was explained in the ...
Daniel's user avatar
  • 339
1 vote
0 answers
220 views

Centos kernel version confliction

Currently, when I run uname -msr on my CentOS 7 machine, I get Linux 5.15.0 x86_64 But, what I've read, in a post like this, the kernel version should be 3.10.xxxx. This can be also confirmed from ...
user568518's user avatar
1 vote
0 answers
455 views

Attempting to install package, missing kernel header

Currently running on the following system (output of cat /etc/os-release): PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (...
Outstretched Pupil's user avatar
3 votes
2 answers
3k views

How to remove old kernel images

Am currently running POP_OS 20.04 (LTS). When I open the terminal and run the command, dpkg --list | grep linux-image it returns a list of apparently installed images, including my current (6.0.12) ...
frogsbottom's user avatar
2 votes
1 answer
6k views

Linux-headers-5.10.0-21-amd64 not found debian 11

I flashed a Debian image from debian official DVD amd64 into a live USB and installed it on a dual boot into my MacBook air 2020 intel core i7 following this tutorial. While installing, the FAT32 ...
Ercross's user avatar
  • 129
4 votes
1 answer
79 views

Why <sys/uio.h> called 'UIO' instead of 'VIO' [closed]

As The Open Group doc says, the <sys/uio.h> header defines the iovec structure, so why we call it Berkeley UIO.h rather than V(ector)IO.h?
ccmywish's user avatar
1 vote
0 answers
20 views

Linux headers wont install on VM unbutu 24 [closed]

I need headers for a class and when I enter the command, I get this.. I'm following the instruction given for my course and ive tried diffrent commands but the headers still wont show up
ana's user avatar
  • 11
2 votes
1 answer
4k views

Error while trying to compile headers in Ubuntu Jammy Jellyfish

I am currently trying to compile the headers in Jammy Jellyfish, and I am running into the following error: /usr/src/linux-headers-5.15.0-25-generic$ sudo make SYNC include/config/auto.conf.cmd ...
Dinger149's user avatar
0 votes
0 answers
2k views

How do I get VirtualBox to run on Arch?

When I try to start up a Windows 7 VM, I get 2 popup error windows. The first says: Failed to open a session for the virtual machine Windows7Box. The virtual machine 'Windows7Box' has terminated ...
Mr. Nate's user avatar
1 vote
1 answer
2k views

Compile kernel module targeting different kernel version

I have a simple "hello world" Linux kernel module that I would like to compile for a different host. My host is on a 5.x kernel version and the target is on 4.x. I do not want to update the ...
Anonymous's user avatar
0 votes
0 answers
214 views

Having trouble installing TP-Link AC1300 in Redhat 7.9

I am having trouble installing the driver for TP-Link AC1300 dongle in Red Hat. I followed this procedure for Ubuntu and it ultimately worked. Have been trying to follow the same steps in Red Hat, to ...
Veverke's user avatar
  • 368
0 votes
0 answers
159 views

Seeking thoughts on a weird error in printk.h

I am compiling a vendor provided proprietary test code for their device driver on rhel8.4, kernel version 4.18.0-305.10.2.el8_4.x86_64. Both the driver and the corresponding test code had been ...
Vinod's user avatar
  • 165
0 votes
1 answer
158 views

Installing different C compiler messed up system header files

Today I installed scc, which is a different C compiler. (Link) After realizing that scc was not mature enough for my use, I uninstalled it. Installing scc apparently replaced many C header files such ...
user avatar
1 vote
1 answer
688 views

What is the correct usage of CONFIG_TRIM_UNUSED_KSYMS and the whitelist file?

I want to build an out-of-tree driver using a kernel built from the latest mainline source code. I use localmodconfig when building, which reduces the number of modules and kernel symbols exported to ...
Michael Fulton's user avatar
0 votes
1 answer
3k views

dpkg linux headers dependencies error while upgrading the linux

I am using ubuntu 20 right now, from the last few days the software updater is popping up with some updates that need to be installed and when I click to install it starts the installation process but ...
Vinay Chimmili's user avatar
0 votes
1 answer
394 views

Cannot build kgdboe against kernel headers

I am trying to build kgdboe according to the following tutorial. I am running Ubuntu 20.04 with an updated kernel 5.9.0 as I needed a driver which was not available in stock kernel. I updated the ...
Hamzahfrq's user avatar
  • 232
0 votes
1 answer
2k views

VMware Kernel-Headers

I Installed VMware-Player-16.1.2-17966106.x86_64.bundle . When I ran it in the GUI it shows I use Arch Linux and I installed all required packages as per Arch wiki . Many answers for this kind of ...
user avatar
0 votes
1 answer
983 views

Why debian installs linux headers in two different places?

Debian have two packages for headers one architecture dependent and another is not. They install headers in /usr/src/$LINUX/common and /usr/src/$LINUX/$ARCH and consequently two directories: build and ...
ynidpl's user avatar
  • 21
0 votes
1 answer
529 views

Can't compile headers on Kali Linux

i have a problem on my kali linux - i wanted to write a simple program which included 3 header files: #include <linux/input.h> #include <stdio.h> #include <fcntl.h> i tried to ...
pazdinho_'s user avatar
0 votes
1 answer
62 views

C-std headers containing helper functions for system, user and kernel times?

Basically, I am working with Nvidia's new github repos and trying to compile them in a cross-platform setup. Specifically, I am trying to compile them on Fedora 33. I have run into an issue: In file ...
Chris's user avatar
  • 983
2 votes
0 answers
707 views

Cannot install linux-headers because of uname

On Ubuntu (18.04.5 LTS) I tried to install linux headers (need that for acronis backup) with sudo apt-get install linux -headers-`uname -r` If i run that, apt lists 719 header-packages to be ...
Indivon's user avatar
  • 121
0 votes
1 answer
3k views

what are the conventions around /lib/modules?

I'm creating a program that interacts withkernel headers. The user can provide a path to the location of the headers, but first I would like to be able discover existing kernel headers on the users's ...
itaysk's user avatar
  • 161
0 votes
1 answer
438 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 /...
AFP_555's user avatar
  • 301
-3 votes
1 answer
650 views

Package "linux-headers" not available in Kali Linux

I found a tutorial of how to install Kali Linux on VirtualBox. Everything was going fine, until I enter this command: sudo apt update && sudo apt install -y linux-headers - $(uname -r) It ...
platinoob_'s user avatar
1 vote
1 answer
5k views

Can't find the source of some "asm", "generated" header files in linux kernel?

So, I am writing a module, that is working in kernel space. My code compiles correctly and works correctly. The thing is that there are some header files, which I couldn't find anywhere. That doesn't ...
Akshdeep Singh's user avatar
2 votes
1 answer
2k views

Want to install VirtualBox Guest Additions on CentOS 7 but get a header mismatch

I try to install VirtualBox Guest Additions on a CentOS 7 VM. I installed the prerequisites via sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2 then I "inserted" the Guest ...
halloleo's user avatar
  • 589
4 votes
1 answer
4k views

What is kernel headers that can be used in userspace? Do their signature or interface differ than the headers in different directories?

It might be a incoherent question about kernel headers as I don't have clear understanding about it and where and how it is used. I think it might get flagged down. My question has 3 parts: I think ...
jlas's user avatar
  • 95
0 votes
0 answers
1k views

kernel headers installed but still missing

I'm working on a RPI2B+ with a fresh install of Raspbian Buster I want to install https://github.com/Mange/rtl8192eu-linux-driver.git so I have to run the following commands : apt update apt ...
amprxc's user avatar
  • 109
3 votes
1 answer
3k views

NGINX can't read custom headers from response

From my nginx server I want to get an auth response with custom headers from an external Apache server. The problem is, I can't get the custom header's value. location /app { ...
nano1254's user avatar
9 votes
3 answers
29k views

Failed to update Linux headers on debian stretch / Debian 9

After running below command i got error: # apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate ...
Abhishek Verma's user avatar
0 votes
1 answer
2k views

UnixODBC-dev installed in /usr/local/, resulting in gcc reporting sql.h can't be found

My current use case is installing PyODBC via poetry in a Jenkins job build, which is failing because sql.h can't be found. For background, I have two servers, one RHEL 6, one RHEL 7; the RHEL 6 ...
Azide's user avatar
  • 3
1 vote
2 answers
4k views

make headers_install not working as expected

I have Ubuntu 16.04 LTS installed and have installed linux-headers. I am in the middle of trying to build uClibc-ng and it needs the linux headers. So when I run the following command from the linux-...
JonBelanger's user avatar
2 votes
0 answers
301 views

Unable to find relevant linux headers

I am going through the steps to be able to use my Wacom tablet (CTL-6100WL) and I am to the point where I am installing the linux headers however this happens. (xenial)grace@localhost:~$ uname -r 3....
Grace's user avatar
  • 21
5 votes
1 answer
2k views

Kali Linux kernel headers for 4.14.71-v6

I am trying to install kernel headers version 4.14.71-v6 (uname -r) for Kali Linux. I already did the common commands... apt update apt upgrade apt dist-upgrade apt install linux-headers-generic alt ...
Hendrik Jaenzoffski's user avatar
0 votes
1 answer
984 views

kernel headers linux not found [duplicate]

I can't get past the : apt install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-4....
C. Auth's user avatar
  • 11
6 votes
1 answer
3k views

Why are there multiple copies of header files in /usr/include?

I've been browsing my /usr/include folder trying to get acquainted with the layout and I've noticed that there are multiple copies of header files (at least by name, I didn't actually diff them to see ...
Adam Sperry's user avatar
2 votes
0 answers
66 views

Installing Kernel Headers

I have built, installed, and am now running a recent 4.18.0-rc1+ kernel from kernel.org on a Xubuntu machine. The machine used to run 4.13.0-45. I am now trying to compile programs against it with gcc ...
Andy's user avatar
  • 121
1 vote
1 answer
5k views

How do I find kernel headers for a specific version of Linux kernel?

I need to write a kernel module for a Linux system as shown below. # uname -a Linux (none) 3.7.1 #1 SMP Mon Dec 23 06:07:19 PST 2013 i686 GNU/Linux # cat /proc/cpuinfo processor : 0 vendor_id ...
sherlock's user avatar
  • 646
-2 votes
1 answer
1k views

trying to install linux headers but not found in sources

I have a ts7400v2 sbc and I am trying to install the linux-headers. I run: sudo apt-get install build-essential linux-headers-$(uname -r) but get the following error: sudo: unable to resolve host ...
Dick's user avatar
  • 3
-4 votes
1 answer
2k views

Kali Linux VirtualBox Header Problems [duplicate]

I'm trying to install VirtualBox guest additions on Kali Linux 2018.1 with the kernel version 4.14.0 But when I try to install them from the guest additions ISO by running the VBoxLinuxAdditions.run ...
Gregor Trplan's user avatar
3 votes
1 answer
516 views

Should my Linux headers match my running kernel or what glibc was compiled against?

The last time I needed to deal with kernel headers was back in the Pleistocene (2.6 or so) and I remember back then that you needed to match your kernel headers not to the kernel you were running but ...
Bandrami's user avatar
  • 850