[lfs-support] Linux 3.1 API headers headers_check Errors

Andrew Benton b3nton at gmail.com
Tue Feb 28 07:51:10 PST 2012


On Tue, 28 Feb 2012 00:06:51 -0700
Kyle Brennan <kyle_bren at live.com> wrote:

> 
> Hi, 
> I am attempting my first LFS build, and I got to step 5.5 in the book, and everything goes as normal until I hit the command "make headers_check" which gives me multiple errors.  they are outlined below.

Where?

> /mnt/lfs/sources/linux-3.1/usr/include/drm/drm_mode.h:85: found __[us]{8,16,32,64} type without #include <linux/types.h>/mnt/lfs/sources/linux-3.1/usr/include/drm/i915_drm.h:120: found __[us]{8,16,32,64} type without #include <linux/types.h>/mnt/lfs/sources/linux-3.1/usr/include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include <linux/types.h>/mnt/lfs/sources/linux-3.1/usr/include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include <linux/types.h>/mnt/lfs/sources/linux-3.1/usr/include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include <linux/types.h>
> 
> /mnt/lfs/sources/linux-3.1/usr/include/linux/mmc/ioctl.h:10: found __[us]{8,16,32,64} type without #include <linux/types.h>
> 
> /mnt/lfs/sources/linux-3.1/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel
> /mnt/lfs/sources/linux-3.1/usr/include/scsi/scsi_netlink.h:108: found __[us]{8,16,32,64} type without #include <linux/types.h>
> 
> I'm not sure if this is relevant, but my build environment is Ubuntu 11.10 32bit, running in virtualbox.  I have fulfilled all the prerequisites for the build, noting that the version_check.sh that was instructed to be run succeeded with proper versions.  I've tried recompiling it multiple times, and I cant seem to get it to work.  Can someone advise me on what to do to solve this?

Solve what?
	 	   		  
Andy



More information about the lfs-support mailing list