Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

libjpeg linking error while cross compiling xbmc-11.1

$
0
0
Hi All,
I'm cross compiling xbmc-11.1 for TARGET_ARCH=i586, TARGET_OS=linux, and TARGET_MACHINE=fishriver. I got the linking error for libjpeg library. Error log is given below:

xbmc/xbmc/guilib/JpegIO.cpp:358: undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
xbmc/xbmc/guilib/JpegIO.cpp:368: undefined reference to `jpeg_start_decompress(jpeg_decompress_struct*)'
xbmc/xbmc/guilib/JpegIO.cpp:363: undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
xbmc/xbmc/guilib/JpegIO.cpp:374: undefined reference to `jpeg_read_scanlines(jpeg_decompress_struct*, unsigned char**, unsigned int)'
xbmc/xbmc/guilib/JpegIO.cpp:403: undefined reference to `jpeg_finish_decompress(jpeg_decompress_struct*)'
xbmc/xbmc/guilib/JpegIO.cpp:405: undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
xbmc/xbmc/guilib/JpegIO.cpp:383: undefined reference to `jpeg_read_scanlines(jpeg_decompress_struct*, unsigned char**, unsigned int)'
xbmc/guilib/guilib.a(JpegIO.o): In function `CJpegIO::CreateThumbnailFromSurface(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, CStdStr<char> const&)':
xbmc/xbmc/guilib/JpegIO.cpp:497: undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
xbmc/xbmc/guilib/JpegIO.cpp:499: undefined reference to `jpeg_CreateCompress(jpeg_compress_struct*, int, unsigned int)'

I looked into my source libjpeg library is there and even jpeglib.h header file is also available. I'm unable to understand the root cause of this error.
Please help me to fix this issue.
Thanks in Advance

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>