Asterisk mysql error

Hi everyone, I have install asterisknow 1,5 + astbill, and when i start asterisk it has this errors:

[Nov 25 15:06:03] WARNING[5797]: loader.c:636 inspect_module: Module 'res_config_mysql.so' was not compiled with the same compile-time options as this version of Asterisk.

[Nov 25 15:06:03] WARNING[5797]: loader.c:637 inspect_module: Module 'res_config_mysql.so' will not be initialized as it may cause instability.

[Nov 25 15:06:03] WARNING[5797]: loader.c:675 load_resource: Module 'res_config_mysql.so' could not be loaded.

and than it starts but in CLI I get this errors:

[Nov 25 15:06:09] WARNING[5829]: config.c:1966 find_engine: Realtime mapping for 'sippeers' found to engine 'mysql', but the engine is not available

how can i fix it? i tried many ways but with no result.

You could always ask here.