Comment 0 for bug 778047

Revision history for this message
John Fettig (john-fettig) wrote :

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 error. 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
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices: **** List of CAPTURE Hardware Devices ****
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jfe 1788 F.... pulseaudio
 /dev/snd/pcmC0D3p: jfe 1788 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfbefc000 irq 37'
   Mixer name : 'Nvidia GPU 12 HDMI/DP'
   Components : 'HDA:10de0012,10de0101,00100100'
   Controls : 16
   Simple ctrls : 4
Date: Thu May 5 14:27:33 2011
Dependencies:

HibernationDevice: RESUME=UUID=d0e5c635-f673-497a-b961-a0e2e8e747d0
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: System manufacturer System Product Name
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=73af6436-4219-4446-bba2-385820fefe77 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/28/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1002
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: Z8NA-D6(C)
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xxG
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1002:bd06/28/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnZ8NA-D6(C):rvrRev1.xxG:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer