<?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 Kit Kat 4.4 Build Issue With Libcamera2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Kit-Kat-4-4-Build-Issue-With-Libcamera2/m-p/325354#M43678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am compiling a custom ROM based on Kit Kat 4.4.2. I am getting this error (excerpt from log; full log attached):&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;target SharedLib: camera.imx6 (out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/camera.imx6_intermediates/LINKED/camera.imx6.so)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:118: error: undefined reference to 'ResetJpgfile'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:119: error: undefined reference to 'ReadJpegSectionsFromBuffer'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:121: error: undefined reference to 'create_EXIF'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:130: error: undefined reference to 'ReplaceThumbnailFromBuffer'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:140: error: undefined reference to 'WriteJpegToBuffer'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:141: error: undefined reference to 'DiscardData'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:168: error: undefined reference to 'IsGpsTag'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:170: error: undefined reference to 'GpsTagNameToValue'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:175: error: undefined reference to 'TagNameToValue'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:227: error: undefined reference to 'DiscardData'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:575: error: undefined reference to 'FindSection'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:609: error: undefined reference to 'FindSection'&lt;/P&gt;&lt;P&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/camera.imx6_intermediates/LINKED/camera.imx6.so] Error 1&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the JpegBuilder.cpp (excerpts; full JpegBuilder.cpp attached):&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 118: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ResetJpgfile();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Line 119: if (ReadJpegSectionsFromBuffer(jpeg, jpeg_size, read_mode)) {&lt;/P&gt;&lt;P&gt;Line 121: create_EXIF(table, exif_tag_count, gps_tag_count, has_datetime_tag);&lt;/P&gt;&lt;P&gt;Line 130: ret = ReplaceThumbnailFromBuffer(thumb, len);&lt;/P&gt;&lt;P&gt;Line 140: WriteJpegToBuffer(jpeg, jpeg_size);&lt;/P&gt;&lt;P&gt;Line 141: DiscardData();&lt;/P&gt;&lt;P&gt;Line 168: if (IsGpsTag(tag)) {&lt;/P&gt;&lt;P&gt;Line 170: table[position].Tag&amp;nbsp;&amp;nbsp;&amp;nbsp; = GpsTagNameToValue(tag);&lt;/P&gt;&lt;P&gt;Line 175: table[position].Tag&amp;nbsp;&amp;nbsp;&amp;nbsp; = TagNameToValue(tag);&lt;/P&gt;&lt;P&gt;Line 227: DiscardData();&lt;/P&gt;&lt;P&gt;Line 575: exif_section = FindSection(M_EXIF);&lt;/P&gt;&lt;P&gt;Line 609: exif_section = FindSection(M_EXIF);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Twelve errors total. The "JpegBuilder.cpp" is from the "kk4.4.2_1.0.0 GA" release. I do not know what is causing this. What do I do to fix this? Please help.&lt;/P&gt;&lt;P&gt;Thank-you,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 03:28:49 GMT</pubDate>
    <dc:creator>freewaymad</dc:creator>
    <dc:date>2014-07-28T03:28:49Z</dc:date>
    <item>
      <title>Kit Kat 4.4 Build Issue With Libcamera2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kit-Kat-4-4-Build-Issue-With-Libcamera2/m-p/325354#M43678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am compiling a custom ROM based on Kit Kat 4.4.2. I am getting this error (excerpt from log; full log attached):&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;target SharedLib: camera.imx6 (out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/camera.imx6_intermediates/LINKED/camera.imx6.so)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:118: error: undefined reference to 'ResetJpgfile'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:119: error: undefined reference to 'ReadJpegSectionsFromBuffer'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:121: error: undefined reference to 'create_EXIF'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:130: error: undefined reference to 'ReplaceThumbnailFromBuffer'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:140: error: undefined reference to 'WriteJpegToBuffer'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:141: error: undefined reference to 'DiscardData'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:168: error: undefined reference to 'IsGpsTag'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:170: error: undefined reference to 'GpsTagNameToValue'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:175: error: undefined reference to 'TagNameToValue'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:227: error: undefined reference to 'DiscardData'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:575: error: undefined reference to 'FindSection'&lt;/P&gt;&lt;P&gt;hardware/imx/mx6/libcamera2/JpegBuilder.cpp:609: error: undefined reference to 'FindSection'&lt;/P&gt;&lt;P&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/camera.imx6_intermediates/LINKED/camera.imx6.so] Error 1&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the JpegBuilder.cpp (excerpts; full JpegBuilder.cpp attached):&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 118: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ResetJpgfile();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Line 119: if (ReadJpegSectionsFromBuffer(jpeg, jpeg_size, read_mode)) {&lt;/P&gt;&lt;P&gt;Line 121: create_EXIF(table, exif_tag_count, gps_tag_count, has_datetime_tag);&lt;/P&gt;&lt;P&gt;Line 130: ret = ReplaceThumbnailFromBuffer(thumb, len);&lt;/P&gt;&lt;P&gt;Line 140: WriteJpegToBuffer(jpeg, jpeg_size);&lt;/P&gt;&lt;P&gt;Line 141: DiscardData();&lt;/P&gt;&lt;P&gt;Line 168: if (IsGpsTag(tag)) {&lt;/P&gt;&lt;P&gt;Line 170: table[position].Tag&amp;nbsp;&amp;nbsp;&amp;nbsp; = GpsTagNameToValue(tag);&lt;/P&gt;&lt;P&gt;Line 175: table[position].Tag&amp;nbsp;&amp;nbsp;&amp;nbsp; = TagNameToValue(tag);&lt;/P&gt;&lt;P&gt;Line 227: DiscardData();&lt;/P&gt;&lt;P&gt;Line 575: exif_section = FindSection(M_EXIF);&lt;/P&gt;&lt;P&gt;Line 609: exif_section = FindSection(M_EXIF);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Twelve errors total. The "JpegBuilder.cpp" is from the "kk4.4.2_1.0.0 GA" release. I do not know what is causing this. What do I do to fix this? Please help.&lt;/P&gt;&lt;P&gt;Thank-you,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 03:28:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kit-Kat-4-4-Build-Issue-With-Libcamera2/m-p/325354#M43678</guid>
      <dc:creator>freewaymad</dc:creator>
      <dc:date>2014-07-28T03:28:49Z</dc:date>
    </item>
  </channel>
</rss>

