Compiling res_sqlite3


#1

I am trying to compile res_sqlite3, but I get the following error

In file included from res_sqlite.c:14:
/usr/src/asterisk/include/asterisk/file.h:27:2: #error You must include stdio.h before file.h!
In file included from res_sqlite.c:14:
/usr/src/asterisk/include/asterisk/file.h:56: parse error before '*' token
/usr/src/asterisk/include/asterisk/file.h:56: warning: function declaration isn't a prototype
/usr/src/asterisk/include/asterisk/file.h:57: parse error before '*' token
/usr/src/asterisk/include/asterisk/file.h:57: warning: function declaration isn't a prototype
In file included from res_sqlite.c:28:
sqlite-3.2.8/sqlite3.h:1254: warning: function declaration isn't a prototype
make: *** [res_sqlite.so] Error 255
[root@opox res_sqlite3]#

Any Ideas ?