[Serusers] Problem compiling postgres module

Gorka Guridi gorka.guridi at gmail.com
Tue May 10 14:13:02 CEST 2005


Hi

When I tried to compile this module, i obtain this error messages.

In file con_postgres.h there is this include: #include "libpq-fe.h"
I tried to find this file but it doesn't appear anywhere. What is the 
utility of this file?

Thanks a lot.

Best regards.
Gorka.

make[1]: Entering directory `/root/ser/ser-0.8.14/modules/postgres'
../../Makefile.rules:77: aug_alloc.d: No such file or directory
../../Makefile.rules:77: aug_util.d: No such file or directory
../../Makefile.rules:77: db_con.d: No such file or directory
../../Makefile.rules:77: db_mod.d: No such file or directory
../../Makefile.rules:77: db_res.d: No such file or directory
../../Makefile.rules:77: db_utils.d: No such file or directory
../../Makefile.rules:77: db_val.d: No such file or directory
../../Makefile.rules:77: dbase.d: No such file or directory
In file included from dbase.c:49:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
In file included from db_val.c:49:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
In file included from db_res.c:44:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
In file included from db_con.c:44:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
make[1]: Leaving directory `/root/ser/ser-0.8.14/modules/postgres'
make[1]: Entering directory `/root/ser/ser-0.8.14/modules/postgres'
../../Makefile.rules:77: db_con.d: No such file or directory
../../Makefile.rules:77: db_res.d: No such file or directory
../../Makefile.rules:77: db_val.d: No such file or directory
../../Makefile.rules:77: dbase.d: No such file or directory
In file included from dbase.c:49:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
In file included from db_val.c:49:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
In file included from db_res.c:44:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
In file included from db_con.c:44:
con_postgres.h:43:22: libpq-fe.h: No such file or directory
gcc-3.3 -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall 
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='""' 
-DVERSION='"0.8.14"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc-3.3 3.3"' 
-D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC 
-DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE 
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/pgsql/include 
-I/usr/include/postgresql -c aug_alloc.c -o aug_alloc.o
aug_alloc.c: In function `mem_bad':
aug_alloc.c:118: warning: no return statement in function returning non-void
aug_alloc.c: In function `mem_nomem':
aug_alloc.c:161: warning: long unsigned int format, size_t arg (arg 4)
aug_alloc.c: In function `mem_alloc':
aug_alloc.c:228: warning: suggest parentheses around assignment used as 
truth value
aug_alloc.c: In function `aug_set_nomem_func':
etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050510/350f8246/attachment.htm>


More information about the sr-users mailing list