<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I'm wondering if OpenSIPS is compatible with PostgreSQL 9.1, because I'm getting the following compilation errors running on CentOS 5.7.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>[root@Freeswitch-C57 opensips]#<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>[root@Freeswitch-C57 opensips]# make prefix=/opt/opensips all include_modules="db_postgres presence presence_xml presence_mwi presence_dialoginfo"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>make[1]: Entering directory `/home/TeoUser/work/opensips/jt/opensips/modules/db_postgres'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>Compiling dbase.c<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>In file included from dbase.c:77:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>pg_con.h:41:22: error: libpq-fe.h: No such file or directory<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>In file included from dbase.c:77:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>pg_con.h:53: error: expected specifier-qualifier-list before ‘PGconn’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c: In function ‘db_postgres_submit_query’:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:139: error: ‘ExecStatusType’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:139: error: (Each undeclared identifier is reported only once<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:139: error: for each function it appears in.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:139: error: expected ‘;’ before ‘result’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:140: error: ‘PGresult’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:140: error: ‘res’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:151: warning: implicit declaration of function ‘PQstatus’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:151: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:153: error: ‘CONNECTION_OK’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:155: error: ‘CONNECTION_BAD’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:157: warning: implicit declaration of function ‘PQreset’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:157: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:159: error: ‘CONNECTION_STARTED’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:160: error: ‘CONNECTION_MADE’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:161: error: ‘CONNECTION_AWAITING_RESPONSE’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:162: error: ‘CONNECTION_AUTH_OK’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:163: error: ‘CONNECTION_SETENV’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:164: error: ‘CONNECTION_SSL_STARTUP’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:165: error: ‘CONNECTION_NEEDED’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:167: warning: implicit declaration of function ‘PQerrorMessage’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:167: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:167: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:167: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:174: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:179: warning: implicit declaration of function ‘PQsendQuery’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:179: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:183: warning: implicit declaration of function ‘PQgetResult’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:183: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:184: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:190: error: ‘result’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:190: warning: implicit declaration of function ‘PQresultStatus’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:190: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:191: error: ‘PGRES_FATAL_ERROR’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:197: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:197: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:197: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:199: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:201: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:204: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:212: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:212: error: ‘struct pg_con’ has no member named ‘con’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:212: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c: In function ‘db_postgres_fetch_result’:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:225: error: ‘ExecStatusType’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:225: error: expected ‘;’ before ‘pqresult’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:245: error: ‘pqresult’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:245: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:246: warning: implicit declaration of function ‘PQresStatus’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:246: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:246: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:246: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:250: error: ‘PGRES_COMMAND_OK’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:255: error: ‘PGRES_TUPLES_OK’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:264: error: ‘PGRES_FATAL_ERROR’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:266: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:267: warning: implicit declaration of function ‘PQresultErrorMessage’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:267: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:267: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:267: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:273: error: ‘PGRES_EMPTY_QUERY’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:275: error: ‘PGRES_NONFATAL_ERROR’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:277: error: ‘PGRES_COPY_OUT’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:278: error: ‘PGRES_COPY_IN’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:280: error: ‘PGRES_BAD_RESPONSE’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:283: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:284: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:284: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:284: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:300: warning: implicit declaration of function ‘PQntuples’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:300: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c: In function ‘free_query’:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:347: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:349: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:349: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:350: warning: implicit declaration of function ‘PQclear’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:350: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:351: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c: In function ‘db_postgres_store_result’:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:436: error: ‘ExecStatusType’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:436: error: expected ‘;’ before ‘pqresult’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:446: error: ‘pqresult’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:446: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:448: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:448: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:448: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:452: error: ‘PGRES_COMMAND_OK’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:458: error: ‘PGRES_TUPLES_OK’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:471: error: ‘PGRES_FATAL_ERROR’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:473: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:474: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:474: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:474: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:480: error: ‘PGRES_EMPTY_QUERY’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:482: error: ‘PGRES_NONFATAL_ERROR’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:484: error: ‘PGRES_COPY_OUT’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:485: error: ‘PGRES_COPY_IN’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:487: error: ‘PGRES_BAD_RESPONSE’ undeclared (first use in this function)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:490: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:491: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:491: error: ‘struct pg_con’ has no member named ‘res’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>dbase.c:491: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>make[1]: *** [dbase.o] Error 1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>make[1]: Leaving directory `/home/TeoUser/work/opensips/jt/opensips/modules/db_postgres'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>make: *** [modules] Error 2<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New";color:black'>[root@Freeswitch-C57 opensips]#<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Jerry<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jerry Richards <br><b>Sent:</b> Tuesday, December 06, 2011 8:52 AM<br><b>To:</b> users@lists.opensips.org<br><b>Subject:</b> Continually Prompted for postgres user password<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:6.0pt'>Hello All,<o:p></o:p></p><p class=MsoNormal style='margin-bottom:6.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:6.0pt'>Anyone know why I get prompted for the postgres user password endlessly when executing the command "./opensipsdbctl create"? If I look in the database, I can see it is creating a lot of tables, but the script never ends because I am continually prompted for "Password for user postgres:".<o:p></o:p></p><p class=MsoNormal style='margin-bottom:6.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:6.0pt'>Thanks,<o:p></o:p></p><p class=MsoNormal style='margin-bottom:6.0pt'>Jerry<span style='font-size:9.0pt;color:#A2A2A2'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>