kohler / click

The Click modular router: fast modular packet processing and analysis
Other
735 stars 322 forks source link

Linuxmodule Compilation fails CentOS 6 #438

Open ppatel826 opened 5 years ago

ppatel826 commented 5 years ago

I'm trying to compile Click with Linuxmodule enabled on CentOS 6 with kernel version 2.6.32. The configure scripts run without any errors. When it comes to anydevice.cc compilation I'm stuck at the following error

'struct net_device' has no member named 'rx_handler'

image

Has anyone faced this problem before?

tbarbette commented 5 years ago

You must use a more recent version of the Linux kernel. 2.6.32 has no support for rx_handler, which is used by Click to sniff packets out of the Linux stack.