Public bug reported:

Trying to compile modules for LIRC, Parallels VM and VirtualBox VM.
Seems there are critical files missing from the Linux source and consequently 
from the resulting header packages.
Missing Include files: float.h, stdarg.h, possibly more?

Output from Make Prepare:
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from 
/usr/src/linux-source-2.6.38/arch/x86/include/asm/percpu.h:44:0,
                 from 
/usr/src/linux-source-2.6.38/arch/x86/include/asm/current.h:5,
                 from 
/usr/src/linux-source-2.6.38/arch/x86/include/asm/processor.h:15,
                 from 
/usr/src/linux-source-2.6.38/arch/x86/include/asm/atomic.h:6,
                 from ./include/linux/crypto.h:20,
                 from arch/x86/kernel/asm-offsets_32.c:7,
                 from arch/x86/kernel/asm-offsets.c:2:
./include/linux/kernel.h:12:20: fatal error: stdarg.h: No such file or directory
compilation terminated.
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Output from Parallels module build:

make -C src/hypervisor-api/Linux
make[1]: Entering directory 
`/tmp/.E54Yl7HAj/parallels-kernel-modules/src/hypervisor-api/Linux'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions *.symvers
make -C /lib/modules/2.6.38-11-generic-pae/build 
SUBDIRS=/tmp/.E54Yl7HAj/parallels-kernel-modules/src/hypervisor-api/Linux 
SRCROOT=/tmp/.E54Yl7HAj/parallels-kernel-modules/src/hypervisor-api/Linux 
modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic-pae'
  CC [M]  
/tmp/.E54Yl7HAj/parallels-kernel-modules/src/hypervisor-api/Linux/hyp_api.o
In file included from 
/tmp/.E54Yl7HAj/parallels-kernel-modules/src/hypervisor-api/Linux/hyp_api.c:15:0:
./include/linux/kernel.h:12:20: fatal error: stdarg.h: No such file or directory
compilation terminated.

Any Help with this would be appreciated.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: headers kernel

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

Title:
  Missing C Standard files from kernel source and module headers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/830550/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to