[sr-dev] Compilation on CentOS 5 error

ha do haloha201 at yahoo.com
Tue Jun 16 06:13:29 CEST 2009


HI all

i follow the instruction http://sip-router.org/wiki/migration/kamailio-3.0-config

but when i compile but get the error

[root at Vigor35 sip-router]# make all
config.mak loaded
Makefile.defs defs skipped
gcc -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 -Wall    -DNAME='"ser"' -DVERSION='"2.1.0-dev23-make"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -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 action.c -o action.o
In file included from parser/../mem/../futexlock.h:52,
                 from parser/../mem/../lock_ops.h:85,
                 from parser/../mem/shm_mem.h:76,
                 from parser/../ut.h:67,
                 from parser/../ip_addr.h:49,
                 from parser/msg_parser.h:57,
                 from select.h:38,
                 from route_struct.h:47,
                 from action.h:35,
                 from action.c:58:
/usr/include/linux/futex.h:108: error: expected â)â before â*â token
/usr/include/linux/futex.h:112: error: expected â)â before â*â token
make: *** [action.o] Error 1




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20090615/6b530a36/attachment.htm>


More information about the sr-dev mailing list