commit: (fixed) Re: Windows build broken by piecetable changes


Subject: commit: (fixed) Re: Windows build broken by piecetable changes
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Wed May 23 2001 - 23:56:28 CDT


CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/text/ptbl/xp/pd_Style.cpp src/text/ptbl/xp/pp_Property.cpp
CVS: src/text/ptbl/xp/pp_Property.h
CVS: ----------------------------------------------------------------------
Fix link error on windows from my last commit.

On Thu, 24 May 2001, Andrew Dunbar wrote:

> After updating my source AbiWord now fails to link on Windows:
>
> $ make ABI_OPT_DEBUG=1
> Building with [LicensedTrademarks:Off Debug:On BiDi:Off Pspell:Off
> Scripting:Off].
> Linking
> /home/administrator/abiword/abi/src/wp/main/win/../../../../src/WIN32_1.1.8_i386_DBG/bin
> /AbiWord.exe....
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "class PP_Property const
> * __cdecl PP_lookupProp
> erty(char const *)" (?PP_lookupProperty@@YAPBVPP_Property@@PBD@Z)
> already defined in libAbiPTbl_
> s.lib(pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "char const * __cdecl
> PP_evalProperty(char const
> *,class PP_AttrProp const *,class PP_AttrProp const *,class PP_AttrProp
> const *,class PD_Docume
> nt *,bool)"
> (?PP_evalProperty@@YAPBDPBDPBVPP_AttrProp@@11PAVPD_Document@@_N@Z)
> already defined i
> n libAbiPTbl_s.lib(pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "class PP_PropertyType
> const * __cdecl PP_evalPr
> opertyType(char const *,class PP_AttrProp const *,class PP_AttrProp
> const *,class PP_AttrProp co
> nst *,enum tProperty_type,class PD_Document *,bool)"
> (?PP_evalPropertyType@@YAPBVPP_PropertyType
> @@PBDPBVPP_AttrProp@@11W4tProperty_type@@PAVPD_Document@@_N@Z) already
> defined in libAbiPTbl_s.l
> ib(pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "public: class
> PP_PropertyType const * __thiscal
> l PP_Property::getInitialType(enum tProperty_type)const "
> (?getInitialType@PP_Property@@QBEPBVPP
> _PropertyType@@W4tProperty_type@@@Z) already defined in
> libAbiPTbl_s.lib(pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "public: static class
> PP_PropertyType * __cdecl
> PP_PropertyType::createPropertyType(enum tProperty_type,char const *)"
> (?createPropertyType@PP_P
> ropertyType@@SAPAV1@W4tProperty_type@@PBD@Z) already defined in
> libAbiPTbl_s.lib(pp_Property.obj
> )
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "public: __thiscall
> PP_PropertyTypeColor::PP_Pro
> pertyTypeColor(char const *)" (??0PP_PropertyTypeColor@@QAE@PBD@Z)
> already defined in libAbiPTbl
> _s.lib(pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "public: __thiscall
> PP_PropertyTypeBool::PP_Prop
> ertyTypeBool(char const *)" (??0PP_PropertyTypeBool@@QAE@PBD@Z) already
> defined in libAbiPTbl_s.
> lib(pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "public: __thiscall
> PP_PropertyTypeInt::PP_Prope
> rtyTypeInt(char const *)" (??0PP_PropertyTypeInt@@QAE@PBD@Z) already
> defined in libAbiPTbl_s.lib
> (pp_Property.obj)
> libAbiPTbl_s.lib(pd_Style.obj) : error LNK2005: "public: __thiscall
> PP_PropertyTypeSize::PP_Prop
> ertyTypeSize(char const *)" (??0PP_PropertyTypeSize@@QAE@PBD@Z) already
> defined in libAbiPTbl_s.
> lib(pp_Property.obj)
> MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib "msvcrt.lib"
> conflicts with use of other
> libs; use /NODEFAULTLIB:library
> Z:\ProgramFiles\CygWin\home\administrator\abiword\abi\src\wp\main\win\..\..\..\..\src\WIN32_1.1.
> 8_i386_DBG\bin\AbiWord.exe : fatal error LNK1169: one or more multiply
> defined symbols found
> make: ***
> [/home/administrator/abiword/abi/src/wp/main/win/../../../../src/WIN32_1.1.8_i386_DBG/
> bin/AbiWord.exe] Error 2
>
> Andrew.
>
> --
> http://linguaphile.sourceforge.net
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
>



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:07 CDT