On Wed, 2006-09-06 at 23:11 +0000, pavol marko wrote:
First of all, it's worth noting that I'm trying to run dovecot on an embedded platform: the target architecture is mipsel; I have patches for the 2.4.18 kernel with special support for the board so I'm still using the 2.4.18 kernel. My C library is uClibc (I forget which version; will look it up later). The compiler I'm using is GCC 2.96. .. So I've done some printf-debugging in lib-settings/settings.c, and fount out that: control flow reaches the line input = i_stream_create_file(fd, default_pool, 2048, TRUE);
but then no single iteration of the while loop is executed.
Maybe pread() is broken. After configure try commenting out HAVE_PREAD and HAVE_PWRITE lines from config.h. If that fixes it, try to get uClibc people to fix it..