Actions
Bug #342
closedsoft-interface.c:1050:7: 'struct net_device' has no member named 'destructor'
Start date:
07/21/2017
Due date:
% Done:
0%
Estimated time:
Description
I tried to compile batman-adv 2017.1 with gcc 7.1.1 for kernel 4.11.9 and run into some trouble.
make -C /usr/lib/modules/4.11.9-1-ARCH/build M=/tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build PWD=/tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.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=n CONFIG_BATMAN_ADV_BATMAN_V=n INSTALL_MOD_DIR=updates/ modules make[1]: Entering directory '/usr/lib/modules/4.11.9-1-ARCH/build' CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/bat_algo.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/bat_iv_ogm.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/bitarray.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/bridge_loop_avoidance.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/debugfs.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/distributed-arp-table.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/fragmentation.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/gateway_client.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/gateway_common.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/hard-interface.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/hash.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/icmp_socket.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/main.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/netlink.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/originator.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/routing.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/send.o CC [M] /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/soft-interface.o /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/soft-interface.c: In function 'batadv_softif_init_early': /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/soft-interface.c:1050:7: error: 'struct net_device' has no member named 'destructor'; did you mean 'priv_destructor'? dev->destructor = batadv_softif_free; ^~~~~~~~~~ priv_destructor make[3]: *** [scripts/Makefile.build:295: /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv/soft-interface.o] Error 1 make[2]: *** [scripts/Makefile.build:553: /tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build/net/batman-adv] Error 2 make[1]: *** [Makefile:1492: _module_/tmp/yaourt-tmp-ruben/aur-batman-adv/src/batman-adv-2017.1/build] Error 2 make[1]: Leaving directory '/usr/lib/modules/4.11.9-1-ARCH/build' make: *** [Makefile:90: all] Error 2
Actions