<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 7/3/13 8:18 AM, Grant Bagdasarian
      wrote:<br>
    </div>
    <blockquote
cite="mid:FB7D97A214987F458242ACBDF876140738C326ADA9@clubvirtual40.ClubMessage.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">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:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">CC (gcc) [M db_unixodbc.so]            
          _con.o<o:p></o:p></p>
        <p class="MsoNormal">_con.c:34:17: fatal error: con.h: No such
          file or directory<o:p></o:p></p>
        <p class="MsoNormal">compilation terminated.<o:p></o:p></p>
        <p class="MsoNormal">make[1]: *** [_con.o] Error 1<o:p></o:p></p>
        <p class="MsoNormal">make: *** [modules] Error 1<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">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.</p>
      </div>
    </blockquote>
    that's strange, I checked the sources and there are con.c and con.h:<br>
    <br>
    # ls modules/db_unixodbc/<br>
    Makefile      con.c         db_unixodbc.c dbase.c      
    doc           list.h        res.h         row.h         val.h<br>
    README        con.h         db_unixodbc.h dbase.h      
    list.c        res.c         row.c         val.c<br>
    <br>
    How did you download the sources? Git or tarball?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
  </body>
</html>