Public bug reported:

Binary package hint: linux-libc-dev

It seems to me that somebody moved /usr/include/asm to /usr/include/asm-
generic without updating /usr/include/linux/errno.h.  This makes just
about everything compiled with the intel compiler abort with errors
like:

/usr/include/linux/param.h(4): catastrophic error: could not open source file 
"asm/param.h"
  #include <asm/param.h>

The quick workaround is to create a symbolic link from asm-generic to
asm:

 sudo ln -s /usr/include/asm-generic /usr/include/asm

Here's a list of files in /usr/include/linux that match
grep -l "#include <asm/" *

acct.h
aio_abi.h
a.out.h
atalk.h
atmioc.h
auxvec.h
cdrom.h
dccp.h
errno.h
fcntl.h
icmpv6.h
if_hippi.h
if_pppox.h
if_tr.h
if_tunnel.h
igmp.h
in.h
ioctl.h
ipc.h
ip.h
ipv6.h
kvm.h
kvm_para.h
loop.h
matroxfb.h
mman.h
msdos_fs.h
msg.h
net.h
param.h
perf_event.h
poll.h
posix_types.h
ptrace.h
radeonfb.h
resource.h
sem.h
shm.h
signal.h
sockios.h
swab.h
tcp.h
termios.h
tipc_config.h
types.h
unistd.h

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-libc-dev 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu May  5 14:27:33 2011

InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64
(20110427.1)

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/778047

Title:
  /usr/include/linux/errno.h refers to non-existent asm/errno.h

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to