]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
documentation: add FAQ entry about glibc-static issue on Fedora
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 26 Nov 2010 09:06:58 +0000 (10:06 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 26 Nov 2010 09:08:21 +0000 (10:08 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
docs/buildroot.html

index bb02f17c5005c90d91737b47fbe3c621b767bc94..f471962ad1d1cbd0cf659bdd6f37fff64d19e4ac 100644 (file)
@@ -1599,6 +1599,8 @@ LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP
     <ul>
       <li><a href="#faq-boot-hangs">The boot hangs
       after <code>Starting network...</code></a></li>
+      <li><a href="#module-init-tools-doesnt-build">module-init-tools
+      fails to build with <code>cannot find -lc</code></a></li>
     </ul>
 
     <h3 id="faq-boot-hangs">The boot hangs after <code>Starting
@@ -1622,6 +1624,19 @@ Starting dropbear sshd: generating rsa key... generating dsa key... OK</pre>
     the <code>/etc/inittab</code> file of the generated system so that
     a shell starts on the correct serial port.</p>
 
+    <h3 id="module-init-tools-doesnt-build">module-init-tools
+      fails to build with <code>cannot find -lc</code></h3>
+
+    <p>If the build of <i>module-init-tools</i> for the host fails
+    with:</p>
+
+    <pre>/usr/bin/ld: cannot find -lc </pre>
+
+    <p>then probably you are running a Fedora (or similar)
+    distribution, and you should install the <code>glibc-static</code>
+    package. This is because the <i>module-init-tools</i> build
+    process wants to link statically against the C library.</p>
+
     <h2 id="links">Resources</h2>
 
     <p>To learn more about Buildroot you can visit these websites:</p>