[SR-Users] Compiling with db_unixodbc

Grant Bagdasarian GB at cm.nl
Wed Jul 3 08:18:05 CEST 2013


Hello,

I don't know if this has already been reported, but I've downloaded kamailio 4.0.2 and tried to compile it with db_unixodbc. I got the following error:

CC (gcc) [M db_unixodbc.so]             _con.o
_con.c:34:17: fatal error: con.h: No such file or directory
compilation terminated.
make[1]: *** [_con.o] Error 1
make: *** [modules] Error 1

I looked in: .../kamailio-4.0.0/modules/db_unixodbc and saw there was no con.h file, only a _con.h file. The con.c file was pointing to con.h. So I renamed _con.h to con.h and compiling worked.

Regards,

Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130703/64214495/attachment.html>


More information about the sr-users mailing list