Project

General

Profile

Actions

Bug #246

closed

Failure on building batman-adv for a 4.5.0 kernel

Added by Linus Lüssing about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
Start date:
03/15/2016
Due date:
% Done:

0%

Estimated time:

Description

After a quick glance it seems to me, that maybe Linux 4.5 might be missing an include for uapi/linux/pkt_cls.h in sch_generic.h?


$ make clean; KERNELPATH=/home/tux/dev/linux/headers/usr/src/linux-headers-4.5.0+ /usr/bin/make
rm -f compat-autoconf.h*
make -C /lib/modules/3.2.0-4-amd64/build M=/home/tux/dev/batman-adv-t_x/net/batman-adv CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y CONFIG_BATMAN_ADV_BATMAN_V=n INSTALL_MOD_DIR=updates/net/batman-adv/ clean
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  CLEAN   /home/tux/dev/batman-adv-t_x/net/batman-adv/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make clean  0,24s user 0,17s system 63% cpu 0,645 total
/home/tux/dev/batman-adv-t_x/gen-compat-autoconf.sh /home/tux/dev/batman-adv-t_x/compat-autoconf.h
/usr/bin/make -C /home/tux/dev/linux/headers/usr/src/linux-headers-4.5.0+ M=/home/tux/dev/batman-adv-t_x/net/batman-adv CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y CONFIG_BATMAN_ADV_BATMAN_V=n INSTALL_MOD_DIR=updates/net/batman-adv/     modules
make[1]: Entering directory `/home/tux/dev/linux/headers/usr/src/linux-headers-4.5.0+'
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/bat_iv_ogm.o
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/bitarray.o
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/bridge_loop_avoidance.o
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/debugfs.o
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/distributed-arp-table.o
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/fragmentation.o
  CC [M]  /home/tux/dev/batman-adv-t_x/net/batman-adv/gateway_client.o
In file included from include/linux/filter.h:16:0,
                 from include/net/sock.h:64,
                 from include/linux/tcp.h:22,
                 from include/linux/ipv6.h:72,
                 from /home/tux/dev/batman-adv-t_x/net/batman-adv/gateway_client.c:29:
include/net/sch_generic.h: In function ‘skb_at_tc_ingress’:
include/net/sch_generic.h:413:2: error: implicit declaration of function ‘G_TC_AT’ [-Werror=implicit-function-declaration]
include/net/sch_generic.h:413:33: error: ‘AT_INGRESS’ undeclared (first use in this function)
include/net/sch_generic.h:413:33: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[2]: *** [/home/tux/dev/batman-adv-t_x/net/batman-adv/gateway_client.o] Error 1
make[1]: *** [_module_/home/tux/dev/batman-adv-t_x/net/batman-adv] Error 2
make[1]: Leaving directory `/home/tux/dev/linux/headers/usr/src/linux-headers-4.5.0+'
make: *** [all] Error 2

Files

kernel-report.mbox (2.82 KB) kernel-report.mbox Sven Eckelmann, 03/16/2016 12:02 PM
Actions

Also available in: Atom PDF