[Serusers] Compile errors on CentOS 5.3

SIP sip at arcdiv.com
Mon Jul 27 16:43:50 CEST 2009


Just grabbed the latest CVS for SER and attempted to compile it on a
CentOS 5.3 box, but received these errors:

config.mak loaded
Makefile.defs defs skipped
gcc -m64 -g -O9 -funroll-loops -Wcast-align -minline-all-stringops
-falign-loops -ftree-vectorize -mtune=opteron -Wall    -DNAME='"ser"'
-DVERSION='"2.1.0-dev23-make"' -DARCH='"x86_64"' -DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_x86_64
-D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"'
-DMODS_DIR='"/usr/local/lib/ser/modules/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS
-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT
-DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT   -c cfg_core.c -o
cfg_core.o
In file included from futexlock.h:52,
                 from lock_ops.h:85,
                 from locking.h:70,
                 from pt.h:50,
                 from cfg_core.c:42:
/usr/include/linux/futex.h:108: error: expected ')' before '*' token
/usr/include/linux/futex.h:112: error: expected ')' before '*' token
make: *** [cfg_core.o] Error 1


As you can see, it's an X86_64 architecture box running kernel
2.6.18-128.el5.

I saw a similar error in Google, but there was no resolution.  Any ideas?

N.



More information about the sr-users mailing list