Hello
when I do "make modules", this error comes in the postgres module. Does
someone know whats hapening?
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"ser"' -DVERSION='"0.9.0"'
-DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-I/usr/local/include -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':
aug_alloc.c:294: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:294: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:293: warning: statement with no effect
aug_alloc.c: In function `aug_alloc_loc':
aug_alloc.c:309: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:309: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:309: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:309: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:315: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:315: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:308: warning: statement with no effect
aug_alloc.c:313: warning: statement with no effect
aug_alloc.c: In function `aug_realloc_loc':
aug_alloc.c:341: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:341: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:341: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:341: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:342: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:371: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:371: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:339: warning: statement with no effect
aug_alloc.c:342: warning: statement with no effect
aug_alloc.c:370: warning: statement with no effect
aug_alloc.c: In function `aug_free_loc':
aug_alloc.c:384: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:384: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:384: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:384: warning: statement with no effect
aug_alloc.c: In function `aug_foster_loc':
aug_alloc.c:415: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:415: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:415: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:415: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:436: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:414: warning: statement with no effect
aug_alloc.c:436: warning: statement with no effect
aug_alloc.c:454: warning: statement with no effect
aug_alloc.c:460: warning: statement with no effect
aug_alloc.c:467: warning: statement with no effect
aug_alloc.c: In function `aug_strdup_loc':
aug_alloc.c:498: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:498: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:498: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:504: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:504: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:498: warning: statement with no effect
aug_alloc.c:502: warning: statement with no effect
aug_alloc.c: In function `aug_vecdup_loc':
aug_alloc.c:524: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:524: warning: left-hand operand of comma expression has no
effect
aug_alloc.c:524: warning: statement with no effect
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"ser"' -DVERSION='"0.9.0"'
-DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-I/usr/local/include -I/usr/local/pgsql/include
-I/usr/include/postgresql -c aug_util.c -o aug_util.o
aug_util.c: In function `aug_exit':
aug_util.c:72: warning: left-hand operand of comma expression has no effect
aug_util.c:72: warning: statement with no effect
aug_util.c: In function `aug_abort_va':
aug_util.c:80: warning: left-hand operand of comma expression has no effect
aug_util.c:80: warning: left-hand operand of comma expression has no effect
aug_util.c:80: warning: statement with no effect
aug_util.c: In function `aug_setmodule':
aug_util.c:114: warning: unused variable `len'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
.....
.....
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include
-I/usr/local/pgsql/include -I/usr/include/postgresql -c db_val.c -o db_val.o
db_val.c: In function `str2valp':
db_val.c:219: warning: passing arg 1 of `aug_strdup_loc' discards
qualifiers from pointer target type
db_val.c:226: warning: passing arg 1 of `memcpy' discards qualifiers
from pointer target type
db_val.c:251: warning: passing arg 1 of `memcpy' discards qualifiers
from pointer target type
gcc -shared -Wl,-O2 -Wl,-E aug_alloc.o aug_util.o dbase.o db_con.o
db_mod.o db_res.o db_utils.o db_val.o -L/usr/local/lib
-L/usr/local/pgsql/lib -L/usr/local/lib/pgsql -L/usr/pkg/lib
-L/usr/pkg/lib/pgsql -lpq -o postgres.so