app_sql_postgres.c:49:22: libpq-fe.h: No such file or directory
app_sql_postgres.c: In function `aPGSQL_connect':
app_sql_postgres.c:237: error: `PGconn' undeclared (first use in this function)
app_sql_postgres.c:237: error: (Each undeclared identifier is reported only onceapp_sql_postgres.c:237: error: for each function it appears in.)
app_sql_postgres.c:237: error: `karoto' undeclared (first use in this function)
app_sql_postgres.c:252: error: `CONNECTION_BAD' undeclared (first use in this function)
app_sql_postgres.c: In function `aPGSQL_query':
app_sql_postgres.c:276: error: `PGconn' undeclared (first use in this function)
app_sql_postgres.c:276: error: `karoto' undeclared (first use in this function)
app_sql_postgres.c:277: error: `PGresult' undeclared (first use in this function)
app_sql_postgres.c:277: error: `PGSQLres' undeclared (first use in this function)
app_sql_postgres.c:306: error: `PGRES_BAD_RESPONSE' undeclared (first use in this function)
app_sql_postgres.c:307: error: `PGRES_NONFATAL_ERROR' undeclared (first use in this function)
app_sql_postgres.c:308: error: `PGRES_FATAL_ERROR' undeclared (first use in this function)
app_sql_postgres.c: In function `aPGSQL_fetch':
app_sql_postgres.c:334: error: `PGresult' undeclared (first use in this function)
app_sql_postgres.c:334: error: `PGSQLres' undeclared (first use in this function)
app_sql_postgres.c:395: warning: assignment makes pointer from integer without a cast
app_sql_postgres.c: In function `aPGSQL_reset':
app_sql_postgres.c:425: error: `PGconn' undeclared (first use in this function)
app_sql_postgres.c:425: error: `karoto' undeclared (first use in this function)
app_sql_postgres.c: In function `aPGSQL_clear':
app_sql_postgres.c:451: error: `PGresult' undeclared (first use in this function)
app_sql_postgres.c:451: error: `karoto' undeclared (first use in this function)
app_sql_postgres.c: In function `aPGSQL_disconnect':
app_sql_postgres.c:481: error: `PGconn' undeclared (first use in this function)
app_sql_postgres.c:481: error: `karoto' undeclared (first use in this function)
make[2]: *** [app_sql_postgres_la-app_sql_postgres.lo] Error 1
make[2]: Leaving directory `/root/openpbx-public/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/openpbx-public/apps'
make: *** [all-recursive] Error 1