[Serusers] database and x86_64

Lol Zimmerli lolzim at worldcom.ch
Mon Apr 18 13:31:08 CEST 2005


Hi,

I'm trying to get SER running on a x86_64 server and 'postgres' module
does not compile. It starts with that:

make[1]: Entering directory
`/usr/local/src/ser-0.9.0/modules/postgres'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall 
-minline-all-stringops -falign-loops      -DNAME='"ser"'
-DVERSION='"0.9.0"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc
3.3"' -D__CPU_x86_64 -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
In file included from aug_std.h:62,
                 from aug_alloc.c:57:
aug_sysdep.h:327: error: parse error before ':' token
In file included from aug_std.h:68,
                 from aug_alloc.c:57:

and stops like this, after 250 lines of warning and errors:
aug_alloc.c:370: warning: statement with no effect
aug_alloc.c: At top level:
/usr/include/gconv.h:176: warning: array `__data' assumed to have one
element
make[1]: *** [aug_alloc.o] Error 1
make[1]: Leaving directory `/usr/local/src/ser-0.9.0/modules/postgres'

I'm using SER 0.9.0 and postgres 8.01 is installed in
/usr/local/pgsql, compiled from sources.

Any hint is welcome!
Best regards

-- 
# Lol Zimmerli  //  S y s C o ®  //  http://www.sysco.ch/
Follow each decision as closely as possible with its associated
action.
            - The Elements of Programming Style (Kernighan & Plaugher)




More information about the sr-users mailing list