<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic kernel src header conflict with standard in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/kernel-src-header-conflict-with-standard/m-p/752614#M117141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to build against a custom header that is referenced through the kernel src which was placed into the sdk.&amp;nbsp; I have modified my Makefile for the program to include that directory in its search path -I $(ROOTFS)/usr/src/kernel/include.&amp;nbsp; I am able to find that file with no issues.&amp;nbsp; The issue that I am encountering is inside that file it references some of the &amp;lt;linux/...&amp;gt; files which are then being taken from the usr/src/kernel/include/linux directory instead of the /usr/include/linux directory and that is creating a huge number of conflicts since they do not match.&amp;nbsp; The whole structure I am building against was generated with the bitbake &amp;lt;image&amp;gt; -x populate_sdk, I just had some custom headers that require me to use the kernel src.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct approach and if it is what do I need to change to get this to compile?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2018 14:02:56 GMT</pubDate>
    <dc:creator>john_schluechte</dc:creator>
    <dc:date>2018-02-16T14:02:56Z</dc:date>
    <item>
      <title>kernel src header conflict with standard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-src-header-conflict-with-standard/m-p/752614#M117141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to build against a custom header that is referenced through the kernel src which was placed into the sdk.&amp;nbsp; I have modified my Makefile for the program to include that directory in its search path -I $(ROOTFS)/usr/src/kernel/include.&amp;nbsp; I am able to find that file with no issues.&amp;nbsp; The issue that I am encountering is inside that file it references some of the &amp;lt;linux/...&amp;gt; files which are then being taken from the usr/src/kernel/include/linux directory instead of the /usr/include/linux directory and that is creating a huge number of conflicts since they do not match.&amp;nbsp; The whole structure I am building against was generated with the bitbake &amp;lt;image&amp;gt; -x populate_sdk, I just had some custom headers that require me to use the kernel src.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct approach and if it is what do I need to change to get this to compile?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 14:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-src-header-conflict-with-standard/m-p/752614#M117141</guid>
      <dc:creator>john_schluechte</dc:creator>
      <dc:date>2018-02-16T14:02:56Z</dc:date>
    </item>
  </channel>
</rss>

