Apache OpenOffice (AOO) Bugzilla – Issue 88568
build fails in python module
Last modified: 2008-04-22 15:55:43 UTC
When building DEV300_m10 (this version doesn't exist yet in IZ), the build fails in the python module. I'm using VS2005 Professional edition. Here is the output of where it fails. Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. cd "." cd "." if not exist ".\x86-temp-release\_socket/" mkdir ".\x86-temp-release\_socket" cl.exe /nologo /MD /W3 /EHa /Zc:wchar_t- /D _CRT_SECURE_NO_DEPRECATE /Zi /O2 /I "..\Include" /I "..\PC" /D "NDEB UG" /D "WIN32" /D "_WINDOWS" /Fp".\x86-temp-release\_socket\_socket.pch" /Fo".\x86-temp-release\_socket\\" /Fd".\x86-tem p-release\_socket\\" /FD /c ..\Modules\socketmodule.c socketmodule.c link.exe @c:\DOCUME~1\Kohei\LOCALS~1\Temp\nm1D4.tmp Creating library .\.\_socket.lib and object .\.\_socket.exp socketmodule.obj : error LNK2019: unresolved external symbol __imp__freeaddrinfo@4 referenced in function _setipaddr socketmodule.obj : error LNK2019: unresolved external symbol __imp__getaddrinfo@16 referenced in function _setipaddr socketmodule.obj : error LNK2019: unresolved external symbol __imp__getnameinfo@28 referenced in function _makeipaddr .\.\_socket.pyd : fatal error LNK1120: 3 unresolved externals NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~4\VC\bin\link.exe' : return code '0x460' Stop. dmake: Error code 2, while making './wntmsci11.pro/misc/build/so_built_so_python' ERROR: Error 65280 occurred while making /cygdrive/e/DEV300_m10/python
Created attachment 53100 [details] full build log of python module
These are the configure options I used: ./configure --with-win32 \ --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC" \ --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727" \ --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/V6.1" \ --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/V6.1" \ --disable-build-mozilla --with-use-shell=bash \ --disable-atl \ --with-nsis-path="/cygdrive/c/Program Files/NSIS" \ --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.5.0_14" \ --with-ant-home="/cygdrive/c/apache-ant-1.7.0" \ --disable-activex \ --with-lang="en-US"
This, and many other build problems on Windows I just started getting all of a sudden prevents me from providing a QA install set for koheiformula01 CWS. It's very frustrating that my CWS be delayed because of build issues in areas outside of where I modified. I didn't have any major issues up until DEV300_m2. Then I started having all sorts of issues starting with DEV300_m5. Please help.
Hi Kohei, configure isn't perfect for .Net 2008 yet, use /cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1 (lower case v6.1). I'm not sure if the --disable-atl switch has been implemented yet. It helps if you have a look into the winenv.set.sh, the settings WINDOWS_VISTA_PSDK and DISABLE_ATL settings have to be set 'TRUE'. HTH Oliver
Hi Oliver, Lower-casing the v6.1 helped me get past the python module. It's still building so no guarantee yet for the final install set, but at least this problem is now solved. Thanks a lot.
closing it.