summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-11-26 10:06:58 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-11-26 10:08:21 +0100
commit706683b8b912aa3304d71652d7a4a74d8b74f58e (patch)
tree890a1b63051a22f77ed0f81c800131115d9dd1b1
parent5a51a370f0327936b597f106c82d47af5cfbe76a (diff)
downloadbuildroot-novena-706683b8b912aa3304d71652d7a4a74d8b74f58e.tar.gz
buildroot-novena-706683b8b912aa3304d71652d7a4a74d8b74f58e.zip
documentation: add FAQ entry about glibc-static issue on Fedora
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--docs/buildroot.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index bb02f17c5..f471962ad 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -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>