-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile click linux module #200
Comments
Did you also merged the headers-common with headers-amd64 (or other arch-specific folder) before the ln -s autoconf.h ? mkdir /usr/src/linux-headers-merged/ I also have a problem which appeared recently with proclikefs during make, solved by doing : |
I have the same problem, but even doing this linking, it isn't fixed. 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 Ubuntu has only linux-headers-3.16.0-30-generic folder with no arch-specific folder. |
@yahyaezzeldin I come into the same problem, do you fix it now? |
I am trying to compile the click linux module on ubuntu set up on virtual box
but i am getting the error:
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/fixincludes.pl'. It looks like
your kernel header files have features that 'linuxmodule/fixincludes.pl'
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.
I tried to run the following command
sudo ./configure --with-linux=/usr/src/linux-headers-3.16.0-30-generic --with-linux-map=/boot/System.map-3.16.0-30-generic --enable-linuxmodule
and based on devious posts I also do ln -s ../generated/autoconf.h inside /usr/src/linux-headers-3.16.0-30-generic/include/linux.
Please help me
The text was updated successfully, but these errors were encountered: