Hi,
I am compiling a custom ROM based on Kit Kat 4.4.2. I am getting this error (excerpt from log; full log attached):
target SharedLib: camera.imx6 (out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/camera.imx6_intermediates/LINKED/camera.imx6.so)
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:118: error: undefined reference to 'ResetJpgfile'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:119: error: undefined reference to 'ReadJpegSectionsFromBuffer'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:121: error: undefined reference to 'create_EXIF'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:130: error: undefined reference to 'ReplaceThumbnailFromBuffer'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:140: error: undefined reference to 'WriteJpegToBuffer'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:141: error: undefined reference to 'DiscardData'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:168: error: undefined reference to 'IsGpsTag'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:170: error: undefined reference to 'GpsTagNameToValue'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:175: error: undefined reference to 'TagNameToValue'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:227: error: undefined reference to 'DiscardData'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:575: error: undefined reference to 'FindSection'
hardware/imx/mx6/libcamera2/JpegBuilder.cpp:609: error: undefined reference to 'FindSection'
collect2: error: ld returned 1 exit status
make: *** [out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/camera.imx6_intermediates/LINKED/camera.imx6.so] Error 1
Here is the JpegBuilder.cpp (excerpts; full JpegBuilder.cpp attached):
Line 118: ResetJpgfile();
Line 119: if (ReadJpegSectionsFromBuffer(jpeg, jpeg_size, read_mode)) {
Line 121: create_EXIF(table, exif_tag_count, gps_tag_count, has_datetime_tag);
Line 130: ret = ReplaceThumbnailFromBuffer(thumb, len);
Line 140: WriteJpegToBuffer(jpeg, jpeg_size);
Line 141: DiscardData();
Line 168: if (IsGpsTag(tag)) {
Line 170: table[position].Tag = GpsTagNameToValue(tag);
Line 175: table[position].Tag = TagNameToValue(tag);
Line 227: DiscardData();
Line 575: exif_section = FindSection(M_EXIF);
Line 609: exif_section = FindSection(M_EXIF);
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.
Thank-you,
Dave