Re: Ipset kernel panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jozsef,

I am sorry, dont know what I am doing wrong, follow the steps on
README but, still get compile errors...
Se attached log file.

And, I think the problem is this old kernel
version(2.6.32-279.11.1.el6.x86_64), as the README says, I think I
really will need to recompile the kernel if want this working:
0. You need the source tree of your kernel (version >= 2.6.34)
   and it have to be configured with ip6tables support enabled,
   modules compiled. For kernel versions < 2.6.39 please apply
   the netlink.patch against your kernel tree, which adds the
   new subsystem identifier for ipset.

right? Or can I apply in some way apply the patch only to the kernel
source files to compile ipset?
(have no experience in kernel modules compilation)

I'm starting to think that ipset is a great tool, but, not for
rhel/CentOS yet (well, my loved Slackware should work like a charm,
but, client whants CentOS/RHEL)

--
Att...

Ricardo Felipe Klein
klein.rfk@xxxxxxxxx


On Thu, Oct 18, 2012 at 9:45 AM, Ricardo Klein <klein.rfk@xxxxxxxxx> wrote:
>
> ok... I will do it as soon as I get my connection back (I am in work
> and my testing virtual machines are in home, and internet goes down
> there now)
>
> Great thanks Jozsef
>
> --
> Att...
>
> Ricardo Felipe Klein
> klein.rfk@xxxxxxxxx
>
>
> On Thu, Oct 18, 2012 at 9:42 AM, Jozsef Kadlecsik
> <kadlec@xxxxxxxxxxxxxxxxx> wrote:
> > On Thu, 18 Oct 2012, Ricardo Klein wrote:
> >
> >> yeah... it not shows "revision xx" so I should need to recompile all
> >> entire kernel or can I just recompile this module?
> >
> > Just follow the README file from ipset-6.14: compile and install the
> > kernel modules from the package. There's no need to recompile the whole
> > kernel tree.
> >
> > Best regards,
> > Jozsef
> > -
> > E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx
> > PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
> > Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
> >           H-1525 Budapest 114, POB. 49, Hungary
[root@fwbalance ipset-6.14]#  make clean ; make modules_clean ; ./autogen.sh ; ./configure ; make -j 2 ; make modules ; make sets
Making clean in src
make[1]: Entering directory `/root/div/ipset-6.14/src'
rm -rf .libs _libs
 rm -f ipset
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/div/ipset-6.14/src'
Making clean in lib
make[1]: Entering directory `/root/div/ipset-6.14/lib'
test -z "ipset_settype_check types_init.c  ipset_bitmap_ip.la  ipset_bitmap_ipmac.la  ipset_bitmap_port.la  ipset_hash_ip.la  ipset_hash_ipport.la  ipset_hash_ipportip.la  ipset_hash_ipportnet.la  ipset_hash_net.la  ipset_hash_netport.la  ipset_hash_netiface.la  ipset_list_set.la " || rm -f ipset_settype_check types_init.c  ipset_bitmap_ip.la  ipset_bitmap_ipmac.la  ipset_bitmap_port.la  ipset_hash_ip.la  ipset_hash_ipport.la  ipset_hash_ipportip.la  ipset_hash_ipportnet.la  ipset_hash_net.la  ipset_hash_netport.la  ipset_hash_netiface.la  ipset_list_set.la 
test -z "libipset.la" || rm -f libipset.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/root/div/ipset-6.14/lib'
Making clean in include/libipset
make[1]: Entering directory `/root/div/ipset-6.14/include/libipset'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/root/div/ipset-6.14/include/libipset'
Making clean in .
make[1]: Entering directory `/root/div/ipset-6.14'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/root/div/ipset-6.14'
make -C /lib/modules/`uname -r`/build M=$PWD/kernel/net/netfilter \
			KDIR=$PWD/kernel clean
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.11.1.el6.x86_64'
  CLEAN   /root/div/ipset-6.14/kernel/net/netfilter/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.11.1.el6.x86_64'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/argz.m4'
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltdl.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, `libltdl'.
libtoolize: `COPYING.LIB' not found in `/usr/share/libtool/libltdl'
autoreconf: libtoolize failed with exit status: 1
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib64 /usr/lib64 /lib /usr/lib /usr/lib64/mysql 
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libmnl... yes
checking whether NLA_F_NESTED is declared... yes
checking whether NLA_F_NET_BYTEORDER is declared... yes
checking whether NLA_TYPE_MASK is declared... yes
checking for union nf_inet_addr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/libipset/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libipset.pc
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

ipset userspace tool configuration:
    Dynamic module loading: disabled
    Static modules:
        ipset_bitmap_ip
        ipset_bitmap_ipmac
        ipset_bitmap_port
        ipset_hash_ip
        ipset_hash_ipport
        ipset_hash_ipportip
        ipset_hash_ipportnet
        ipset_hash_net
        ipset_hash_netiface
        ipset_hash_netport
        ipset_list_set
    Dynamic modules:
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/div/ipset-6.14/build-aux/missing --run aclocal-1.11 -I m4
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/div/ipset-6.14/build-aux/missing --run autoconf
 cd . && /bin/sh /root/div/ipset-6.14/build-aux/missing --run automake-1.11 --foreign
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --enable-ltdl-convenience --no-create --no-recursion
configure: WARNING: unrecognized options: --enable-ltdl-convenience
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib64 /usr/lib64 /lib /usr/lib /usr/lib64/mysql 
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libmnl... yes
checking whether NLA_F_NESTED is declared... yes
checking whether NLA_F_NET_BYTEORDER is declared... yes
checking whether NLA_TYPE_MASK is declared... yes
checking for union nf_inet_addr... yes
configure: creating ./config.status
configure: WARNING: unrecognized options: --enable-ltdl-convenience

ipset userspace tool configuration:
    Dynamic module loading: disabled
    Static modules:
        ipset_bitmap_ip
        ipset_bitmap_ipmac
        ipset_bitmap_port
        ipset_hash_ip
        ipset_hash_ipport
        ipset_hash_ipportip
        ipset_hash_ipportnet
        ipset_hash_net
        ipset_hash_netiface
        ipset_hash_netport
        ipset_list_set
    Dynamic modules:
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating include/libipset/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libipset.pc
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/div/ipset-6.14/build-aux/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/root/div/ipset-6.14'
Making all in include/libipset
make[2]: Entering directory `/root/div/ipset-6.14/include/libipset'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/div/ipset-6.14/include/libipset'
Making all in lib
make[2]: Entering directory `/root/div/ipset-6.14/lib'
  CC     ipset_bitmap_ip.lo
  CC     ipset_bitmap_ipmac.lo
  CC     ipset_bitmap_port.lo
  CC     ipset_hash_ip.lo
  CC     ipset_hash_ipport.lo
  CC     ipset_hash_ipportip.lo
  CC     ipset_hash_ipportnet.lo
  CC     ipset_hash_net.lo
  CC     ipset_hash_netport.lo
  CC     ipset_hash_netiface.lo
  CC     ipset_list_set.lo
  CC     data.lo
  CC     errcode.lo
  CC     icmp.lo
  CC     icmpv6.lo
  CC     mnl.lo
  CC     parse.lo
  CC     print.lo
  CC     session.lo
  CC     types.lo
  CC     ui.lo
  GEN    types_init.c
  CC     types_init.lo
  CCLD   libipset.la
make  all-am
make[3]: Entering directory `/root/div/ipset-6.14/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/div/ipset-6.14/lib'
make[2]: Leaving directory `/root/div/ipset-6.14/lib'
Making all in src
make[2]: Entering directory `/root/div/ipset-6.14/src'
  CC     ipset.o
  CC     ui.o
  CCLD   ipset
make[2]: Leaving directory `/root/div/ipset-6.14/src'
make[2]: Entering directory `/root/div/ipset-6.14'
make[2]: Leaving directory `/root/div/ipset-6.14'
make[1]: Leaving directory `/root/div/ipset-6.14'
make -C /lib/modules/`uname -r`/build M=$PWD/kernel/net/netfilter V= \
			IP_SET_MAX=256 KDIR=$PWD/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.11.1.el6.x86_64'
  CC [M]  /root/div/ipset-6.14/kernel/net/netfilter/xt_set.o
In file included from /root/div/ipset-6.14/kernel/include/linux/netfilter/xt_set.h:5,
                 from /root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:18:
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:264: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:264: warning: its scope is only this definition or declaration, which is probably not what you want
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:362: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:365: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:368: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:33: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: In function ‘match_set’:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:35: warning: passing argument 3 of ‘ip_set_test’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:366: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: At top level:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:60: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: In function ‘set_match_v0’:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:62: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:63: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:67: warning: passing argument 3 of ‘match_set’ from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:31: note: expected ‘const struct xt_action_param *’ but argument is of type ‘struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: At top level:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:121: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: In function ‘set_target_v0’:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:123: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:124: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:126: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:130: warning: passing argument 3 of ‘ip_set_add’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:360: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:132: warning: passing argument 3 of ‘ip_set_del’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:363: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: At top level:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:194: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: In function ‘set_match_v1’:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:196: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:197: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:201: warning: passing argument 3 of ‘match_set’ from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:31: note: expected ‘const struct xt_action_param *’ but argument is of type ‘struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: At top level:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:236: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: In function ‘set_target_v1’:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:238: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:239: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:241: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:245: warning: passing argument 3 of ‘ip_set_add’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:360: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:247: warning: passing argument 3 of ‘ip_set_del’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:363: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: At top level:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:305: warning: ‘struct xt_action_param’ declared inside parameter list
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: In function ‘set_target_v2’:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:307: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:308: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:310: error: dereferencing pointer to incomplete type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:318: warning: passing argument 3 of ‘ip_set_add’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:360: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:320: warning: passing argument 3 of ‘ip_set_del’ from incompatible pointer type
/root/div/ipset-6.14/kernel/include/linux/netfilter/ipset/ip_set.h:363: note: expected ‘const struct xt_action_param *’ but argument is of type ‘const struct xt_action_param *’
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c: At top level:
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:333: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:335: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:343: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:345: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:353: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:355: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:364: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:366: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:374: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:376: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:387: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:389: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:397: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:399: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:407: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:409: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:418: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:420: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:428: warning: initialization from incompatible pointer type
/root/div/ipset-6.14/kernel/net/netfilter/xt_set.c:430: warning: initialization from incompatible pointer type
make[2]: *** [/root/div/ipset-6.14/kernel/net/netfilter/xt_set.o] Error 1
make[1]: *** [_module_/root/div/ipset-6.14/kernel/net/netfilter] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.11.1.el6.x86_64'
make: *** [modules] Error 2
make: *** No rule to make target `sets'.  Stop.

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux