Apache OpenOffice (AOO) Bugzilla – Issue 13678
OOo-1.0.3 compile breaks in cppuhelper
Last modified: 2013-02-24 21:08:36 UTC
Let's hope I'll find help from here:) Hi, I get this error while compiling OOo-1.0.3 on windows. I'm using WinXP, VC++ 6.0 SP5, JDK 1.3.1_07, cygwin and platform SDK as they came from internet today. Making:..\wntmsci7.pro\slo\cppuhelper3MSC_description.obj c:\PROGRA~1\MICROS~2\VC98\bin\cl.exe -Zm200 -c -nologo -W3 -Gs -Gy -I. -I..\wnt msci7.pro\inc -I..\inc -I..\inc -I..\WIN\inc -I..\wntmsci7.pro\inc -I. -Ic:\oo\o o103\solver\641\wntmsci7.pro\inc\stl -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc\e xternal -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc -Ic:\oo\oo103\solenv\wntmsci7\ inc -Ic:\oo\oo103\solenv\inc -Ic:\oo\oo103\res -Ic:\oo\oo103\solver\641\wntmsci7 .pro\inc\stl -Ic:\jdk131\include\win32 -Ic:\jdk131\include -Ic:\progra~1\micros~ 2\vc98\include -I. -I..\res -I. -Ob1 -Ox -Gd -GX -DWNT -DWNT -DNT351 -DMS C -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1 -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT -DCPPU_ENV=msci -DSUPD=641 -DBUILD=8584 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641 -DSHAREDLIB -D_DLL_ -DWI N32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD -Fo..\wntmsci7.pro\slo\cpp uhelper3MSC_description.obj ..\wntmsci7.pro\misc\cppuhelper3MSC_description.cxx c:\PROGRA~1\MICROS~2\VC98\bin\cl.exe @c:\DOCUME~1\pezz\LOCALS~1\Temp\mka25 cppuhelper3MSC_description.cxx ------------------------------ Making:..\wntmsci7.pro\bin\cppuhelper3MSC.dll 0 files deleted c:\PROGRA~1\MICROS~2\VC98\bin\cl.exe -c -Fo..\wntmsci7.pro\slo\cppuhelper3MSC_ve rsion.obj -DWNT -I..\wntmsci7.pro\inc c:\oo\oo103\solenv\src\version.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. version.c rc -DWIN32 -I -I. -I..\wntmsci7.pro\inc -I..\inc -I..\inc -I..\WIN\inc -I..\wntm sci7.pro\inc -I. -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc\stl -Ic:\oo\oo103\sol ver\641\wntmsci7.pro\inc\external -Ic:\oo\oo103\solver\641\wntmsci7.pro\inc -Ic: \oo\oo103\solenv\wntmsci7\inc -Ic:\oo\oo103\solenv\inc -Ic:\oo\oo103\res -Ic:\oo \oo103\solver\641\wntmsci7.pro\inc\stl -Ic:\jdk131\include\win32 -Ic:\jdk131\inc lude -Ic:\progra~1\micros~2\vc98\include -I. -I..\res -I. ..\wntmsci7.pro\m isc\cppuhelper3MSC_def.rc copy /b ..\wntmsci7.pro\misc\cppuhelper3MSC_def.res ..\wntmsci7.pro\misc\cppuhel per3MSC.res C:\oo\oo103\cppuhelper\wntmsci7.pro\misc\cppuhelper3MSC_def.RES => C:\oo\oo103\c ppuhelper\wntmsci7.pro\misc\cppuhelper3MSC.res 1 file copied link /COMMENT:"cppuhelper_641______" /MACHINE:IX86 @c:\DOCUME~1\pezz\LOCALS~1\T emp\mkch6 Microsoft (R) Incremental Linker Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. /MAP /NODEFAULTLIB /OPT:NOREF /RELEASE /SUBSYSTEM:CONSOLE /DLL /BASE:0x1100000 / DEBUG /PDB:NONE -out:..\wntmsci7.pro\bin\_cppuhelper3MSC.dll -map:..\wntmsci7.pr o\misc\_cppuhelper3MSC.map -def:..\wntmsci7.pro\misc\cppuhelper3MSC.def -implib: ..\wntmsci7.pro\lib\icppuhelper.lib ..\wntmsci7.pro\slo\cppuhelper3MSC_version.o bj ..\wntmsci7.pro\slo\cppuhelper3MSC_description.obj ..\wntmsci7.pro\slb\cppuhe lper.lib icppu.lib isal.lib msvcrt.lib kernel32.lib user32.lib oldnames.lib stlp ort_vc6.lib ..\wntmsci7.pro\misc\cppuhelper3MSC.res ..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4017: DATA statement not su pported for the target platform; ignored ..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4102: export of deleting de structor "public: virtual void * __thiscall cppu::OComponentHelper::`scalar dele ting destructor'(unsigned int)"; image may not run correctly ..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4102: export of deleting de structor "protected: virtual void * __thiscall cppu::OWeakAggObject::`scalar del eting destructor'(unsigned int)"; image may not run correctly ..\wntmsci7.pro\misc\cppuhelper3MSC.def : warning LNK4102: export of deleting de structor "protected: virtual void * __thiscall cppu::OWeakObject::`scalar deleti ng destructor'(unsigned int)"; image may not run correctly ..\wntmsci7.pro\mis
UNO, not API
I don't see any problem here: the linker just warns about scalar dtors which is known, but ok. Though you ought to have a library in your output directory. Please be more investigative before submitting bugs.
Im not the reporter, but he already send this problem to dev@ and there he didn't cut off the main part of the error message. See: <http://www.openoffice.org/servlets/ReadMsg?msgId=655974&listName=dev>
Give him a second chance. ;-)
Oops, my bad. Sorry:| I did select all and paste into issuezilla but looks like most useful part got lost somewhere on the way. Another evidence of Murphy's laws working:)
Peeter, make sure that you are at least working on the following revisions: cppuhelper/inc/cppuhelper/weak.hxx rev 1.7 cppuhelper/source/weak.cxx rev 1.7 @Martin: why are these files in UDK303, but not in OOo 1.03?
Hm. I use OOo source from official OOo_1.0.3_source.tar.bz2 package and it contains weak.hxx version 1.6 and weak.cxx version 1.5. cvs update -r OOO_STABLE_1 -dAP doesn't update anything.
@Peter: I know, but it ought to be (at least) the mentioned revisions. That's what I asked Martin for.
@Martin: as agreed to you.
Version 1.7 of both files fixed my problem so I'm pleased but I think other people on windows will still hit same problem. What I can't believe is that I'm the first one in two weeks to try to compile 1.0.3 on windows..maybe just with a voice loud enough;) Anyway, thanks a lot:)
Well, I routinely build OOo, also OOO_STABLE_1 and I never run into this problem. But I used MSVC 6 SP3, maybe that's the difference.
set target.
Hello, I found that this Issue is targetted to 1.0.4. Is this already solved in 1.1 ? if not Can you please retargetting this issue since 1.0.4 is not planned. maybe to 1.1.1 ? Thanks
If 1.0.x branch is dead, then I can close this as 1.1.0 compiled fine for me.
1.0.x branch is dead.