All of lore.kernel.org
 help / color / mirror / Atom feed
* xtables-addons v2.11 errors
@ 2016-12-12 23:40 Neal P. Murphy
  0 siblings, 0 replies; only message in thread
From: Neal P. Murphy @ 2016-12-12 23:40 UTC (permalink / raw)
  To: netfilter

In xtables-addons commit 2e6fb7, the new kernel version check is wrong:
+		if test "$kmajor" -gt 4 -o "$kmajor" -eq 7 -a "$kminor" -gt 3; then

It should be:
+		if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 7; then

Unless y'all have a crystal ball that lets you see how Linux 7.x turned out. :)

Also, building for Linux 4.9 fails:

----
  gcc -Wp,-MD,/build/sources/xtables-addons/xtables-addons-2.11/extensions/.xt_LOGMARK.o.d  \
-nostdinc -isystem /usr/lib/gcc/i586-pc-linux-gnu/4.7.3/include -I./arch/x86/include \
-I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  \
-I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include \
./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security \
-std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m32 -msoft-float \
-mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i586 \
-mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 \
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 \
-DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables \
-fno-delete-null-pointer-checks -O2 -Wno-maybe-uninitialized --param=allow-store-data-races=0 \
-Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer \
-fno-optimize-sibling-calls -fno-var-tracking-assignments -Wdeclaration-after-statement \
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int \
-Werror=strict-prototypes -DCC_HAVE_ASM_GOTO  -DMODULE  -DKBUILD_BASENAME='"xt_LOGMARK"'  \
-DKBUILD_MODNAME='"xt_LOGMARK"' -c -o /build/sources/xtables-addons/xtables-addons-2.11/extensions/.tmp_xt_LOGMARK.o /build/sources/xtables-addons/xtables-addons-2.11/extensions/xt_LOGMARK.c
/build/sources/xtables-addons/xtables-addons-2.11/extensions/xt_LOGMARK.c: In function 'logmark_ct':
/build/sources/xtables-addons/xtables-addons-2.11/extensions/xt_LOGMARK.c:62:31: error: request for member 'expires' in something not a structure or union
make[5]: *** [scripts/Makefile.build:299: /build/sources/xtables-addons/xtables-addons-2.11/extensions/xt_LOGMARK.o] Error 1
make[5]: *** Waiting for unfinished jobs....
----

Removing the ".expires" lets the build finish.

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

only message in thread, other threads:[~2016-12-12 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-12 23:40 xtables-addons v2.11 errors Neal P. Murphy

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.