Installing Kernel Headers

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have built, installed, and am now running a recent 4.18.0-rc1+ kernel from kernel.org on a Xubuntu machine. The machine used to run 4.13.0-45. I am now trying to compile programs against it with gcc and I am encountering issues with my kernel headers being out of date. I want to use the new mmap DAX flags.
I have successfully built the kernel headers with 'make headers_install' and I have them sitting in a folder in my home. Do I need to put these somewhere so gcc sees them by default? Should I point gcc to the new headers for this program only? How?
linux-headers
add a comment |Â
up vote
2
down vote
favorite
I have built, installed, and am now running a recent 4.18.0-rc1+ kernel from kernel.org on a Xubuntu machine. The machine used to run 4.13.0-45. I am now trying to compile programs against it with gcc and I am encountering issues with my kernel headers being out of date. I want to use the new mmap DAX flags.
I have successfully built the kernel headers with 'make headers_install' and I have them sitting in a folder in my home. Do I need to put these somewhere so gcc sees them by default? Should I point gcc to the new headers for this program only? How?
linux-headers
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have built, installed, and am now running a recent 4.18.0-rc1+ kernel from kernel.org on a Xubuntu machine. The machine used to run 4.13.0-45. I am now trying to compile programs against it with gcc and I am encountering issues with my kernel headers being out of date. I want to use the new mmap DAX flags.
I have successfully built the kernel headers with 'make headers_install' and I have them sitting in a folder in my home. Do I need to put these somewhere so gcc sees them by default? Should I point gcc to the new headers for this program only? How?
linux-headers
I have built, installed, and am now running a recent 4.18.0-rc1+ kernel from kernel.org on a Xubuntu machine. The machine used to run 4.13.0-45. I am now trying to compile programs against it with gcc and I am encountering issues with my kernel headers being out of date. I want to use the new mmap DAX flags.
I have successfully built the kernel headers with 'make headers_install' and I have them sitting in a folder in my home. Do I need to put these somewhere so gcc sees them by default? Should I point gcc to the new headers for this program only? How?
linux-headers
asked Jul 12 at 21:11
Andy
111
111
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454984%2finstalling-kernel-headers%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password