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