On 3/2/07, Arden <[EMAIL PROTECTED]> wrote:
On Feb 14, 2007, at 12:34 PM, Dan Nicholson wrote:
> On 2/14/07, Arden <[EMAIL PROTECTED]> wrote:
>>
>> also glibc-2.5 wants to replace the linux-header file
>> /usr/include/scsi/sg.h with it's own.
>
> Should we be addressing this? I noticed that in Fedora they remove the
> scsi directory from the generated headers. DIY is doing something
> similar.
Hal-0.75-1 fails 'make' with the header file /usr/include/scsi/sg.h
supplied by the
linux-2.6.20 headers. Hal's make succeeds with the glibc-2.5 version
of /usr/include/scsi/sg.h.
Thanks for the info, Arden. That's good enough for me to ensure that
the scsi headers only get installed by glibc. Patch attached.
--
Dan
Index: chapter06/linux-headers.xml
===================================================================
--- chapter06/linux-headers.xml (revision 7952)
+++ chapter06/linux-headers.xml (working copy)
@@ -40,6 +40,13 @@
by way of sanitizing various C header files that are shipped in the Linux
kernel source tarball.</para>
+ <para>Apply a <command>sed</command> subsitution to suppress the
+ installation of header files in <filename
+ class='directory'>/usr/include/scsi</filename>. The versions provided by
+ Glibc will be used instead:</para>
+
+<screen><userinput>sed -i '/scsi/d' include/Kbuild</userinput></screen>
+
<para>Install the header files:</para>
<screen><userinput>make mrproper
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page