Hello everybody... The problem disappeared replacing the 4.0.18 sources by the new 4.0.20 ones... it is compiling on my FreeBSD 5.2.1 If somebody has a similar problem get the latest MySQL... Regards, Mike