Hi Mikael, Have you tried putting the -lc after the -lm, instead of before it? If I recall correctly, libc.a is where the __errno resides. --Eljay