[SR-Users] Compiling with db_unixodbc

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 5 09:42:42 CEST 2013


Hello,

On 7/3/13 8:18 AM, Grant Bagdasarian wrote:
>
> 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.
>
that's strange, I checked the sources and there are con.c and con.h:

# ls modules/db_unixodbc/
Makefile      con.c         db_unixodbc.c dbase.c doc           
list.h        res.h         row.h         val.h
README        con.h         db_unixodbc.h dbase.h list.c        
res.c         row.c         val.c

How did you download the sources? Git or tarball?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

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


More information about the sr-users mailing list