[SOLVED] compiling problem on cento 7

Compilation and installation questions and stories
Post Reply
hashbang
Posts: 16
Joined: 12 Jul 2015, 10:28

[SOLVED] compiling problem on cento 7

Post by hashbang » 30 Dec 2019, 15:20

HI
I get this error while compiling

/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1855:9: error: ‘GENL_ID_GENERATE’ undeclared here (not in a function)
.id = GENL_ID_GENERATE,
^
/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1875:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_get_stats64 = ipoe_stats64,
^
/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1875:2: warning: (near initialization for ‘ipoe_netdev_ops.<anonymous>.ndo_get_stats64’) [enabled by default]
/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_init’:
/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1911:2: error: implicit declaration of function ‘genl_register_family_with_ops_groups’ [-Werror=implicit-function-declaration]
err = genl_register_family_with_ops_groups(&ipoe_nl_family, ipoe_nl_ops, ipoe_nl_mcgs);
^
cc1: some warnings being treated as errors
make[4]: *** [/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.o] Error 1
make[3]: *** [_module_/opt/accel-ppp-code/build/drivers/ipoe/driver] Error 2
make[2]: *** [drivers/ipoe/driver/ipoe.ko] Error 2
make[1]: *** [drivers/ipoe/CMakeFiles/ipoe_drv.dir/all] Error 2
make: *** [all] Error 2
Plz help

hashbang
Posts: 16
Joined: 12 Jul 2015, 10:28

Re: [SOLVED] compiling problem on cento 7

Post by hashbang » 30 Dec 2019, 16:07

went through installation instructions and installed kernel from elrepo. rpm package generated successfuly
thnks

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest