Cross Compiling POPPLER for ARM-freescale(I.mx6 SL)

rohith
Attachment: Poppler-CrossCompile (46.24 KB)
Hi,
I am trying to cross-compile Poppler-0.52.0 for freescale(I.mx-6 SL) while
performing make operation the following error is occurring.

GooString.h:140:14: note: the mangling of 'va_list' has changed in GCC 4.4
  CXXLD    pdfdetach
/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-201
1.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../..
/arm-fsl-linux-gnueabi/bin/ld:
warning: libjpeg.so.62, needed by ../poppler/.libs/libpoppler.so, not found
(try using -rpath or -rpath-link)
/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-201
1.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../..
/arm-fsl-linux-gnueabi/bin/ld:
warning: libpng16.so.16, needed by ../poppler/.libs/libpoppler.so, not
found (try using -rpath or -rpath-link)
/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-201
1.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../..
/arm-fsl-linux-gnueabi/bin/ld:
warning: libz.so.1, needed by ../poppler/.libs/libpoppler.so, not found
(try using -rpath or -rpath-link)
/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-201
1.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../..
/arm-fsl-linux-gnueabi/bin/ld:
warning: libfontconfig.so.1, needed by ../poppler/.libs/libpoppler.so, not
found (try using -rpath or -rpath-link)
/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-201
1.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../..
/arm-fsl-linux-gnueabi/bin/ld:
warning: libfreetype.so.6, needed by ../poppler/.libs/libpoppler.so, not
found (try using -rpath or -rpath-link)
pdfdetach.o: In function `main':
/u03/Compilation/poppler-0.52.0/utils/pdfdetach.cc:298: undefined reference
to `pdfDocEncoding'
./.libs/libparseargs.a(parseargs.o): In function `grabArg':
/u03/Compilation/poppler-0.52.0/utils/parseargs.cc:141: undefined reference
to `gatof'
../poppler/.libs/libpoppler.so: undefined reference to `FT_New_Size'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Set_Transform'
../poppler/.libs/libpoppler.so: undefined reference to `FcPatternDestroy'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_simple_progression'
../poppler/.libs/libpoppler.so: undefined reference to
`png_write_info@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_write_scanlines'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Set_Pixel_Sizes'
../poppler/.libs/libpoppler.so: undefined reference to
`FT_Outline_Decompose'
../poppler/.libs/libpoppler.so: undefined reference to
`png_set_pHYs@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Load_Glyph'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Outline_Check'
../poppler/.libs/libpoppler.so: undefined reference to `deflate'
../poppler/.libs/libpoppler.so: undefined reference to
`ImgWriter::~ImgWriter()'
../poppler/.libs/libpoppler.so: undefined reference to `deflateInit_'
../poppler/.libs/libpoppler.so: undefined reference to
`png_write_rows@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`FcPatternGetLangSet'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Done_FreeType'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_CreateDecompress'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_set_colorspace'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_destroy_decompress'
../poppler/.libs/libpoppler.so: undefined reference to
`png_init_io@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`png_set_IHDR@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`png_create_write_struct@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`png_set_longjmp_fn@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to `jpeg_set_defaults'
../poppler/.libs/libpoppler.so: undefined reference to `jpeg_set_quality'
../poppler/.libs/libpoppler.so: undefined reference to `deflateEnd'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Library_Version'
../poppler/.libs/libpoppler.so: undefined reference to `FcPatternGetString'
../poppler/.libs/libpoppler.so: undefined reference to `jpeg_read_header'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Get_Name_Index'
../poppler/.libs/libpoppler.so: undefined reference to
`png_write_end@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_start_compress'
../poppler/.libs/libpoppler.so: undefined reference to
`png_set_iCCP@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_start_decompress'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Init_FreeType'
../poppler/.libs/libpoppler.so: undefined reference to
`png_destroy_write_struct@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_destroy_compress'
../poppler/.libs/libpoppler.so: undefined reference to `FcFontSetDestroy'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_resync_to_restart'
../poppler/.libs/libpoppler.so: undefined reference to `typeinfo for
ImgWriter'
../poppler/.libs/libpoppler.so: undefined reference to
`FcPatternGetInteger'
../poppler/.libs/libpoppler.so: undefined reference to
`png_create_info_struct@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to `FcFontSort'
../poppler/.libs/libpoppler.so: undefined reference to
`png_set_compression_level@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Done_Glyph'
../poppler/.libs/libpoppler.so: undefined reference to
`png_set_sRGB@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_CreateCompress'
../poppler/.libs/libpoppler.so: undefined reference to `FT_New_Memory_Face'
../poppler/.libs/libpoppler.so: undefined reference to `FT_New_Face'
../poppler/.libs/libpoppler.so: undefined reference to `FcLangSetContains'
../poppler/.libs/libpoppler.so: undefined reference to `jpeg_stdio_dest'
../poppler/.libs/libpoppler.so: undefined reference to `FcLangSetAdd'
../poppler/.libs/libpoppler.so: undefined reference to `jpeg_std_error'
../poppler/.libs/libpoppler.so: undefined reference to
`FT_Outline_Get_CBox'
../poppler/.libs/libpoppler.so: undefined reference to
`png_write_image@PNG16_0'
../poppler/.libs/libpoppler.so: undefined reference to `FcConfigSubstitute'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Get_Glyph'
../poppler/.libs/libpoppler.so: undefined reference to
`FcDefaultSubstitute'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Done_Face'
../poppler/.libs/libpoppler.so: undefined reference to
`FcPatternAddInteger'
../poppler/.libs/libpoppler.so: undefined reference to `FcPatternBuild'
../poppler/.libs/libpoppler.so: undefined reference to `FT_Render_Glyph'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_finish_compress'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_read_scanlines'
../poppler/.libs/libpoppler.so: undefined reference to `FcLangSetDestroy'
../poppler/.libs/libpoppler.so: undefined reference to `FcLangSetCreate'
collect2: ld returned 1 exit status
Makefile:735: recipe for target 'pdfdetach' failed
make[2]: *** [pdfdetach] Error 1
make[2]: Leaving directory '/u03/Compilation/poppler-0.52.0/utils'
Makefile:653: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/u03/Compilation/poppler-0.52.0'
Makefile:536: recipe for target 'all' failed
make: *** [all] Error 2

what i need to include in order to resolve the issue and to complete make
operation perfectly.

I am attaching total log file for better understanding

Thanks in advance,
Rohith.G