LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

KTCPVS Problem

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: KTCPVS Problem
From: "Antonino Esposito" <t.esposito@xxxxxxxx>
Date: Wed, 30 Mar 2005 13:02:02 +0200
Hi, when I compile ktcpvs the following error appears:


[root@cerbero ktcpvs]# make
(cd regex && ./configure && make)
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
updating cache ./config.cache
creating ./config.status
creating Makefile
make[1]: Entering directory `/home/toni/ktcpvs/regex'
sh ./mkh  -p regcomp.c > regcomp.ih
sh ./mkh  -i _REGEX_H_ ./regex2.h ./regcomp.c ./regerror.c      ./regexec.c 
./regfree.c > regex.h
gcc -DPACKAGE=\"rxspencer\" -DVERSION=\"alpha3.8.g2\"  -I. -I.  -DPOSIX_MISTAKE 
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS  -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h    -g -O2 -c regcomp.c
sh ./mkh  -p regerror.c > regerror.ih
gcc -DPACKAGE=\"rxspencer\" -DVERSION=\"alpha3.8.g2\"  -I. -I.  -DPOSIX_MISTAKE 
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS  -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h    -g -O2 -c regerror.c
sh ./mkh  -p engine.c > engine.ih
gcc -DPACKAGE=\"rxspencer\" -DVERSION=\"alpha3.8.g2\"  -I. -I.  -DPOSIX_MISTAKE 
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS  -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h    -g -O2 -c regexec.c
gcc -DPACKAGE=\"rxspencer\" -DVERSION=\"alpha3.8.g2\"  -I. -I.  -DPOSIX_MISTAKE 
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS  -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h    -g -O2 -c regfree.c
gcc -DPACKAGE=\"rxspencer\" -DVERSION=\"alpha3.8.g2\"  -I. -I.  -DPOSIX_MISTAKE 
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS  -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h    -g -O2 -c kernel.c
rm -f librxspencer.a
ar cru librxspencer.a regcomp.o regerror.o regexec.o regfree.o kernel.o
ranlib librxspencer.a
make[1]: Leaving directory `/home/toni/ktcpvs/regex'
gcc -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB -DMODVERSIONS  -g 
-DCONFIG_TCP_VS_DEBUG -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h   -c -o tcp_vs_ctl.o 
tcp_vs_ctl.c
In file included from /usr/src/linux/include/asm/semaphore.h:39,
                 from /usr/src/linux/include/linux/fs.h:202,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:4,
                 from /usr/src/linux/include/linux/sched.h:10,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/proc_fs.h:5,
                 from tcp_vs_ctl.c:24:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
gcc -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB -DMODVERSIONS  -g 
-DCONFIG_TCP_VS_DEBUG -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h   -c -o tcp_vs_sched.o 
tcp_vs_sched.c
In file included from /usr/src/linux/include/asm/semaphore.h:39,
                 from /usr/src/linux/include/linux/fs.h:202,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:4,
                 from /usr/src/linux/include/linux/sched.h:10,
                 from tcp_vs_sched.c:22:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
gcc -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB -DMODVERSIONS  -g 
-DCONFIG_TCP_VS_DEBUG -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h   -c -o tcp_vs_srvconn.o 
tcp_vs_srvconn.c
In file included from /usr/src/linux/include/asm/semaphore.h:39,
                 from /usr/src/linux/include/linux/fs.h:202,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:4,
                 from /usr/src/linux/include/linux/sched.h:10,
                 from tcp_vs_srvconn.c:29:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
gcc -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB -DMODVERSIONS  -g 
-DCONFIG_TCP_VS_DEBUG -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include 
-include /usr/src/linux/include/linux/modversions.h   -c -o tcp_vs.o tcp_vs.c
In file included from /usr/src/linux/include/asm/semaphore.h:39,
                 from /usr/src/linux/include/linux/fs.h:202,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:4,
                 from /usr/src/linux/include/linux/sched.h:10,
                 from /usr/src/linux/include/linux/vmalloc.h:4,
                 from tcp_vs.c:24:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
tcp_vs.c: In function `tcp_vs_child':
tcp_vs.c:545: error: structure has no member named `sigmask_lock'
tcp_vs.c:553: error: too many arguments to function 
`recalc_sigpending_Rfb6af58d'
tcp_vs.c: In function `tcp_vs_daemon':
tcp_vs.c:648: error: structure has no member named `sigmask_lock'
tcp_vs.c:656: error: too many arguments to function 
`recalc_sigpending_Rfb6af58d'
tcp_vs.c: In function `master_daemon':
tcp_vs.c:739: error: structure has no member named `sigmask_lock'
tcp_vs.c:747: error: too many arguments to function 
`recalc_sigpending_Rfb6af58d'
make: *** [tcp_vs.o] Error 1


Why?
Thanks.

Toni

<Prev in Thread] Current Thread [Next in Thread>
  • KTCPVS Problem, Antonino Esposito <=