aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadow.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
commit9dfc02ff38f26117daffe7d8b822ebb64a3fed04 (patch)
treec3ea0521973ac75238f6ab5f674d5b4fc4032df8 /chapter06/shadow.xml
parent411ceb86b8150183a447f89b4789395bf16fddf0 (diff)
Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r--chapter06/shadow.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 76ea1f075..cba368d08 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -43,6 +43,11 @@ working:</para>
<screen><userinput>echo '#define HAVE_SETLOCALE 1' &gt;&gt; config.h</userinput></screen>
+<para>Shadow incorrectly declares the malloc() function, causing compilation
+failure. Fix this:</para>
+
+<screen><userinput>sed -i '/extern char/d' libmisc/xmalloc.c</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>