linux-libc-dev: linux/errno.h referrs to non-existing asm/errno.h

Bug #1771309 reported by Christian Henz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

/usr/include/asm does not exist on my machine - only /usr/include/asm-generic. This seems to be a common problem: (https://stackoverflow.com/questions/14795608/asm-errno-h-no-such-file-or-directory
)

These are the relevant packages I have installed:

dpkg -l | egrep "linux-(headers|libc)"
ii linux-headers-4.4.0-124 4.4.0-124.148 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-124-generic 4.4.0-124.148 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-generic 4.4.0.124.130 amd64 Generic Linux kernel headers
ii linux-libc-dev:amd64 4.4.0-124.148 amd64 Linux Kernel Headers for development
ii linux-libc-dev-armhf-cross 4.4.0-18.34cross1 all Linux Kernel Headers for development (for cross-compiling)

Revision history for this message
Christian Henz (chrhenz) wrote :

I believe the error that I ran into was caused by inadvertently compiling with "-m32" without having linux-libc-dev:i386 installed, in which case the preprocessor somehow falls through to including the broken /usr/include/linux/errno.h

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1771309

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: xenial
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: kernel-da-key
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.