To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69113
Issue #|69113
Summary|Failed to compile with gcc-4.1.1: libpython2.4.so.1.0:
| undefined symbol: deflate
Component|Word processor
Version|OOo 2.0.3
Platform|PC
URL|
OS/Version|Linux
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|mru
Reported by|volkov_peter
------- Additional comments from [EMAIL PROTECTED] Wed Aug 30 09:01:17 -0700
2006 -------
Hello.
First of all I'm really sorry as I'm absolutly sure that I've selected wrong
Component but I have compilation problem and I do not know what component it is.
Below is the error message I have:
------------------------------
Making: ../../unxlngi6.pro/slo/pyuno_gc.obj
g++ -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc -I../../inc
-I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/external
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/inc
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/inc
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/res
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/inc/Xp31
-I/opt/sun-jdk-1.4.2.12/include -I/opt/sun-jdk-1.4.2.12/include/linux
-I/opt/sun-jdk-1.4.2.12/include/native_threads/include -I/usr/include -I.
-I../../res -I. -Os -fno-strict-aliasing -Wuninitialized
-I/usr/include/python2.4 -pipe -O2 -mtune=pentium-m -fomit-frame-pointer
-mcpu=pentium-m -pipe -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden
-fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341
-DINTEL -DCVER=C341 -D_USE_NAMESPACE -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.1.1/include/g++-v4
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOC680=OOC680 -DSHAREDLIB -D_DLL_
-DMULTITHREAD -o ../../unxlngi6.pro/slo/pyuno_gc.o
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/pyuno/source/module/pyuno_gc.cxx
In file included from /usr/include/python2.4/Python.h:13,
from ../../inc/pyuno/pyuno.hxx:11,
from ./pyuno_impl.hxx:41,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/pyuno/source/module/pyuno_gc.cxx:36:
/usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/../include/stdlib.h:25,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl/stdlib.h:23,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/sal/config.h:48,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/sal/types.h:39,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/osl/time.h:40,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/osl/thread.hxx:42,
from
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/pyuno/source/module/pyuno_gc.cxx:35:
/usr/include/features.h:150:1: warning: this is the location of the previous
definition
if ( -e ../../unxlngi6.pro/slo/pyuno_gc.o) touch
../../unxlngi6.pro/slo/pyuno_gc.obj
------------------------------
Making: ../../unxlngi6.pro/slb/pyuno.lib
echo unxlngi6.pro/slo/pyuno_runtime.o unxlngi6.pro/slo/pyuno.o
unxlngi6.pro/slo/pyuno_callable.o unxlngi6.pro/slo/pyuno_module.o
unxlngi6.pro/slo/pyuno_type.o unxlngi6.pro/slo/pyuno_util.o
unxlngi6.pro/slo/pyuno_except.o unxlngi6.pro/slo/pyuno_adapter.o
unxlngi6.pro/slo/pyuno_gc.o | xargs -n1 > ../../unxlngi6.pro/slb/pyuno.lib
rm -f ../../unxlngi6.pro/misc/pyuno.flt
cat pyuno.flt > ../../unxlngi6.pro/misc/pyuno.flt
------------------------------
Making Module-Definitionfile : ../../unxlngi6.pro/misc/pyuno.def
just a dummy for UNIX
cp -f
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/src/default_description.xml
../../unxlngi6.pro/misc/pyuno.xml
xml2cmp -func ../../unxlngi6.pro/misc/pyuno_description.cxx
../../unxlngi6.pro/misc/pyuno.xml
File ../../unxlngi6.pro/misc/pyuno_description.cxx with
component_getDescriptionFunc() is created now.
------------------------------
Making: ../../unxlngi6.pro/slo/pyuno_description.obj
g++ -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc -I../../inc
-I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/external
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/inc
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/inc
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/res
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/stl
-I/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/inc/Xp31
-I/opt/sun-jdk-1.4.2.12/include -I/opt/sun-jdk-1.4.2.12/include/linux
-I/opt/sun-jdk-1.4.2.12/include/native_threads/include -I/usr/include -I.
-I../../res -I. -Os -fno-strict-aliasing -Wuninitialized
-I/usr/include/python2.4 -pipe -O2 -mtune=pentium-m -fomit-frame-pointer
-mcpu=pentium-m -pipe -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden
-fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341
-DINTEL -DCVER=C341 -D_USE_NAMESPACE -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.1.1/include/g++-v4
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOC680=OOC680 -DSHAREDLIB -D_DLL_
-DMULTITHREAD -o ../../unxlngi6.pro/slo/pyuno_description.o
../../unxlngi6.pro/misc/pyuno_description.cxx
if ( -e ../../unxlngi6.pro/slo/pyuno_description.o) touch
../../unxlngi6.pro/slo/pyuno_description.obj
-----------------------------
SHL1FILTERFILE not set!
-----------------------------
dummy file to keep the dependencies for later use.
------------------------------
Making: ../../unxlngi6.pro/lib/libpyuno.so
g++ -Wl,-z,combreloc -Wl,-rpath,'$ORIGIN' -Wl,-Bdirect -Wl,-zdynsort -shared
-L../../unxlngi6.pro/lib -L../lib
-L/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
-L/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/lib
-L/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
-L/opt/sun-jdk-1.4.2.12/lib -L/opt/sun-jdk-1.4.2.12/jre/lib/i386
-L/opt/sun-jdk-1.4.2.12/jre/lib/i386/client
-L/opt/sun-jdk-1.4.2.12/jre/lib/i386/native_threads -L/usr/lib
-L/usr/lib/mozilla-firefox ../../unxlngi6.pro/slo/pyuno_version.o
../../unxlngi6.pro/slo/pyuno_description.o -o ../../unxlngi6.pro/lib/libpyuno.so
../../unxlngi6.pro/slo/pyuno_runtime.o ../../unxlngi6.pro/slo/pyuno.o
../../unxlngi6.pro/slo/pyuno_callable.o ../../unxlngi6.pro/slo/pyuno_module.o
../../unxlngi6.pro/slo/pyuno_type.o ../../unxlngi6.pro/slo/pyuno_util.o
../../unxlngi6.pro/slo/pyuno_except.o ../../unxlngi6.pro/slo/pyuno_adapter.o
../../unxlngi6.pro/slo/pyuno_gc.o -luno_cppu -luno_cppuhelpergcc3 -luno_sal
-lpython2.4 -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc
rm -f ../../unxlngi6.pro/lib/check_libpyuno.so
mv ../../unxlngi6.pro/lib/libpyuno.so ../../unxlngi6.pro/lib/check_libpyuno.so
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/bin/checkdll.sh
-L../../unxlngi6.pro/lib -L../lib
-L/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
-L/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/lib
-L/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
-L/opt/sun-jdk-1.4.2.12/lib -L/opt/sun-jdk-1.4.2.12/jre/lib/i386
-L/opt/sun-jdk-1.4.2.12/jre/lib/i386/client
-L/opt/sun-jdk-1.4.2.12/jre/lib/i386/native_threads -L/usr/lib
-L/usr/lib/mozilla-firefox ../../unxlngi6.pro/lib/check_libpyuno.so
Checking DLL ../../unxlngi6.pro/lib/check_libpyuno.so ...: ERROR:
/usr/lib/libpython2.4.so.1.0: undefined symbol: deflate
dmake: Error code 1, while making '../../unxlngi6.pro/lib/libpyuno.so'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making
/home/misc/porttmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/pyuno/source/module
make: *** [stamp/build] Error 1
This is gentoo linux.
Seems that the problem can be reproduced with gcc-4.1.x. See versions of my
build tools:
gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686
dev-lang/python: 2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
If you need any additional information, ask. Thank you.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]