[uClibc] uClibc and squid

Manuel Novoa III mjn3 at codepoet.org
Fri Aug 22 22:47:13 UTC 2003


On Fri, Aug 22, 2003 at 02:40:56PM +0200, Piotr Klaban wrote:
> I've tried to compile squid (both 2.5 and 3.0[beta])
> under uClibc. It compiles OK under
> http://www.uclibc.org/downloads/root_fs-i386.bz2
> 
> but I can not run it because any IP address
> from squid.conf is recognized as unsafe:
> 
>   2003/08/22 05:55:28| DecodeAddress: unsafe IP address: '0.0.0.0'
>   FATAL: DecodeAddress: unsafe IP address
> 
> It seems that sscanf function from uClibc (correct?)
> does not work properly (or just do not work like glibc,
> and squid does not work).

The root_fs you are using corresponds to the last official release
of uClibc on June 30.  Since then, I've done a complete rewrite of
uClibc's scanf, and your test app appears to work with the current
cvs code.

Manuel



More information about the uClibc mailing list