Stuff that broke building toybox with uClibc...

Rob Landley rob at landley.net
Tue May 29 19:27:57 UTC 2007


So it's been a while since I built my toybox project against uClibc.  (I've 
just been building it against glibc.)  Here's what broke.

uClibc defines a strlcpy() that conflicts with mine (due to the "const" 
and "throw" stuff, also because mine returns void); glibc does not.  I didn't 
ask uClibc to, apparently this only happens when __BSD_SOURCE is set.  But 
uClibc's own headers are setting __BSD_SOURCE.

Rob



More information about the uClibc mailing list