r5088 - in trunk/BOOK: . general/sysutils introduction/welcome

richard at linuxfromscratch.org richard at linuxfromscratch.org
Mon Sep 19 08:48:09 PDT 2005


Author: richard
Date: 2005-09-19 09:48:07 -0600 (Mon, 19 Sep 2005)
New Revision: 5088

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/sysutils/cpio.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
fixed the build of the test suite for cpio-2.6 when using gcc-4.0.1

Modified: trunk/BOOK/general/sysutils/cpio.xml
===================================================================
--- trunk/BOOK/general/sysutils/cpio.xml	2005-09-19 13:30:08 UTC (rev 5087)
+++ trunk/BOOK/general/sysutils/cpio.xml	2005-09-19 15:48:07 UTC (rev 5088)
@@ -79,7 +79,14 @@
 echo "#define HAVE_LSTAT 1" >> config.h &&
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make check</command>.</para>
+    <para>To test the results, issue: 
+    <screen><userinput>sed -i -e 's/static const char \*argp_program_version/ \
+                    const char \*argp_program_version/' \
+       -e 's/static const char \*argp_program_bug_address/ \
+                    const char \*argp_program_bug_address/' \
+        tests/genfile.c &&
+make check
+    </userinput></screen></para>
     
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
@@ -93,7 +100,9 @@
     <para><command>sed -i -e "s/invalid_arg/argmatch_invalid/"
     src/mt.c</command>: This command fixes a build problem with the
     <command>mt</command> program.</para>
+    
 
+
     <para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
     building and installation of the <command>mt</command> program.</para>
 
@@ -118,6 +127,9 @@
     <para><command>echo "#define HAVE_LSTAT 1" >> config.h</command>: This
     define fixes a bug that causes <command>cpio</command> to convert symlinks
     into regular files during archive creation.</para>
+    
+    <para><command>sed -i -e 's/static const ...</command>:  This command fixes a build problem when
+    compiling the tests with gcc-4.0.1</para>
 
   </sect2>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-09-19 13:30:08 UTC (rev 5087)
+++ trunk/BOOK/general.ent	2005-09-19 15:48:07 UTC (rev 5088)
@@ -1,4 +1,4 @@
-<!ENTITY day          "18">
+<!ENTITY day          "19">
 <!ENTITY month        "09">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-19 13:30:08 UTC (rev 5087)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-19 15:48:07 UTC (rev 5088)
@@ -40,8 +40,18 @@
     </listitem>
 
 -->
-
     <listitem>
+      <para>September 19th, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[richard] - Added a sed to fix the build of the
+           test suite for cpio-2.6 when using gcc-4.0.1.
+           Suggested by Matthew Burgess</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+    
+    <listitem>
       <para>September 18th, 2005</para>
       <itemizedlist>
         <listitem>




More information about the blfs-book mailing list