xtables-addons 2.6 needed for kernel version 3.16.0

Bug #1466120 reported by eisenmann
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xtables-addons (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello,
i want to install xtables-addons on ubuntu server 14.04.2 LTS. But if the modules was build i get this error:

run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-40-generic /boot/vmlinuz-3.16.0-40-generic
Error! Build of xt_ACCOUNT.ko failed for: 3.16.0-40-generic (x86_64)

Right headers are installed:
# aptitude search header |grep 3.16.0-4[0,1]-generic
i A linux-headers-3.16.0-40-generic - Linux kernel headers for version 3.16.0 on
p linux-headers-3.16.0-40-generic - Linux kernel headers for version 3.16.0 on
i A linux-headers-3.16.0-41-generic - Linux kernel headers for version 3.16.0 on
p linux-headers-3.16.0-41-generic - Linux kernel headers for version 3.16.0 on

Here the output of the make.log file:

DKMS make.log for xtables-addons-2.3 for kernel 3.16.0-40-generic (x86_64)
So 14. Jun 22:24:27 CEST 2015
make: Verzeichnis »/usr/src/linux-headers-3.16.0-40-generic« wird betreten
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
 echo >&2; \
 echo >&2 " ERROR: Kernel configuration is invalid."; \
 echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
 echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
 echo >&2 ; \
 /bin/false)
mkdir -p /var/lib/dkms/xtables-addons/2.3/build/.tmp_versions ; rm -f /var/lib/dkms/xtables-addons/2.3/build/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/xtables-addons/2.3/build
  gcc -Wp,-MD,/var/lib/dkms/xtables-addons/2.3/build/.compat_xtables.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -m64 -mno-mmx -mno-sse -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(compat_xtables)" -D"KBUILD_MODNAME=KBUILD_STR(compat_xtables)" -c -o /var/lib/dkms/xtables-addons/2.3/build/.tmp_compat_xtables.o /var/lib/dkms/xtables-addons/2.3/build/compat_xtables.c
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/xtables-addons/2.3/build/compat_xtables.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/var/lib/dkms/xtables-addons/2.3/build/compat_xtables.o"; fi; fi;
  gcc -Wp,-MD,/var/lib/dkms/xtables-addons/2.3/build/.xt_CHAOS.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -m64 -mno-mmx -mno-sse -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(xt_CHAOS)" -D"KBUILD_MODNAME=KBUILD_STR(xt_CHAOS)" -c -o /var/lib/dkms/xtables-addons/2.3/build/.tmp_xt_CHAOS.o /var/lib/dkms/xtables-addons/2.3/build/xt_CHAOS.c
/var/lib/dkms/xtables-addons/2.3/build/xt_CHAOS.c: In function ‘xt_chaos_total’:
/var/lib/dkms/xtables-addons/2.3/build/xt_CHAOS.c:71:2: error: implicit declaration of function ‘net_random’ [-Werror=implicit-function-declaration]
  if (!ret || hotdrop || (unsigned int)net_random() > delude_percentage)
  ^
cc1: some warnings being treated as errors
make[1]: *** [/var/lib/dkms/xtables-addons/2.3/build/xt_CHAOS.o] Fehler 1
make: *** [_module_/var/lib/dkms/xtables-addons/2.3/build] Fehler 2
make: Verzeichnis »/usr/src/linux-headers-3.16.0-40-generic« wird verlassen

Is this a bug or have i do something wrong?

Fix!!!!!!! The problem is fixed with the packages from here: https://launchpad.net/ubuntu/+source/xtables-addons/2.6-1/+build/6502667
I have installed the pakage manualy with dpkg -i .
Also dkms you have to install. Then the modules are build.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1466120/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → xtables-addons (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xtables-addons (Ubuntu):
status: New → Confirmed
Revision history for this message
Oibaf (oibaf) wrote :

Ubuntu 14.04 is going in End of Life next month.
Also, xtables-addons was updated in newer Ubuntu releases.
See https://wiki.ubuntu.com/Releases

Changed in xtables-addons (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.