Bug 97751 - Build failure with external libjpeg 6b
Summary: Build failure with external libjpeg 6b
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 13:25 UTC by cand
Modified: 2016-02-12 18:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.