Problem with realtime Asterisk

I am having a strange problem with attempting to get voicemail-to-mysql to work.
The biggest problem is that I am not able to store voicemail into database. So, I followed the
instructor found on the web:

Updated the /usr/src/asterisk/apps/Makefile to have
USE_MYSQL_VM_INTERFACE=1 and recompiled asterisk, with
make clean; make; make install
(By the way, is it necessary to update the Makefile for Asterisk 1.4.18?)

After “make install”, I got some warning messages:

Your Asterisk modules directory, located at
contains modules that were not installed by this
version of Asterisk. Please ensure that these
modules are compatible with this version before
attempting to run Asterisk.

Is this the problem that causing Asterisk not able to store voicemessages to mysql? If so, how do I fix it?

From the console, I can get realtime status ok:
CLI>realtime mysql status
Connected to asterisk@, port 3306 with username askuser for 1 minutes, 34 seconds.

Thank you very much for your kind attentino. You help is greatly appreciated.