Just to give an update for archive purposes - my problems were caused by invalid optimization switch passed to gcc through environment variables. Most probably the "-j2". Compilation with CFLAGS= ./configure ... was all that was needed. Big thanks to Igor for all his help. Jan Ślusarczyk jan.slusarczyk at dobrestrony.pl