You wrote: > > I'm building an embedded linux system using uClibc, which by default > > does not have locale support. In order to build lm_sensors-2.8.7 > > I had to comment out the code that refers to iconv() in set_degstr() > > (in main.c), as well as the "#include <iconv.h>" line. > > > > It might save others a bit of trouble if you made the use of locales > > an option... > > Is there a way we could detect the use of uClibc? If there is a known #define, > we could use it to automatically disable the use of iconv. In the case of cross-compiling, there is probably a way of detecting it's use. However, I'm using a chroot-environment and then just running make with the defaults. Rob Urban