Hello,
for 6.0.3.2 I call
./configure --enable-evolution2 --enable-avahi
--enable-python=system --enable-eot --enable-online-update
--enable-introspection=yes --without-doxygen --with-jdk-home=/opt/jdk
--with-ant-home=/opt/ant --without-junit --enable-formula-logger
--enable-introspection --with-system-bzip2 --with-system-cairo
--with-system-epoxy --with-system-zlib --with-system-jpeg
--with-system-expat --with-system-libxml --with-system-icu
--with-system-openldap --with-system-poppler --with-system-curl
--with-system-boost --with-webdav --with-krb5 --with-gssapi
--with-system-lcms2 --with-boost --with-system-nss
--with-system-graphite --with-system-harfbuzz --with-system-openssl
--with-system-libpng --disable-firebird-sdbc
which implies --enable-pdfium, and then `make` shows:
mkdir -p /src/libreoffice-6.0.3.2/instdir
/src/libreoffice-6.0.3.2/solenv/bin/install-gdb-printers -a
/src/libreoffice-6.0.3.2/instdir -c
make -j 4 -rs -f /src/libreoffice-6.0.3.2/Makefile.gbuild all
[build DEP] LNK:Executable/unoidl-write
[build DEP] LNK:Executable/unoidl-check
[build DEP] LNK:Library/libunoidllo.so
[build DEP] LNK:Library/libpdfiumlo.so
[build DEP] LNK:Executable/cppumaker
[build PAT] liborcus
[build DEP] LNK:Library/libunoidllo.so
[build LNK] Library/libunoidllo.so
[build UIC] modules/BasicIDE
[build CXX]
workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp
/src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In function ‘boolean
_src_fill_buffer(j_decompress_ptr)’:
/src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:78:10: error: invalid conversion from ‘int’ to ‘boolean’
[-fpermissive]
return 0;
^
/src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In function ‘boolean _src_resync(j_decompress_ptr,
int)’:
/src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:82:10: error: invalid conversion from ‘int’ to ‘boolean’
[-fpermissive]
return 0;
^
/src/libreoffice-6.0.3/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In function ‘bool JpegLoadInfo(const uint8_t*, uint32_t, int*, int*, int*, int*,
bool*)’:
/src/libreoffice-6.0.3/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:151:42: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘2’ to ‘int jpeg_read_header(j_decompress_ptr,
boolean)’
int ret = jpeg_read_header(&cinfo, true);
^
/src/libreoffice-6.0.3/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In member function ‘bool
CCodec_JpegDecoder::InitDecode()’:
/src/libreoffice-6.0.3/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:235:42: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘2’ to ‘int jpeg_read_header(j_decompress_ptr,
boolean)’
int ret = jpeg_read_header(&cinfo, true);
^
/src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In member function ‘int CCodec_JpegModule::ReadHeader(CCodec_JpegModule::Context*, int*, int*,
int*)’:
/src/libreoffice-6.0.3.2/workdir/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:463:48: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘2’ to ‘int jpeg_read_header(j_decompress_ptr,
boolean)’
int ret = jpeg_read_header(&ctx->m_Info, true);
^
make[1]: ***
[/src/libreoffice-6.0.3.2/solenv/gbuild/LinkTarget.mk:340:
/src/libreoffice-6.0.3.2/workdir/GenCxxObject/UnpackedTarball/pdfium/core/fxcodec/codec/fx_codec_jpeg.o] Error
1
make[1]: *** Waiting for unfinished jobs....
[build CXX] codemaker/source/javamaker/javamaker.cxx
[build CXX] codemaker/source/javamaker/javaoptions.cxx
[build CXX] codemaker/source/javamaker/classfile.cxx
make: *** [Makefile:268: build] Error 2
I use gcc 7.3.1 20180416.
Any ideas?
Regards
Dilian
Context
- Compiling --enable-pdfium fails · Дилян Палаузов
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.