kohler / click

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

kernel module support of Click router on linux kernel 4.4 #429

Open anoopchandra opened 5 years ago

anoopchandra commented 5 years ago

I tried using click router with --enable-linuxmodule and it threw error as below:

Your Linux kernel header files cause errors when included by a C++ program.

Click modifies the Linux kernel's header files to make them work with C++, using the program 'linuxmodule/click-linuxtool.pl'. It looks like your kernel header files have features that tool doesn't know how to fix. You can report this error to us on the Click mailing list, or, even better, try to fix the error. See the config.log file for more information on the error.

=========================================

linuxmodule/click-linuxtool.pl is very cryptic and does not give any clue why it failed. Wondering I can build kernel module with kernel 4.4.

My kernel version is 4.4.155.

Please suggest which version I should use or there is any solution for this issue.

Thanks a lot. Anoop

tbarbette commented 5 years ago

You will have more informations about why it failed in config.log . Feel free to paste it here and I'll take a look