Re: [lfs-support] Linux 3.1 API headers headers_check Errors
On Tue, 28 Feb 2012 00:06:51 -0700 Kyle Brennan kyle_b...@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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Linux 3.1 API headers headers_check Errors
On Tue, 28 Feb 2012 00:06:51 -0700 Kyle Brennan kyle_b...@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 Okay. So I did a terrible job explaining what my issue is. I am getting these errors above when I run the headers check. I'm not sure if they are normal or not, I tried looking them up and found nothing. I would like to find out if these errors are normal and if they are not, I need to fix them. Thanks, Kyle -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Linux 3.1 API headers headers_check Errors
On Tue, 28 Feb 2012 09:13:35 -0800 Kyle Brennan kyle_b...@live.com wrote: Okay. So I did a terrible job explaining what my issue is. I am getting these errors above when I run the headers check. I'm not sure if they are normal or not, I tried looking them up and found nothing. I would like to find out if these errors are normal and if they are not, I need to fix them. That looks pretty normal to me. The Makefile is being verbose about some issues that the maintainers should fix, but they're not problems you or I should worry about. Errors usually have the word error in them. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Linux 3.1 API headers headers_check Errors
Andrew Benton b3n...@gmail.com wrote: On Tue, 28 Feb 2012 09:13:35 -0800 Kyle Brennan kyle_b...@live.com wrote: Okay. So I did a terrible job explaining what my issue is. I am getting these errors above when I run the headers check. I'm not sure if they are normal or not, I tried looking them up and found nothing. I would like to find out if these errors are normal and if they are not, I need to fix them. That looks pretty normal to me. The Makefile is being verbose about some issues that the maintainers should fix, but they're not problems you or I should worry about. Errors usually have the word error in them. Andy Aha, thanks for clearing that up. I assumed that those messages were bad because in my experience with Java, any messages of that sort meant there is some sort of a compile time error. I guess that shows how much of a Newbie I am. Thanks, Kyle -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Linux 3.1 API headers headers_check Errors
On Tue, 2012-02-28 at 10:01 -0800, Kyle Brennan wrote: Aha, thanks for clearing that up. I assumed that those messages were bad because in my experience with Java, any messages of that sort meant there is some sort of a compile time error. I guess that shows how much of a Newbie I am. Compared to Java, C/C++ compilers tend to be very verbose when it comes to warnings - the default is to tell you about everything, instead of just printing out a short summary as Java does. Plus, I don't think the messages you're seeing are actually compiler warnings. They look like they're coming from the code itself, some sort of preprocessor trick for warning of code that's valid C, but not doing things in the correct way for Linux specifically. Java doesn't really have an equivalent, but some of the code-quality tools like Checkstyle achieve the same thing... Simon. signature.asc Description: This is a digitally signed message part -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Linux 3.1 API headers headers_check Errors
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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page