r926 - in branches/2.4-branch/BOOK: chapter01 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Sun Dec 3 13:43:43 PST 2006


Author: robert
Date: 2006-12-03 14:43:14 -0700 (Sun, 03 Dec 2006)
New Revision: 926

Modified:
   branches/2.4-branch/BOOK/chapter01/changelog.xml
   branches/2.4-branch/BOOK/chapter06/glibc.xml
Log:
Fixed bug with semaphore.h

Modified: branches/2.4-branch/BOOK/chapter01/changelog.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter01/changelog.xml	2006-12-03 20:52:57 UTC (rev 925)
+++ branches/2.4-branch/BOOK/chapter01/changelog.xml	2006-12-03 21:43:14 UTC (rev 926)
@@ -109,6 +109,8 @@
 </listitem>
 -->
 
+<listitem><para>December 3rd, 2006 [Robert]: Fixed bug with semaphore.h.</para></listitem>
+
 <listitem><para>December 3rd, 2006 [Robert]: Added branch update patch for Glibc-2.5.</para></listitem>
 
 <listitem><para>December 3rd, 2006 [Robert]: Bump to man-pages-2.43.</para></listitem>

Modified: branches/2.4-branch/BOOK/chapter06/glibc.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/glibc.xml	2006-12-03 20:52:57 UTC (rev 925)
+++ branches/2.4-branch/BOOK/chapter06/glibc.xml	2006-12-03 21:43:14 UTC (rev 926)
@@ -60,6 +60,21 @@
 
 <screen><userinput>patch -Np1 -i ../&glibc-branch_update-patch;</userinput></screen>
 
+    <para>When installing Linux Threads, Glibc installs
+    <filename>linuxthreads/sysdeps/pthread/semaphore.h</filename> to
+    <filename class="directory">/usr/include</filename>. The
+    <filename>linuxthreads/sysdeps/pthread/semaphore.h</filename> header only
+    contains one line, <quote>#include <linuxthreads/semaphore.h></quote>,
+    but <filename>linuxthreads/semaphore.h</filename> will not exist in
+    <filename class="directory">/usr/include</filename>. As a result packages
+    which need <filename>semaphore.h</filename> will not be able to build
+    because this header is broken. We can correct this by removing
+    <filename>linuxthreads/sysdeps/pthread/semaphore.h</filename> so that the
+    <filename>linuxthreads/semaphore.h</filename> will be used and installed
+    instead:</para>
+
+<screen><userinput>rm -v linuxthreads/sysdeps/pthread/semaphore.h</userinput></screen>
+
     <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
     at startup. It is unknown whether this is a <command>bash</command> bug or a
     Glibc problem. Disable installation of this locale in order to avoid the




More information about the hlfs-book mailing list