Solved with an updated glibc-kernheaders package.
On 7/10/07, JF jfkavaka@gmail.com wrote:
Hi,
I can't compile SER HEAD. I get the errors below. How can this be fixed?
Thanks, JF
bison -d -b cfg cfg.y cfg.y: conflicts: 1 shift/reduce flex cfg.lex In file included from parser/../mem/../lock_ops.h:85, from parser/../mem/shm_mem.h:76, from parser/parse_rr.c:39: parser/../mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from parser/../mem/../lock_ops.h:85, from parser/../mem/shm_mem.h:76, from parser/parse_param.c:42: parser/../mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from mem/shm_mem.c:43: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from mem/mem.c:50: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from usr_avp.c:48: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from tcp_conn.h:42, from tls_hooks.h:40, from tls_hooks.c:26: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from timer.c:59: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from tcp_conn.h:42, from tcp_read.c:59: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from tcp_conn.h:42, from tcp_main.c:111: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from select.c:49: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from pt.c:42: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from msg_translator.c:134: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from main.c:119: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from lock_ops.c:27: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from io_wait.h:93, from io_wait.c:54: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from dst_blacklist.c:40: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from dprint.c:34: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from dns_cache.c:48: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from core_cmd.c:32: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from parser/../mem/../lock_ops.h:85, from parser/../mem/shm_mem.h:76, from parser/parse_rr.c:39: parser/../mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from parser/../mem/../lock_ops.h:85, from parser/../mem/shm_mem.h:76, from parser/parse_param.c:42: parser/../mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from mem/shm_mem.c:43: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from mem/mem.c:50: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from usr_avp.c:48: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from tcp_conn.h:42, from tls_hooks.h:40, from tls_hooks.c:26: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from timer.c:59: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from tcp_conn.h:42, from tcp_read.c:59: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from tcp_conn.h:42, from tcp_main.c:111: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from select.c:49: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from pt.c:42: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from msg_translator.c:134: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from main.c:119: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from lock_ops.c:27: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from io_wait.h:93, from io_wait.c:54: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from dst_blacklist.c:40: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from lock_ops.h:85, from locking.h:70, from pt.h:50, from dprint.c:34: futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from dns_cache.c:48: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from core_cmd.c:32: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory gcc -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -mtune=athlon -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev9-dns"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 3.4.3"' -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 -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 gcc -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -mtune=athlon -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev9-dns"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 3.4.3"' -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 -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 atomic_ops.c -o atomic_ops.o gcc -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -mtune=athlon -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev9-dns"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 3.4.3"' -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 -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 bit_scan.c -o bit_scan.o gcc -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -mtune=athlon -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev9-dns"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 3.4.3"' -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 -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 core_cmd.c -o core_cmd.o In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from core_cmd.c:32: mem/../futexlock.h:48:25: linux/futex.h: No such file or directory In file included from mem/../lock_ops.h:85, from mem/shm_mem.h:76, from core_cmd.c:32: mem/../futexlock.h: In function `futex_get': mem/../futexlock.h:90: error: `FUTEX_WAIT' undeclared (first use in this function) mem/../futexlock.h:90: error: (Each undeclared identifier is reported only once mem/../futexlock.h:90: error: for each function it appears in.) mem/../futexlock.h: In function `futex_release': mem/../futexlock.h:118: error: `FUTEX_WAKE' undeclared (first use in this function) make: *** [core_cmd.o] Error 1