Hi all,

I use Cygwin with MSVC 2008 Express SP1. I have build CWS odff06 normally and worked with it without problems. Now I have got a new PC :), time and space is no longer a problem. So I want to do a build with debug information, first time.

I added
 --enable-debug \
 --enable-dbgutil \
to configure and building fails. I tried adding only
 --enable-debug \
and it fails too.
I also tried using
  build debug=true
and got the same errors.

During compilation I got some error windows "Assertion Failed" in cppuhelper/source/source/shlib.cxx, Line252, which I answered with "No".

The builds fail with message
2 module(s):
        sw
        sc
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/cygdrive/c/odff06debug/sw/source/core/doc
ERROR: error 65280 occurred while making /cygdrive/c/odff06debug/sc/util

I have searched in the building log for errors. I cite the lines below, which I think belong to the problem. Please say which other information you need to help me.

I hope you can give me some hints.

kind regards
Regina

(1)
Compiling: sw/source/core/access/accpara.cxx
c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe  -Zm500 -Zc:forScope,wchar_t- -GR
-c -nologo -Gs  -Gy -Ob1 -Zi -Fd../../../wntmsci12.pro/misc/accpara.pdb
-Od -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I.
-I../../../wntmsci12.pro/inc/access -I../inc -I../../../inc/pch
-I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I.
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc/external
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc
-Ic:/odff06debug/solenv/wntmsci12/inc -Ic:/odff06debug/solenv/inc
-Ic:/odff06debug/res -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl
-Ic:/PROGRA~1/Java/JDK16~1.0_1/include/win32
-Ic:/PROGRA~1/Java/JDK16~1.0_1/include
-Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include
-Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MIAF9D~2/include
-Ic:/PROGRA~1/MIAF9D~2/include
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc/offuh -I. -I../../../res
-I. -Z7 -Yd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251
-wd4275     -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611
-wd4625 -wd4626     -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800
-wd4820 -wd4503 -wd4619     -wd4365 -wd4668 -wd4738 -wd4826 -wd4350
-wd4505 -wd4692 -wd4189 -wd4005   -DWNT -DWNT -DNT351 -DMSC -DM1500
-DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT
-DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=300 -DDEBUG
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA
  -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_
-DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL  -EHa -DEXCEPTIONS_ON
-Fo../../../wntmsci12.pro/slo/accpara.obj
c:/odff06debug/sw/source/core/access/accpara.cxx
cl : Command line warning D9025 : overriding '/Zi' with '/Z7'
cl : Command line warning D9035 : option 'Yd' has been deprecated and
will be removed in a future release
accpara.cxx
c:/odff06debug/solver/300/wntmsci12.pro/bin/makedepend
@C:/cygwin/tmp/mktK1Br8 > ../../../wntmsci12.pro/misc/s_crbm.dpcc
c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(998) : error C2375:
'dbg_out' : redefinition; different linkage
        c:\odff06debug\sw\inc\dbgoutsw.hxx(121) : see declaration of
'dbg_out'
c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(1024) : error C2375:
'dbg_out' : redefinition; different linkage
        c:\odff06debug\sw\inc\dbgoutsw.hxx(122) : see declaration of
'dbg_out'
dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/dbgoutsw.obj'


(2)
Compiling: sw/source/core/doc/dbgoutsw.cxx
c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe  -Zm500 -Zc:forScope,wchar_t- -GR
-c -nologo -Gs  -Gy -Ob1 -Zi -Fd../../../wntmsci12.pro/misc/dbgoutsw.pdb
-Od -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd  -I.
-I../../../wntmsci12.pro/inc/doc -I../inc -I../../../inc/pch
-I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I.
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc/external
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc
-Ic:/odff06debug/solenv/wntmsci12/inc -Ic:/odff06debug/solenv/inc
-Ic:/odff06debug/res -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl
-Ic:/PROGRA~1/Java/JDK16~1.0_1/include/win32
-Ic:/PROGRA~1/Java/JDK16~1.0_1/include
-Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include
-Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MIAF9D~2/include
-Ic:/PROGRA~1/MIAF9D~2/include
-Ic:/odff06debug/solver/300/wntmsci12.pro/inc/offuh -I. -I../../../res
-I. -Z7 -Yd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251
-wd4275     -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611
-wd4625 -wd4626     -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800
-wd4820 -wd4503 -wd4619     -wd4365 -wd4668 -wd4738 -wd4826 -wd4350
-wd4505 -wd4692 -wd4189 -wd4005   -DWNT -DWNT -DNT351 -DMSC -DM1500
-DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT
-DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=300 -DDEBUG
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA
  -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_
-DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL  -EHa -DEXCEPTIONS_ON
-Fo../../../wntmsci12.pro/slo/dbgoutsw.obj
c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx
cl : Command line warning D9025 : overriding '/Zi' with '/Z7'
cl : Command line warning D9035 : option 'Yd' has been deprecated and
will be removed in a future release
dbgoutsw.cxx
c:/odff06debug/solver/300/wntmsci12.pro/bin/makedepend
@C:/cygwin/tmp/mkosWuQI > ../../../wntmsci12.pro/misc/s_drviewsa.dpcc
c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(998) : error C2375:
'dbg_out' : redefinition; different linkage
        c:\odff06debug\sw\inc\dbgoutsw.hxx(121) : see declaration of
'dbg_out'
c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(1024) : error C2375:
'dbg_out' : redefinition; different linkage
        c:\odff06debug\sw\inc\dbgoutsw.hxx(122) : see declaration of
'dbg_out'
dmake:  Error code 2, while making '../../../wntmsci12.pro/slo/dbgoutsw.obj'

(3)
/MAP /OPT:NOREF -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO -DEBUG /SUBSYSTEM:CONSOLE /DLL -out:../wntmsci12.pro/bin/scuimi.dll -map:../wntmsci12.pro/misc/scuimi.map -def:../wntmsci12.pro/misc/scuimi.def -implib:../wntmsci12.pro/lib/scuiimp.lib ../wntmsci12.pro/slo/scui_dflt_version.obj ../wntmsci12.pro/slb/scui.lib sci.lib isvx.lib sfx.lib svtool.lib ivcl.lib isvl.lib sot.lib iutl.lib itools.lib ii18nisolang.lib icomphelp.lib icppu.lib isal.lib msvcrt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib stlport_vc71.lib ../wntmsci12.pro/misc/scuimi.res Creating library ../wntmsci12.pro/lib/scuiimp.lib and object ../wntmsci12.pro/lib/scuiimp.exp sci.lib(scmi.dll) : error LNK2005: "public: unsigned short __thiscall ScCollection::GetCount(void)const " (?getco...@sccollection@@QBEGXZ) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: struct ScQueryEntry & __thiscall ScQueryParam::GetEntry(unsigned int)const " (?geten...@scqueryparam@@QBEAAUScQueryEntry@@i...@z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: class TypedStrData * __thiscall TypedScStrCollection::operator[](unsigned short)const " (??ATypedScStrCollection@@QBEPAVTypedStrData@@g...@z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: void __thiscall TypedScStrCollection::SetCaseSensitive(unsigned char)" (?setcasesensit...@typedscstrcollection@@qa...@z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: __thiscall TypedScStrCollection::TypedScStrCollection(unsigned short,unsigned short,unsigned char)" (??0TypedScStrCollection@@q...@gge@Z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: virtual __thiscall TypedScStrCollection::~TypedScStrCollection(void)" (??1TypedScStrCollection@@u...@xz) already defined in scui.lib(pvfundlg.obj) ../wntmsci12.pro/bin/scuimi.dll : fatal error LNK1169: one or more multiply defined symbols found
dmake:  Error code 2, while making '../wntmsci12.pro/bin/scuimi.dll'
Running processes: 1
/cygdrive/c/odff06debug/sc/util

(4)
/MAP /OPT:NOREF -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO -DEBUG /SUBSYSTEM:CONSOLE /DLL -out:../wntmsci12.pro/bin/scuimi.dll -map:../wntmsci12.pro/misc/scuimi.map -def:../wntmsci12.pro/misc/scuimi.def -implib:../wntmsci12.pro/lib/scuiimp.lib ../wntmsci12.pro/slo/scui_dflt_version.obj ../wntmsci12.pro/slb/scui.lib sci.lib isvx.lib sfx.lib svtool.lib ivcl.lib isvl.lib sot.lib iutl.lib itools.lib ii18nisolang.lib icomphelp.lib icppu.lib isal.lib msvcrt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib stlport_vc71.lib ../wntmsci12.pro/misc/scuimi.res Creating library ../wntmsci12.pro/lib/scuiimp.lib and object ../wntmsci12.pro/lib/scuiimp.exp sci.lib(scmi.dll) : error LNK2005: "public: unsigned short __thiscall ScCollection::GetCount(void)const " (?getco...@sccollection@@QBEGXZ) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: struct ScQueryEntry & __thiscall ScQueryParam::GetEntry(unsigned int)const " (?geten...@scqueryparam@@QBEAAUScQueryEntry@@i...@z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: class TypedStrData * __thiscall TypedScStrCollection::operator[](unsigned short)const " (??ATypedScStrCollection@@QBEPAVTypedStrData@@g...@z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: void __thiscall TypedScStrCollection::SetCaseSensitive(unsigned char)" (?setcasesensit...@typedscstrcollection@@qa...@z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: __thiscall TypedScStrCollection::TypedScStrCollection(unsigned short,unsigned short,unsigned char)" (??0TypedScStrCollection@@q...@gge@Z) already defined in scui.lib(pvfundlg.obj) sci.lib(scmi.dll) : error LNK2005: "public: virtual __thiscall TypedScStrCollection::~TypedScStrCollection(void)" (??1TypedScStrCollection@@u...@xz) already defined in scui.lib(pvfundlg.obj) ../wntmsci12.pro/bin/scuimi.dll : fatal error LNK1169: one or more multiply defined symbols found
dmake:  Error code 2, while making '../wntmsci12.pro/bin/scuimi.dll'
Running processes: 0






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to