[poppler] unable to build pdftocairo binary (every other util builds fine)

William Bader williambader at hotmail.com
Sat Apr 26 22:36:34 PDT 2014


Check your version of cairo.
The log says 'cairo output: no (requires cairo >= 1.10.0)'

> To: poppler at lists.freedesktop.org
> From: ucie at gishpuppy.com
> Date: Sun, 27 Apr 2014 00:22:59 +0000
> Subject: [poppler] unable to build pdftocairo binary (every other util	builds fine)
> 
> Hi
> 
> poppler utils are a great piece of software, I frequently build newer 
> builds to 
> see enhancements and new features very useful for me
> 
> But since a while, when I compile newer poppler builds (from 0.24.x 
> more or less
> ) even if I successfully build all poppler utils statically, one of these is 
> mis
> sing. i mean pdftocairo
> 
> the same happened with latest release 0.26.0
> 
> i was able to build ALL utils except one
> 
> pdftocairo
> 
> I attach the full log to bottom of message
> 
> I used the
> 
> gcc 4.1.2
> 
> configuration
> gcc/i486-slackware-linux/4.1.2/specs
> Target: i486-slackware-linux
> Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --
> enable-l
> anguages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-
> __cxa_atexi
> t --disable-checking --with-gnu-ld --verbose --with-arch=i486 --
> target=i486-slac
> kware-linux --host=i486-slackware-linux
> 
> this is the full compilation log:
> 
>   ./configure --prefix=/usr --enable-static --disable-shared 
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether byte ordering is bigendian... no
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking how to print strings... printf
> checking for a sed that does not truncate output... /bin/sed
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /mnt/devx3.01_301.sfs/usr/i486-
> slackware-linux/bi
> n/ld
> checking if the linker (/mnt/devx3.01_301.sfs/usr/i486-slackware-
> linux/bin/ld) i
> s GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -
> B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 98304
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-
> gnu format
> ... func_convert_file_noop
> checking how to convert i686-pc-linux-gnu file names to toolchain 
> format... func
> _convert_file_noop
> checking for /mnt/devx3.01_301.sfs/usr/i486-slackware-linux/bin/ld 
> option to rel
> oad object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... dlltool
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... 
> ok
> checking for sysroot... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/mnt/devx3.01_301.sfs/usr/i486-
> slackware-linux/
> bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking whether gcc understands -c and -o together... (cached) yes
> checking dependency style of gcc... (cached) gcc3
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /mnt/devx3.01_301.sfs/usr/i486-
> slackware-linux/bi
> n/ld
> checking if the linker (/mnt/devx3.01_301.sfs/usr/i486-slackware-
> linux/bin/ld) i
> s GNU ld... yes
> checking whether the g++ linker (/mnt/devx3.01_301.sfs/usr/i486-
> slackware-linux/
> bin/ld) supports shared libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/mnt/devx3.01_301.sfs/usr/i486-
> slackware-linux/
> bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking for library containing strerror... none required
> checking for gcc option to accept ISO C99... -std=gnu99
> checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) 
> -std=gnu
> 99
> checking whether we are using the GNU C++ compiler... (cached) 
> yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking for the pthreads library -lpthread... yes
> checking for joinable pthread attribute... 
> PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... no
> checking for PTHREAD_PRIO_INHERIT... no
> checking for X... libraries , headers 
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for stdint.h... (cached) yes
> checking whether gettimeofday is declared... yes
> checking for gettimeofday... yes
> checking for localtime_r... yes
> checking for gmtime_r... yes
> checking for rand_r... yes
> checking for gethostbyname... (cached) yes
> checking for nanosleep... yes
> checking for LIBOPENJPEG... no
> checking for opj_cio_open in -lopenjpeg... no
> checking openjpeg.h usability... no
> checking openjpeg.h presence... no
> checking for openjpeg.h... no
> checking for TIFFOpen in -ltiff... no
> checking tiffio.h usability... yes
> checking tiffio.h presence... yes
> checking for tiffio.h... yes
> checking for popen... yes
> checking for mkstemp... yes
> checking for mkstemps... no
> checking for strcpy_s... no
> checking for strcat_s... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... 64
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for fseek64... no
> checking for ftell64... no
> checking for pread64... yes
> checking for lseek64... yes
> checking for libjpeg6b... no
> checking for libjpeg... -ljpeg
> checking jpeglib.h usability... yes
> checking jpeglib.h presence... yes
> checking for jpeglib.h... yes
> checking libjpeg.h works correctly... ok
> checking for LIBPNG... yes
> checking for FREETYPE... yes
> checking which font configuration to use... fontconfig
> checking for FONTCONFIG... yes
> checking for CAIRO... no
> checking for gtk-doc... no
> configure: WARNING:
>   You will not be able to create source packages with 'make dist'
>   because gtk-doc >= 1.14 is not found.
> checking for gtkdoc-check... no
> checking for gtkdoc-check... no
> checking for gtkdoc-rebase... no
> checking for gtkdoc-mkpdf... no
> checking whether to build gtk-doc documentation... no
> checking for GTKDOC_DEPS... yes
> checking for POPPLER_QT4... no
> checking for POPPLER_QT5... no
> checking for iconv... yes
> checking for working iconv... yes
> checking for iconv declaration... 
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t 
> *inbytesleft, ch
> ar * *outbuf, size_t *outbytesleft);
> checking for GTK_TEST... no
> checking for LCMS... no
> checking for LCMS... yes
> checking for test data in /root/poppler-0.26.0/./../test... no
> configure: WARNING:
>  No test data found in /root/poppler-0.26.0/./../test.
>  You will not be able to run 'make check' successfully.
> 
>  The test data is not included in the source packages
>  and is also not part of the main git repository. Instead,
>  you can checkout the test data from its own git
>  repository with:
> 
>    git clone git://git.freedesktop.org/git/poppler/test
> 
>  You should checkout the test data as a sibling of your
>  poppler source folder or specify the location of your
>  checkout with --with-testdatadir=/path/to/checkoutdir/test.
> 
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating goo/Makefile
> config.status: creating fofi/Makefile
> config.status: creating splash/Makefile
> config.status: creating poppler/Makefile
> config.status: creating utils/Makefile
> config.status: creating glib/Makefile
> config.status: creating glib/poppler-features.h
> config.status: creating glib/reference/Makefile
> config.status: creating glib/reference/version.xml
> config.status: creating glib/demo/Makefile
> config.status: creating test/Makefile
> config.status: creating qt4/Makefile
> config.status: creating qt4/src/Makefile
> config.status: creating qt4/tests/Makefile
> config.status: creating qt4/demos/Makefile
> config.status: creating qt5/Makefile
> config.status: creating qt5/src/Makefile
> config.status: creating qt5/tests/Makefile
> config.status: creating qt5/demos/Makefile
> config.status: creating cpp/Makefile
> config.status: creating cpp/poppler-version.h
> config.status: creating cpp/tests/Makefile
> config.status: creating poppler.pc
> config.status: creating poppler-uninstalled.pc
> config.status: creating poppler-cairo.pc
> config.status: creating poppler-cairo-uninstalled.pc
> config.status: creating poppler-splash.pc
> config.status: creating poppler-splash-uninstalled.pc
> config.status: creating poppler-glib.pc
> config.status: creating poppler-glib-uninstalled.pc
> config.status: creating poppler-qt4.pc
> config.status: creating poppler-qt4-uninstalled.pc
> config.status: creating poppler-qt5.pc
> config.status: creating poppler-qt5-uninstalled.pc
> config.status: creating poppler-cpp.pc
> config.status: creating poppler-cpp-uninstalled.pc
> config.status: creating config.h
> config.status: creating poppler/poppler-config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> 
> Building poppler with support for:
>   font configuration: fontconfig
>   splash output:      yes
>   cairo output:       no (requires cairo >= 1.10.0)
>   qt4 wrapper:        no
>   qt5 wrapper:        no
>   glib wrapper:       no (requires cairo output)
>     introspection:    no
>   cpp wrapper:        yes
>   use gtk-doc:        no
>   use libjpeg:        yes
>   use libpng:         yes
>   use libtiff:        no
>   use zlib:           no
>   use libcurl:        no
>   use libopenjpeg:    no
>   use cms:            yes
>       with lcms1
>   command line utils: yes
>   test data dir:      /root/poppler-0.26.0/./../test
> 
>   Warning: Using libopenjpeg is recommended
> # make && make install
> make  all-recursive
> make[1]: Entering directory `/root/poppler-0.26.0'
> Making all in goo
> make[2]: Entering directory `/root/poppler-0.26.0/goo'
>   CXX      gfile.lo
>   CXX      gmempp.lo
>   CXX      GooHash.lo
>   CXX      GooList.lo
>   CXX      GooTimer.lo
>   CXX      GooString.lo
>   CXX      gmem.lo
>   CXX      FixedPoint.lo
>   CXX      NetPBMWriter.lo
>   CXX      PNGWriter.lo
> PNGWriter.cc: In member function 'virtual bool 
> PNGWriter::init(FILE*, int, int, 
> int, int)':
> PNGWriter.cc:137: warning: passing 'double' for argument 3 to 'void 
> png_set_pHYs
> (png_struct*, png_info*, png_uint_32, png_uint_32, int)'
> PNGWriter.cc:137: warning: passing 'double' for argument 4 to 'void 
> png_set_pHYs
> (png_struct*, png_info*, png_uint_32, png_uint_32, int)'
>   CXX      JpegWriter.lo
>   CXX      TiffWriter.lo
>   CXX      ImgWriter.lo
>   CXX      gstrtod.lo
>   CXX      grandom.lo
>   CXXLD    libgoo.la
> make[2]: Leaving directory `/root/poppler-0.26.0/goo'
> Making all in fofi
> make[2]: Entering directory `/root/poppler-0.26.0/fofi'
>   CXX      FoFiBase.lo
>   CXX      FoFiEncodings.lo
>   CXX      FoFiTrueType.lo
>   CXX      FoFiType1.lo
>   CXX      FoFiType1C.lo
>   CXX      FoFiIdentifier.lo
>   CXXLD    libfofi.la
> make[2]: Leaving directory `/root/poppler-0.26.0/fofi'
> Making all in splash
> make[2]: Entering directory `/root/poppler-0.26.0/splash'
>   CXX      Splash.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
> Splash.cc: In member function 'void Splash::drawAAPixel(SplashPipe*, 
> int, int)':
> Splash.cc:1454: warning: passing 'SplashCoord' for argument 1 to 
> 'Guchar div255(
> int)'
> Splash.cc: In member function 'void Splash::drawAALine(SplashPipe*, 
> int, int, in
> t, GBool, Guchar)':
> Splash.cc:1536: warning: passing 'double' for argument 1 to 'Guchar 
> div255(int)'
> Splash.cc:1536: warning: converting to 'Guchar' from 'double'
> Splash.cc: In member function 'SplashError 
> Splash::fillWithPattern(SplashPath*, 
> GBool, SplashPattern*, SplashCoord)':
> Splash.cc:2545: warning: passing 'SplashCoord' for argument 1 to 
> 'Guchar clip255
> (int)'
> Splash.cc: In function 'void expandRow(Guchar*, Guchar*, int, int, 
> int)':
> Splash.cc:4863: warning: converting to 'unsigned char' from 'double'
> Splash.cc: In member function 'void 
> Splash::scaleImageYuXuBilinear(GBool (*)(voi
> d*, Guchar*, Guchar*), void*, SplashColorMode, int, GBool, int, int, 
> int, int, S
> plashBitmap*)':
> Splash.cc:4931: warning: converting to 'Guint' from 'double'
> Splash.cc:4975: warning: converting to 'unsigned char' from 'double'
>   CXX      SplashBitmap.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      SplashClip.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      SplashFTFont.lo
>   CXX      SplashFTFontEngine.lo
>   CXX      SplashFTFontFile.lo
>   CXX      SplashFont.lo
>   CXX      SplashFontEngine.lo
>   CXX      SplashFontFile.lo
>   CXX      SplashFontFileID.lo
>   CXX      SplashPath.lo
>   CXX      SplashPattern.lo
>   CXX      SplashScreen.lo
>   CXX      SplashState.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      SplashT1Font.lo
>   CXX      SplashT1FontEngine.lo
>   CXX      SplashT1FontFile.lo
>   CXX      SplashXPath.lo
>   CXX      SplashXPathScanner.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXXLD    libsplash.la
> make[2]: Leaving directory `/root/poppler-0.26.0/splash'
> Making all in poppler
> make[2]: Entering directory `/root/poppler-0.26.0/poppler'
> make  all-am
> make[3]: Entering directory `/root/poppler-0.26.0/poppler'
>   CXX      SplashOutputDev.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      DCTStream.lo
>   CXX      JPXStream.lo
>   CXX      Annot.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      Array.lo
>   CXX      BuiltinFont.lo
>   CXX      BuiltinFontTables.lo
>   CXX      CachedFile.lo
>   CXX      Catalog.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      CharCodeToUnicode.lo
>   CXX      CMap.lo
>   CXX      DateInfo.lo
>   CXX      Decrypt.lo
>   CXX      Dict.lo
>   CXX      Error.lo
>   CXX      FileSpec.lo
>   CXX      FontEncodingTables.lo
>   CXX      Form.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      FontInfo.lo
>   CXX      Function.lo
>   CXX      Gfx.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      GfxFont.lo
>   CXX      GfxState.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
> GfxState.cc: In member function 'void 
> GfxUnivariateShading::setupCache(const Mat
> rix*, double, double, double, double)':
> GfxState.cc:3902: warning: converting to 'int' from 'double'
>   CXX      GlobalParams.lo
> GlobalParams.cc: In member function 'GooList* 
> GlobalParams::getPSResidentFonts()
> ':
> GlobalParams.cc:1508: warning: dereferencing type-punned pointer 
> will break stri
> ct-aliasing rules
>   CXX      Hints.lo
>   CXX      JArithmeticDecoder.lo
>   CXX      JBIG2Stream.lo
>   CXX      Lexer.lo
>   CXX      Linearization.lo
>   CXX      Link.lo
>   CXX      LocalPDFDocBuilder.lo
>   CXX      Movie.lo
>   CXX      NameToCharCode.lo
>   CXX      Object.lo
>   CXX      OptionalContent.lo
>   CXX      Outline.lo
>   CXX      OutputDev.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      Page.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      PageTransition.lo
>   CXX      Parser.lo
>   CXX      PDFDoc.lo
>   CXX      PDFDocEncoding.lo
>   CXX      PDFDocFactory.lo
>   CXX      PopplerCache.lo
>   CXX      ProfileData.lo
>   CXX      PreScanOutputDev.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      PSTokenizer.lo
>   CXX      Rendition.lo
>   CXX      StdinCachedFile.lo
>   CXX      StdinPDFDocBuilder.lo
>   CXX      Stream.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      StructTreeRoot.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      StructElement.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      strtok_r.lo
>   CXX      UnicodeMap.lo
>   CXX      UnicodeTypeTable.lo
>   CXX      UTF.lo
>   CXX      ViewerPreferences.lo
>   CXX      XRef.lo
>   CXX      PSOutputDev.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      TextOutputDev.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      MarkedContentOutputDev.lo
> GfxState.h: In function 'Guchar dblToByte(double)':
> GfxState.h:108: warning: converting to 'Guchar' from 'double'
>   CXX      PageLabelInfo.lo
>   CXX      SecurityHandler.lo
>   CXX      Sound.lo
>   CXX      XpdfPluginAPI.lo
>   CXXLD    libpoppler.la
> libtool: link: warning: `/usr/X11R7/lib/libexpat.la' seems to be moved
> make[3]: Leaving directory `/root/poppler-0.26.0/poppler'
> make[2]: Leaving directory `/root/poppler-0.26.0/poppler'
> Making all in utils
> make[2]: Entering directory `/root/poppler-0.26.0/utils'
>   CXX      pdfdetach.o
>   CXX      parseargs.o
>   CXXLD    pdfdetach
>   CXX      pdffonts.o
>   CXXLD    pdffonts
>   CXX      pdfimages.o
>   CXX      ImageOutputDev.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      JSInfo.o
>   CXXLD    pdfimages
>   CXX      pdfinfo.o
>   CXX      printencodings.o
>   CXXLD    pdfinfo
>   CXX      pdftops.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXXLD    pdftops
>   CXX      pdftotext.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXXLD    pdftotext
>   CXX      pdftohtml-pdftohtml.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
> pdftohtml.cc: In function 'int main(int, char**)':
> pdftohtml.cc:418: warning: passing 'double' for argument 3 to 
> 'SplashError Splas
> hBitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftohtml.cc:418: warning: passing 'double' for argument 4 to 
> 'SplashError Splas
> hBitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
>   CXX      pdftohtml-HtmlFonts.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      pdftohtml-HtmlLinks.o
>   CXX      pdftohtml-HtmlOutputDev.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      pdftohtml-parseargs.o
>   CXXLD    pdftohtml
>   CXX      pdfseparate.o
>   CXXLD    pdfseparate
>   CXX      pdfunite.o
>   CXXLD    pdfunite
>   CXX      pdftoppm.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
> pdftoppm.cc: In function 'void savePageSlice(PDFDoc*, 
> SplashOutputDev*, int, int
> , int, int, int, double, double, char*)':
> pdftoppm.cc:228: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:228: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:230: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:230: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:232: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:232: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:234: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:234: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, char*, int, int, const 
> char*)'
> pdftoppm.cc:244: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, FILE*, int, int, const 
> char*)'
> pdftoppm.cc:244: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, FILE*, int, int, const 
> char*)'
> pdftoppm.cc:246: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, FILE*, int, int, const 
> char*)'
> pdftoppm.cc:246: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, FILE*, int, int, const 
> char*)'
> pdftoppm.cc:248: warning: passing 'double' for argument 3 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, FILE*, int, int, const 
> char*)'
> pdftoppm.cc:248: warning: passing 'double' for argument 4 to 
> 'SplashError Splash
> Bitmap::writeImgFile(SplashImageFileFormat, FILE*, int, int, const 
> char*)'
>   CXXLD    pdftoppm
> make[2]: Leaving directory `/root/poppler-0.26.0/utils'
> Making all in test
> make[2]: Entering directory `/root/poppler-0.26.0/test'
>   CXX      perf-test.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      perf-test-preview-dummy.o
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXXLD    perf-test
>   CXX      pdf-fullrewrite.o
>   CXX      parseargs.o
>   CXXLD    pdf-fullrewrite
> make[2]: Leaving directory `/root/poppler-0.26.0/test'
> Making all in cpp
> make[2]: Entering directory `/root/poppler-0.26.0/cpp'
> Making all in .
> make[3]: Entering directory `/root/poppler-0.26.0/cpp'
>   CXX      libpoppler_cpp_la-poppler-document.lo
>   CXX      libpoppler_cpp_la-poppler-embedded-file.lo
>   CXX      libpoppler_cpp_la-poppler-font.lo
>   CXX      libpoppler_cpp_la-poppler-global.lo
> poppler-global.cpp: In member function 'poppler::byte_array 
> poppler::ustring::to
> _utf8() const':
> poppler-global.cpp:228: warning: dereferencing type-punned pointer 
> will break st
> rict-aliasing rules
> poppler-global.cpp:234: warning: dereferencing type-punned pointer 
> will break st
> rict-aliasing rules
>   CXX      libpoppler_cpp_la-poppler-image.lo
> poppler-image.cpp: In member function 'bool 
> poppler::image::save(const std::stri
> ng&, const std::string&, int) const':
> poppler-image.cpp:389: warning: dereferencing type-punned pointer 
> will break str
> ict-aliasing rules
>   CXX      libpoppler_cpp_la-poppler-page.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      libpoppler_cpp_la-poppler-page-renderer.lo
> ../poppler/GfxState.h: In function 'Guchar dblToByte(double)':
> ../poppler/GfxState.h:108: warning: converting to 'Guchar' from 
> 'double'
>   CXX      libpoppler_cpp_la-poppler-page-transition.lo
>   CXX      libpoppler_cpp_la-poppler-private.lo
>   CXX      libpoppler_cpp_la-poppler-rectangle.lo
>   CXX      libpoppler_cpp_la-poppler-toc.lo
>   CXX      libpoppler_cpp_la-poppler-version.lo
>   CXXLD    libpoppler-cpp.la
> libtool: link: warning: `/usr/X11R7/lib/liblcms.la' seems to be moved
> libtool: link: warning: `/mnt/devx3.01_301.sfs/usr/bin/../lib/gcc/i486-
> slackware
> -linux/4.1.2/../../../libstdc++.la' seems to be moved
> libtool: link: warning: `/usr/X11R7/lib/libfreetype.la' seems to be moved
> libtool: link: warning: `/usr/X11R7/lib/libexpat.la' seems to be moved
> libtool: link: warning: `/usr/X11R7/lib/libstdc++.la' seems to be moved
> make[3]: Leaving directory `/root/poppler-0.26.0/cpp'
> Making all in tests
> make[3]: Entering directory `/root/poppler-0.26.0/cpp/tests'
>   CXX      parseargs.o
>   CXX      poppler-dump.o
>   CXXLD    poppler-dump
>   CXX      poppler-render.o
>   CXXLD    poppler-render
> make[3]: Leaving directory `/root/poppler-0.26.0/cpp/tests'
> make[2]: Leaving directory `/root/poppler-0.26.0/cpp'
> make[2]: Entering directory `/root/poppler-0.26.0'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/root/poppler-0.26.0'
> make[1]: Leaving directory `/root/poppler-0.26.0'
> 
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20140427/b9c785cf/attachment-0001.html>


More information about the poppler mailing list