[uClibc-cvs] svn commit: trunk/uClibc/docs/uclibc.org

vapier at uclibc.org vapier at uclibc.org
Tue Aug 16 05:59:31 UTC 2005


Author: vapier
Date: 2005-08-15 23:59:30 -0600 (Mon, 15 Aug 2005)
New Revision: 11170

Log:
add an entry about __fputc_unlocked link errors

Modified:
   trunk/uClibc/docs/uclibc.org/FAQ.html


Changeset:
Modified: trunk/uClibc/docs/uclibc.org/FAQ.html
===================================================================
--- trunk/uClibc/docs/uclibc.org/FAQ.html	2005-08-16 05:39:07 UTC (rev 11169)
+++ trunk/uClibc/docs/uclibc.org/FAQ.html	2005-08-16 05:59:30 UTC (rev 11170)
@@ -24,6 +24,8 @@
 <li><a href="#wrapper">What happened to the old toolchain wrapper?</a>
 <li><a href="#dev_systems">Is a pre-compiled uClibc development system available?</a>
 <li><a href="#bugs">I think I found a bug in uClibc!  What should I do?!</a>
+<li><a href="#miscompile">My package builds fine but link fails with errors like "undefined reference 
+	to __fputc_unlocked", who do I blame?!</a>
 <li><a href="#job_control">Why do I keep getting "sh: can't access tty; job control
 	turned off" errors?  Why doesn't Control-C work within my shell?</a>
 <li><a href="#autoconf">How do I make autoconf and automake behave?</a>
@@ -379,8 +381,23 @@
     strace, ltrace, and or valgrind to create a logfile showing the problem
     behavior.
 
+
 <hr />
 <p>
+<h2><a name="miscompile">My package builds fine but link fails with errors like 
+	"undefined reference to __fputc_unlocked", who do I blame?!</h2>
+<p>
+
+    This error crops up when a build system mixes system headers (say glibc) 
+    with the target headers (say uClibc).  Make sure your build system is not 
+    including extraneous include options (-I) and double check that it is using 
+    the correct compiler.  Many build systems incorrectly force things like 
+    -I/usr/include or -I/usr/local/include or -I${prefix}/include (which usually 
+    just expands to -I/usr/include).
+
+
+<hr />
+<p>
 <h2><a name="job_control">Why do I keep getting "sh: can't access tty; job control
 	turned off" errors?  Why doesn't Control-C work within my shell?</a></h2>
 <p>




More information about the uClibc-cvs mailing list