Issue 103212 - build broken in pdfimport extension
Summary: build broken in pdfimport extension
Status: CLOSED DUPLICATE of issue 102679
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m51
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 11:42 UTC by andyrtr
Modified: 2009-07-12 18:16 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description andyrtr 2009-06-30 11:42:44 UTC
ArchLinux using gcc4.4 (i686):

checking whether to build the PDF Import extension... yes
checking which pdf backend to use... internal
checking for xpdf module... OK
checking for sdext module... OK

Compiling: sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing -DENABLE_LAYOUT=0
-DENABLE_LAYOUT_EXPERIMENTAL=0  
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/inc/xpdf
-I.  -I../../../unxlngi6.pro/inc/xpdfimport -I../inc -I../../../inc/pch
-I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I.
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/inc/stl -I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/inc/external
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/inc
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solenv/unxlngi6/inc
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solenv/inc
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/res
-I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/inc/stl -I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solenv/inc/Xp31
-I/usr/lib/jvm/java-1.6.0-openjdk/include
-I/usr/lib/jvm/java-1.6.0-openjdk/include/linux
-I/usr/lib/jvm/java-1.6.0-openjdk/include/native_threads/include -I/usr/include
 -I/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/inc/offuh -I. -I../../../res -I. -pipe -march=i686 -mtune=generic -O2 -pipe -fvisibility-inlines-hidden -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor    -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA     -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../../unxlngi6.pro/obj/pnghelper.o /tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
: &&    
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/lib
xsltproc --nonet -o
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/unxlngi6.pro/misc/PresentationMinimizer_in/registry/data/org/openoffice/Office/UI/ImpressWindowState.val
\
                    --stringparam xcs
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/xml/registry/schema/org/openoffice/Office/UI/ImpressWindowState.xcs
\
                    --stringparam schemaRoot
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/xml/registry/schema
\
                   
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/xml/processing/data_val.xsl
ImpressWindowState.xcu
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:33:23:
error: zlib/zlib.h: No such file or directory
: &&    
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/lib
xsltproc --nonet -o
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/unxlngi6.pro/misc/PresentationMinimizer_in/registry/data/org/openoffice/Office/UI/ImpressWindowState.xcu
\
                    --stringparam xcs
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/xml/registry/schema/org/openoffice/Office/UI/ImpressWindowState.xcs
\
                    --stringparam schemaRoot
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/xml/registry/schema
\
                   
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/solver/300/unxlngi6.pro/xml/processing/alllang.xsl
ImpressWindowState.xcu
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:
In static member function 'static sal_uInt32
pdfi::PngHelper::deflateBuffer(const Output_t*, size_t, OutputBuffer&)':
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:91:
error: 'z_stream' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:91:
error: expected ';' before 'aStream'
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:92:
error: 'aStream' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:92:
error: 'Z_NULL' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:95:
error: 'Z_BEST_COMPRESSION' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:95:
error: 'deflateInit' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:96:
error: 'uInt' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:97:
error: 'Bytef' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:97:
error: expected primary-expression before ')' token
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:97:
error: expected ';' before 'i_pBuf'
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:105:
error: 'Z_FINISH' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:105:
error: 'deflate' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:105:
error: 'Z_STREAM_ERROR' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:107:
error: 'deflateEnd' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:121:
error: 'deflateEnd' was not declared in this scope
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:
At global scope:
/tmp/openoffice-base-devel/trunk/src/DEV300_m51/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:86:
warning: unused parameter 'i_pBuf'
dmake:  Error code 1, while making '../../../unxlngi6.pro/obj/pnghelper.obj'
Comment 1 andyrtr 2009-06-30 16:23:29 UTC
same system-poppler
Comment 2 andyrtr 2009-06-30 16:24:01 UTC
fails the same way with system-poppler
Comment 3 Olaf Felka 2009-06-30 16:26:50 UTC
@ hjs: Something for you?
Comment 4 hjs 2009-06-30 18:34:36 UTC
other issue already got a fix attached...

*** This issue has been marked as a duplicate of 102679 ***
Comment 5 Mechtilde 2009-07-12 18:16:39 UTC
duplicate -> closed