<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div>Tried everything in here:</div><div><a href="https://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files" rel="nofollow" target="_blank" class="enhancr_card_2162159830">How do I install kernel header files?</a></div><div><br></div><div id="ydp8f1d4025enhancr_card_2162159830" class="ydp8f1d4025yahoo-link-enhancr-card ydp8f1d4025ymail-preserve-class ydp8f1d4025ymail-preserve-style" style="max-width:400px;font-family:"Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif" data-url="https://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="https://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files" style="text-decoration:none !important;color:#000 !important" class="ydp8f1d4025yahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table class="ydp8f1d4025card-wrapper ydp8f1d4025yahoo-ignore-table" style="max-width:400px" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="400"><table class="ydp8f1d4025card ydp8f1d4025yahoo-ignore-table" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="ydp8f1d4025card-primary-image-cell" style="background-color: rgb(0, 0, 0); background-repeat: no-repeat; background-size: cover; position: relative; border-radius: 2px 2px 0px 0px; min-height: 175px;" valign="top" height="175" bgcolor="#000000" background="https://s.yimg.com/lo/api/res/1.2/Kh4__3bL7shCr_jsNuaIag--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://cdn.sstatic.net/Sites/askubuntu/img/apple-touch-icon@2.png?v=c492c9229955.cf.jpg"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:396px;height:175px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/lo/api/res/1.2/Kh4__3bL7shCr_jsNuaIag--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://cdn.sstatic.net/Sites/askubuntu/img/apple-touch-icon@2.png?v=c492c9229955.cf.jpg"/></v:rect><![endif]--><table class="ydp8f1d4025card-overlay-container-table ydp8f1d4025yahoo-ignore-table" style="width:100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="ydp8f1d4025card-overlay-cell" style="background-color: transparent; border-radius: 2px 2px 0px 0px; min-height: 175px;" valign="top" bgcolor="transparent" background="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:396px;height:175px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png"/><v:textbox inset="0,0,20px,0"><![endif]--><table class="ydp8f1d4025yahoo-ignore-table" style="width: 100%; min-height: 175px;" height="175" border="0"><tbody><tr><td class="ydp8f1d4025card-richInfo2" style="text-align:left;padding:15px 0 0 15px;vertical-align:top"></td><td class="ydp8f1d4025card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top"><div class="ydp8f1d4025card-share-container"></div></td></tr></tbody></table><!--[if gte mso 9]></v:textbox></v:rect><![endif]--></td></tr></tbody></table></td></tr><tr><td><table class="ydp8f1d4025card-info ydp8f1d4025yahoo-ignore-table" style="background-color: rgb(255, 255, 255); background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto auto; position: relative; z-index: 2; width: 100%; max-width: 400px; border-radius: 0px 0px 2px 2px; border-top: 1px solid rgb(224, 228, 233);" cellspacing="0" cellpadding="0" border="0" align="center"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:"Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;border-radius:0 0 2px 0"><h2 class="ydp8f1d4025card-title" style="font-size:14px;line-height:19px;margin:0 0 6px 0;font-family:"Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;word-break:break-word;color:#26282a">How do I install kernel header files?</h2><p class="ydp8f1d4025card-description" style="font-size:12px;line-height:16px;margin:0;color:#979ba7;word-break:break-word">i want to write a device driver but not able to find the header file can someone please help me find them?Also i...</p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div><br></div><div>nothing worked.<br></div><div><br></div>
</div><div id="yahoo_quoted_1690849847" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, July 12, 2018, 2:58:49 PM EDT, valdis.kletnieks@vt.edu <valdis.kletnieks@vt.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Thu, 12 Jul 2018 18:44:43 -0000, David Frank said:<br clear="none">> Hi,How do I enable the MAP_SYNC flag in mmap for linux 4.15, my code does not<br clear="none">> compile with that flag on linux 4.15.0-041500rc7-generic #201801072330<br clear="none"><br clear="none">Get your distro to ship an update to /usr/include/linux (kernel-headers) that<br clear="none">contains the flag. Your kernel supports it, but your toolchain doesn't until<br clear="none">you get an include file that includes the update for MAP_SYNC<div class="yqt1624822200" id="yqtfd08081"><br clear="none"><br clear="none">> Also, how do I make mmap support map size of 2GB or larger, currently the<br clear="none">> call to mmap fails with mapsize of 2GB.</div><br clear="none"><br clear="none">What error code does it fail with?<div class="yqt1624822200" id="yqtfd49675"><br clear="none"></div></div>_______________________________________________<br clear="none">Kernelnewbies mailing list<br clear="none"><a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none"><a shape="rect" href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><div class="yqt1624822200" id="yqtfd24217"><br clear="none"></div></div>
</div>
</div></div></body></html>