Juniper / contrail-installer

Install scripts for OpenContrail
29 stars 64 forks source link

recipe for target '/opt/stack/contrail/vrouter/linux/vr_genetlink.o' failed #168

Open farazhkhan opened 6 years ago

farazhkhan commented 6 years ago

Having this issue while installing

/opt/stack/contrail/vrouter/linux/vr_genetlink.c:34:21: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function) .id = GENL_ID_GENERATE, ^ /opt/stack/contrail/vrouter/linux/vr_genetlink.c: In function ‘vr_genetlink_init’: /opt/stack/contrail/vrouter/linux/vr_genetlink.c:213:12: error: implicit declaration of function ‘genl_register_family_with_ops_groups’ [-Werror=implicit-function-declaration] return genl_register_family_with_ops_groups(&vrouter_genl_family, ^ cc1: some warnings being treated as errors scripts/Makefile.build:294: recipe for target '/opt/stack/contrail/vrouter/linux/vr_genetlink.o' failed make[2]: [/opt/stack/contrail/vrouter/linux/vr_genetlink.o] Error 1 Makefile:1524: recipe for target 'module/opt/stack/contrail/vrouter' failed make[1]: [module/opt/stack/contrail/vrouter] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-28-generic' Makefile:86: recipe for target 'default' failed make: [default] Error 2 scons: [vrouter/vrouter.ko] Error 2