[lfs-support] Linux 3.1 API headers headers_check Errors

Kyle Brennan kyle_bren at live.com
Mon Feb 27 23:06:51 PST 2012


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.
/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?
Thanks, Kyle 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120228/6554208a/attachment.html>


More information about the lfs-support mailing list