All of lore.kernel.org
 help / color / mirror / Atom feed
* IPset v6.24 - make modules fails
@ 2015-01-02  1:29 Neven Vrenko
  0 siblings, 0 replies; only message in thread
From: Neven Vrenko @ 2015-01-02  1:29 UTC (permalink / raw)
  To: netfilter

Hi guys,

I'm having problem with IPset v.6.24.
I compiled and installed kernel 2.6.39 on CentOS 6.5, without any
customisation and system is running fine. There was no previous ipset
version installed on system.

I've noticed error when I ran: "make modules" during ipset install. I've got
following error:

[root@localhost ipset-6.24]# make modules
make -C /lib/modules/`uname -r`/build M=$PWD/kernel/net V= \
			KCFLAGS="-DPACKAGE_VERSION=6.24" \
			IP_SET_MAX=256 KDIR=$PWD/kernel modules
make[1]: Entering directory `/usr/src/kernels/linux-2.6.39'
Makefile:634: "WARNING: Appending $KCFLAGS (-DPACKAGE_VERSION=6.24) from
command line to kernel $CFLAGS"
  CC [M]  /root/ipset-6.24/kernel/net/netfilter/xt_set.o
  CC [M]  /root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.o
/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.c: In function
‘call_ad’:
/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.c:1449: error:
‘SIZE_MAX’ undeclared (first use in this function)
/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.c:1449: error: (Each
undeclared identifier is reported only once
/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.c:1449: error: for
each function it appears in.)
/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.c:1449: warning:
type defaults to ‘int’ in declaration of ‘_min1’
/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.c:1449: warning:
comparison of distinct pointer types lacks a cast
make[4]: *** [/root/ipset-6.24/kernel/net/netfilter/ipset/ip_set_core.o] Error 1
make[3]: *** [/root/ipset-6.24/kernel/net/netfilter/ipset] Error 2
make[2]: *** [/root/ipset-6.24/kernel/net/netfilter] Error 2
make[1]: *** [_module_/root/ipset-6.24/kernel/net] Error 2
make[1]: Leaving directory `/usr/src/kernels/linux-2.6.39'
make: *** [modules] Error 2

I'm not sure what this error actually means and how to debug it, please can
you help me on this or give me in which direction I should investigate.

P.S. Other steps as ./autogen.sh, ./configure and make are passing just fine



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-02  1:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-02  1:29 IPset v6.24 - make modules fails Neven Vrenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.