From: "Neal P. Murphy" <neal.p.murphy@alum.wpi.edu>
To: netfilter <netfilter@vger.kernel.org>
Subject: xtables-addons v2.11 errors
Date: Mon, 12 Dec 2016 18:40:59 -0500 [thread overview]
Message-ID: <20161212184059.2d76fc1d@playground> (raw)
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.
reply other threads:[~2016-12-12 23:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161212184059.2d76fc1d@playground \
--to=neal.p.murphy@alum.wpi.edu \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.