build error

soyol aron aronsoyol.le at gmail.com
Tue Oct 28 04:38:03 PDT 2014


libreoffice at lists.freedesktop.org

Hi list,
Following error is occurred on my system(win7 ,64bit, cygwin32bit)
the source code is libreoffice-4.3.2.2.tar.xz,
my configure is
./autogen.sh \
--with-visual-studio=2013 \
--with-ant-home="/cygdrive/c/ant" \
--without-junit \
--disable-directx \
--disable-atl \
--disable-activex \
--with-external-tar=/cygdrive/d/lo/lo-external
I installed both vs2010 and vs2013,(but this error were occurred when I
have not installed vs2010)

How do I resolve it?
Regards


[ C   ] UnpackedTarball/expat/lib/xmlparse.c
[ C   ] UnpackedTarball/expat/lib/xmlrole.c
[ C   ] UnpackedTarball/expat/lib/xmltok.c
cl : Command line warning D9025 : overriding '/W4' with '/w'
cl : Command line warning D9025 : overriding '/W4' with '/w'
cl : Command line warning D9025 : overriding '/W4' with '/w'
Microsoft (R) Build Engine version 4.0.30319.18408
[Microsoft .NET Framework, version 4.0.30319.18444]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2014/10/28 20:23:38.
Project
"D:\lo\lo-core\workdir\UnpackedTarball\lcms2\Projects\VC2010\lcms2_DLL\lcms2_DLL.vcxproj"
on node 1 (default targets).
InitializeBuildStatus:
  Touching "Release\lcms2_DLL.unsuccessfulbuild".
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c
/I../../../include /Zi /nologo /W4 /WX- /MP /Ox /Ob1 /Oi /Ot /Oy /GT /GL /D
WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D CMS_DLL_BUILD /D
_CRT_SECURE_NO_WARNINGS /D _WINDLL /D _UNICODE /D UNICODE /GF /Gm- /EHsc
/MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Release\\"
/Fd"Release\vc100.pdb" /Gd /TC /analyze- /errorReport:queue
..\..\..\src\cmsnamed.c ..\..\..\src\cmsvirt.c
  cmsnamed.c
  cmsvirt.c
ResourceCompile:
  All outputs are up-to-date.
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe
/ERRORREPORT:QUEUE /OUT:"..\..\..\bin\lcms2.dll" /INCREMENTAL:NO /NOLOGO
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
/DEF:"..\..\..\src\lcms2.def" /MANIFEST
/ManifestFile:"Release\lcms2.dll.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG
/PDB:"D:\lo\lo-core\workdir\UnpackedTarball\lcms2\bin\lcms2.pdb"
/SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"..\..\..\bin\lcms2.lib" /MACHINE:X86 /DLL Release\lcms2.res
  Release\cmscam02.obj
  Release\cmscgats.obj
  Release\cmscnvrt.obj
  Release\cmserr.obj
  Release\cmsgamma.obj
  Release\cmsgmt.obj
  Release\cmshalf.obj
  Release\cmsintrp.obj
  Release\cmsio0.obj
  Release\cmsio1.obj
  Release\cmslut.obj
  Release\cmsmd5.obj
  Release\cmsmtrx.obj
  Release\cmsnamed.obj
  Release\cmsopt.obj
  Release\cmspack.obj
  Release\cmspcs.obj
  Release\cmsplugin.obj
  Release\cmsps2.obj
  Release\cmssamp.obj
  Release\cmssm.obj
  Release\cmstypes.obj
  Release\cmsvirt.obj
  Release\cmswtpnt.obj
  Release\cmsxform.obj
     Creating library ..\..\..\bin\lcms2.lib and object
..\..\..\bin\lcms2.exp
  Generating code
  Finished generating code
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
or corrupt
[D:\lo\lo-core\workdir\UnpackedTarball\lcms2\Projects\VC2010\lcms2_DLL\lcms2_DLL.vcxproj]
Done Building Project
"D:\lo\lo-core\workdir\UnpackedTarball\lcms2\Projects\VC2010\lcms2_DLL\lcms2_DLL.vcxproj"
(default targets) -- FAILED.

Build FAILED.

"D:\lo\lo-core\workdir\UnpackedTarball\lcms2\Projects\VC2010\lcms2_DLL\lcms2_DLL.vcxproj"
(default target) (1) ->
(Link target) ->
  LINK : fatal error LNK1123: failure during conversion to COFF: file
invalid or corrupt
[D:\lo\lo-core\workdir\UnpackedTarball\lcms2\Projects\VC2010\lcms2_DLL\lcms2_DLL.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:10.00
make[1]: *** [D:/lo/lo-core/workdir/ExternalProject/lcms2/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2

-- 
Aron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141028/05dc6e16/attachment.html>


More information about the LibreOffice mailing list