iptables 1.2.11 compile fails with grsecurity-2.0.3-2.6.10-2
Posted: Sun Jan 02, 2005 11:10 pm
Hey,
iptables 1.2.11 doesn't compile when grsecurity-2.0.3-2.6.10-200501011505.patch is applied to the kernel.
Heiko
cc -O2 -fno-stack-protector -Wall -Wunused -I/data/build/tmp/linux-2.6.10/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -fno-stack-protector -Wall -Wunused -I/data/build/tmp/linux-2.6.10/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o extensions/libipt_connlimit_sh.o -c extensions/libipt_connlimit.c
In file included from /data/build/tmp/linux-2.6.10/include/asm/processor.h:18,
from /data/build/tmp/linux-2.6.10/include/asm/atomic.h:6,
from /data/build/tmp/linux-2.6.10/include/linux/netfilter_ipv4/ip_conntrack.h:11,
from extensions/libipt_connlimit.c:9:
/data/build/tmp/linux-2.6.10/include/asm/system.h: In function `__set_64bit_var':
/data/build/tmp/linux-2.6.10/include/asm/system.h:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
/data/build/tmp/linux-2.6.10/include/asm/system.h:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /data/build/tmp/linux-2.6.10/include/asm/atomic.h:6,
from /data/build/tmp/linux-2.6.10/include/linux/netfilter_ipv4/ip_conntrack.h:11,
from extensions/libipt_connlimit.c:9:
/data/build/tmp/linux-2.6.10/include/asm/processor.h: In function `load_esp0':
/data/build/tmp/linux-2.6.10/include/asm/processor.h:481: warning: implicit declaration of function `unlikely'
/data/build/tmp/linux-2.6.10/include/asm/processor.h: In function `prefetch':
/data/build/tmp/linux-2.6.10/include/asm/processor.h:647: error: `__KERNEL_TEXT_OFFSET' undeclared (first use in this function)
/data/build/tmp/linux-2.6.10/include/asm/processor.h:647: error: (Each undeclared identifier is reported only once
/data/build/tmp/linux-2.6.10/include/asm/processor.h:647: error: for each function it appears in.)
/data/build/tmp/linux-2.6.10/include/asm/processor.h: In function `prefetchw':
/data/build/tmp/linux-2.6.10/include/asm/processor.h:661: error: `__KERNEL_TEXT_OFFSET' undeclared (first use in this function)
make: *** [extensions/libipt_connlimit_sh.o] Error 1
iptables 1.2.11 doesn't compile when grsecurity-2.0.3-2.6.10-200501011505.patch is applied to the kernel.
Heiko
cc -O2 -fno-stack-protector -Wall -Wunused -I/data/build/tmp/linux-2.6.10/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -fno-stack-protector -Wall -Wunused -I/data/build/tmp/linux-2.6.10/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o extensions/libipt_connlimit_sh.o -c extensions/libipt_connlimit.c
In file included from /data/build/tmp/linux-2.6.10/include/asm/processor.h:18,
from /data/build/tmp/linux-2.6.10/include/asm/atomic.h:6,
from /data/build/tmp/linux-2.6.10/include/linux/netfilter_ipv4/ip_conntrack.h:11,
from extensions/libipt_connlimit.c:9:
/data/build/tmp/linux-2.6.10/include/asm/system.h: In function `__set_64bit_var':
/data/build/tmp/linux-2.6.10/include/asm/system.h:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
/data/build/tmp/linux-2.6.10/include/asm/system.h:194: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /data/build/tmp/linux-2.6.10/include/asm/atomic.h:6,
from /data/build/tmp/linux-2.6.10/include/linux/netfilter_ipv4/ip_conntrack.h:11,
from extensions/libipt_connlimit.c:9:
/data/build/tmp/linux-2.6.10/include/asm/processor.h: In function `load_esp0':
/data/build/tmp/linux-2.6.10/include/asm/processor.h:481: warning: implicit declaration of function `unlikely'
/data/build/tmp/linux-2.6.10/include/asm/processor.h: In function `prefetch':
/data/build/tmp/linux-2.6.10/include/asm/processor.h:647: error: `__KERNEL_TEXT_OFFSET' undeclared (first use in this function)
/data/build/tmp/linux-2.6.10/include/asm/processor.h:647: error: (Each undeclared identifier is reported only once
/data/build/tmp/linux-2.6.10/include/asm/processor.h:647: error: for each function it appears in.)
/data/build/tmp/linux-2.6.10/include/asm/processor.h: In function `prefetchw':
/data/build/tmp/linux-2.6.10/include/asm/processor.h:661: error: `__KERNEL_TEXT_OFFSET' undeclared (first use in this function)
make: *** [extensions/libipt_connlimit_sh.o] Error 1