> I'm using v1.1 of compiler... but erasing last INPUT() from link.res helps, > anyway I don't understand why :) Which revision of the mysql.pp do you have? 1.5 is the correct version, it contains the next lines: {$ifndef win32} {$linklib c} {$linklib m} {$endif} this will result in not having the -lc and -lm in the link.res