Bug 97751

Summary: Build failure with external libjpeg 6b
Product: LibreOffice Reporter: cand
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED MOVED    
Severity: minor CC: ilmari.lauhakangas
Priority: medium    
Version: 5.1.0.3 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description cand 2016-02-11 13:25:47 UTC
The long-term used version of libjpeg, 6b, did not include the C++ guards in its include files. Thus the LO build fails with lots of

jpegc.cxx:(.text+0xa44): undefined reference to 'jpeg_finish_compress(jpeg_compress_struct*)'

because it's looking for C++-mangled symbols. It would be nice if LO included the extern C guards in all files that include jpeglib.h, as having double guards causes no harm.

The files needed are jpegc.cxx and JpegReader.cxx.
Comment 1 Buovjaga 2016-02-12 18:23:18 UTC
Build problems to dev list, plz.