Re: Build libreoffice error for xml2 on windows7.
On 19/05/13 17:45, leo2013 wrote: Win32 build configuration - Compiler: msvc C-Runtime option: /MD that is the right runtime flag cl.exe /nologo /D WIN32 /D _WINDOWS /D _MBCS /W1 /MD /I.. /I..\inc used here too link.exe /nologo /VERSION:2.7 /LIBPATH:bin.msvc /LIBPATH:.\lib /DLL /IM PLIB:bin.msvc\libxml2.lib /OUT:bin.msvc\libxml2.dll int.msvc\c14n.obj xmlreader.obj : error LNK2001: ??? __imp__vsnprintf nanohttp.obj : error LNK2019: ??? __imp__strcpy_s???÷ _Wspia ... but can't find the runtime functions when linking? i think this should work via the LIB=$(ILIB) in the ExternalProject_xml2.mk, the MSVC link.exe should look in the paths in the LIB variable for the msvcrt.lib... can you check in config_host.mk your ILIB variable, it should contain some path where the msvcrt.lib is located. if the right path is indeed there you'd need to investigate in libxml's makefile why it doesn't work. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Build libreoffice error for xml2 on windows7.
: ??? ___security_cookie xmlschemas.obj : error LNK2001: ??? ___security_cookie xmlschemastypes.obj : error LNK2001: ??? ___security_cookie xpath.obj : error LNK2001: ??? ___security_cookie valid.obj : error LNK2001: ??? ___security_cookie xlink.obj : error LNK2001: ??? ___security_cookie xmlIO.obj : error LNK2001: ??? ___security_cookie xmlregexp.obj : error LNK2019: ??? ___security_cookie???÷ _x mlFACompareAtomTypes ?б? SAX2.obj : error LNK2001: ??? ___security_cookie schematron.obj : error LNK2001: ??? ___security_cookie tree.obj : error LNK2001: ??? ___security_cookie uri.obj : error LNK2001: ??? ___security_cookie nanohttp.obj : error LNK2001: ??? ___security_cookie parser.obj : error LNK2001: ??? ___security_cookie parserInternals.obj : error LNK2001: ??? ___security_cookie relaxng.obj : error LNK2001: ??? ___security_cookie error.obj : error LNK2001: ??? ___security_cookie HTMLparser.obj : error LNK2001: ??? ___security_cookie HTMLtree.obj : error LNK2001: ??? ___security_cookie nanoftp.obj : error LNK2001: ??? ___security_cookie catalog.obj : error LNK2001: ??? ___security_cookie debugXML.obj : error LNK2001: ??? ___security_cookie encoding.obj : error LNK2001: ??? ___security_cookie entities.obj : error LNK2001: ??? ___security_cookie schematron.obj : error LNK2001: ??? __impiob_func tree.obj : error LNK2001: ??? __impiob_func xmlIO.obj : error LNK2001: ??? __impiob_func xmlregexp.obj : error LNK2001: ??? __impiob_func debugXML.obj : error LNK2019: ??? __impiob_func???÷ _xml CtxtDumpInitCtxt ?б? error.obj : error LNK2001: ??? __impiob_func parserInternals.obj : error LNK2001: ??? __impiob_func relaxng.obj : error LNK2001: ??? __impiob_func error.obj : error LNK2019: ??? __imp__vsnprintf???÷ ___xmlRa iseError ?б? xmlreader.obj : error LNK2001: ??? __imp__vsnprintf xmlwriter.obj : error LNK2001: ??? __imp__vsnprintf xmlstring.obj : error LNK2001: ??? __imp__vsnprintf nanohttp.obj : error LNK2019: ??? __imp__strcpy_s???÷ _Wspia piLegacyGetNameInfo@28 ?б? nanohttp.obj : error LNK2019: ??? __imp__strcat_s???÷ _Wspia piLoad@4 ?б? nanohttp.obj : error LNK2019: ??? __imp__strncpy_s???÷ _Wspi apiLookupNode@24 ?б? nanohttp.obj : error LNK2019: ??? __imp__sprintf_s???÷ _Wspi apiLegacyGetNameInfo@28 ?б? xmlIO.obj : error LNK2019: ??? __imp___wstat64i32???÷ _xmlWr apStatUtf8 ?б? xpath.obj : error LNK2019: ??? __libm_sse2_log10_precise???÷ _xmlXPathFormatNumber ?б? xpath.obj : error LNK2019: ??? __libm_sse2_pow_precise???÷ _ xmlXPathCompNumber ?б? bin.msvc\libxml2.dll : fatal error LNK1120: 13 ? NMAKE : fatal error U1077: ??C:\PROGRA~2\MICROS~1.0\VC\bin\link.exe??: ???0 x460?? Stop. make[1]: *** [E:/core/workdir/wntmsci14.pro/ExternalProject/xml2/build ] Error 1 make[1]: *** Waiting for unfinished jobs make: *** [build] Error 2 It looks lacking of some libs during linking and some another config arguments ? -- View this message in context: http://nabble.documentfoundation.org/Build-libreoffice-error-for-xml2-on-windows7-tp4056879.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice