[sr-dev] kamailio 3.1 db_postgres compiler warnings

Daniel-Constantin Mierla miconda at gmail.com
Tue Oct 5 09:37:52 CEST 2010


  Ubuntu is ok, so it might be a matter of postgres version, what is it 
on centos?

Cheers,
Daniel

On 10/5/10 12:48 AM, Ovidiu Sas wrote:
> While compiling db_postgres on CentOS I got the following warnings:
>
> + make every-module group_include=kpostgres
> CC (gcc) [M db_postgres.so]             km_db_postgres.o
> CC (gcc) [M db_postgres.so]             km_dbase.o
> CC (gcc) [M db_postgres.so]             km_pg_con.o
> CC (gcc) [M db_postgres.so]             km_res.o
> CC (gcc) [M db_postgres.so]             km_val.o
> CC (gcc) [M db_postgres.so]             pg_cmd.o
> pg_cmd.c: In function 'get_types':
> pg_cmd.c:206: warning: implicit declaration of function 'PQdescribePrepared'
> pg_cmd.c:206: warning: assignment makes pointer from integer without a cast
> pg_cmd.c: In function 'pg_cmd_exec':
> pg_cmd.c:449: warning: assignment makes pointer from integer without a cast
> CC (gcc) [M db_postgres.so]             pg_con.o
> CC (gcc) [M db_postgres.so]             pg_fld.o
> pg_fld.c: In function 'pg_resolve_param_oids':
> pg_fld.c:485: warning: implicit declaration of function 'PQnparams'
> pg_fld.c:492: warning: implicit declaration of function 'PQparamtype'
> CC (gcc) [M db_postgres.so]             pg_mod.o
> CC (gcc) [M db_postgres.so]             pg_oid.o
> CC (gcc) [M db_postgres.so]             pg_res.o
> CC (gcc) [M db_postgres.so]             pg_sql.o
> CC (gcc) [M db_postgres.so]             pg_uri.o
> make[2]: `libsrdb2.so.1.0' is up to date.
> make[2]: `libsrdb1.so.1.0' is up to date.
> LD (gcc) [M db_postgres.so]             db_postgres.so
>
>
> Regards,
> Ovidiu Sas
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-dev mailing list