<?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 Re: ipu.h typedef error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ipu-h-typedef-error/m-p/815879#M125705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris Roed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned, you could write a patch that delete the statements that are causing trouble. As for the reason behind those statements I’m afraid I couldn’t find anything in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is my understanding that you are using the Community BSP? It seems that these declarations are not on the ipu.h that are part of the NXP BSP Release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 16:04:29 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2018-08-29T16:04:29Z</dc:date>
    <item>
      <title>ipu.h typedef error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ipu-h-typedef-error/m-p/815878#M125704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the latest yocto (2.4) and I built an x11 image.&amp;nbsp; I've been adding my own library recipes and I'm running into some issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The library I'm using includes &amp;lt;linux/ipu.h&amp;gt;, but when I go to compile, the compiler complains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/recipe-sysroot/usr/include/bits/stdint-uintn.h:24:19: error: two or more data types in declaration specifiers&lt;BR /&gt;| typedef __uint8_t uint8_t;&lt;/P&gt;&lt;P&gt;recipe-sysroot/usr/include/bits/stdint-uintn.h:25:20: error: two or more data types in declaration specifiers&lt;BR /&gt;| typedef __uint16_t uint16_t;&lt;/P&gt;&lt;P&gt;recipe-sysroot/usr/include/bits/stdint-uintn.h:26:20: error: two or more data types in declaration specifiers&lt;BR /&gt;| typedef __uint32_t uint32_t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now... I know what the issue is...&amp;nbsp; The first few lines of ipu.h has&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define uint32_t unsigned int&lt;BR /&gt;#define uint16_t unsigned short&lt;BR /&gt;#define uint8_t unsigned char&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These typedefs are obviously conflicting with the stdint-uintn.h typedefs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my old dev system I would just go into the root file system and comment out those lines, but now that I'm compiling with yocto this has become an issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have a custom kernel, I can change the file in the kernel source, or patch it in the linux-libc-headers recipe, but it seems to me there is a reason those #define statements are there, and how other developers have gotten around this problem when developing with the ipu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; I used the patch method.&amp;nbsp; I've attached the patch, which should be placed in the recipes-kernel/linux-libc-headers/files folder and included in the linux-libc-headers_4.9.bb SRC_URI_append section&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 18:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ipu-h-typedef-error/m-p/815878#M125704</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2018-08-22T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: ipu.h typedef error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ipu-h-typedef-error/m-p/815879#M125705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris Roed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned, you could write a patch that delete the statements that are causing trouble. As for the reason behind those statements I’m afraid I couldn’t find anything in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is my understanding that you are using the Community BSP? It seems that these declarations are not on the ipu.h that are part of the NXP BSP Release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 16:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ipu-h-typedef-error/m-p/815879#M125705</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2018-08-29T16:04:29Z</dc:date>
    </item>
  </channel>
</rss>

