Actions
Bug #359
closedbatman-adv 2018.1 build error (redefinition of skb_postpush_rcsum)
Start date:
06/28/2018
Due date:
% Done:
0%
Estimated time:
Description
I can't compile actual batman-adv 2018.1.
batman-adv 2018.0 and previous worked.
Here is the output of make:
/root/batman-adv-2018.1/gen-compat-autoconf.sh /root/batman-adv-2018.1/compat-autoconf.h
make -C /lib/modules/4.4.0-128-generic/build M=/root/batman-adv-2018.1/build PWD=/root/batman-adv-2018.1/build REVISION= CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_DEBUGFS=y 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/ modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-128-generic'
CC [M] /root/batman-adv-2018.1/build/net/batman-adv/../../../compat-sources/net/core/skbuff.o
In file included from include/linux/icmpv6.h:4:0,
from include/linux/ipv6.h:71,
from /root/batman-adv-2018.1/build/net/batman-adv/../../../compat-sources/net/core/skbuff.c:37:
/root/batman-adv-2018.1/build/../compat-include/linux/skbuff.h:82:20: error: redefinition of ‘skb_postpush_rcsum’
static inline void skb_postpush_rcsum(struct sk_buff *skb,
^
In file included from /root/batman-adv-2018.1/build/../compat-include/linux/skbuff.h:26:0,
from include/linux/icmpv6.h:4,
from include/linux/ipv6.h:71,
from /root/batman-adv-2018.1/build/net/batman-adv/../../../compat-sources/net/core/skbuff.c:37:
include/linux/skbuff.h:2761:20: note: previous definition of ‘skb_postpush_rcsum’ was here
static inline void skb_postpush_rcsum(struct sk_buff *skb,
^
scripts/Makefile.build:277: recipe for target '/root/batman-adv-2018.1/build/net/batman-adv/../../../compat-sources/net/core/skbuff.o' failed
make[3]: *** [/root/batman-adv-2018.1/build/net/batman-adv/../../../compat-sources/net/core/skbuff.o] Error 1
scripts/Makefile.build:484: recipe for target '/root/batman-adv-2018.1/build/net/batman-adv' failed
make[2]: *** [/root/batman-adv-2018.1/build/net/batman-adv] Error 2
Makefile:1437: recipe for target '_module_/root/batman-adv-2018.1/build' failed
make[1]: *** [_module_/root/batman-adv-2018.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-128-generic'
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
Env:
- Ubuntu 16.04.4
- make 4.1
- gcc 5.4.0
Updated by Sven Eckelmann over 6 years ago
- Status changed from New to Resolved
- Assignee changed from batman-adv developers to Andre Kasper
- Target version set to 2018.2
Updated by Sven Eckelmann over 6 years ago
- Status changed from Resolved to Closed
batman-adv 2018.2 was just released
Updated by Andreas Ziegler about 6 years ago
maybe the ENDIF comment for this should also be adjusted
Actions