Edit report at https://bugs.php.net/bug.php?id=62146&edit=1
ID: 62146 Updated by: johan...@php.net Reported by: johan...@php.net Summary: com_dotnet cannot be built shared -Status: Open +Status: Closed Type: Bug Package: Compile Failure Operating System: Windows PHP Version: 5.3Git-2012-05-24 (Git) -Assigned To: +Assigned To: johannes Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-05-24 22:25:54] johan...@php.net Automatic comment on behalf of johannes Revision: http://git.php.net/?p=php-src.git;a=commit;h=8fc9df3f67dc35bff019f538934322583fd5fefd Log: Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy ------------------------------------------------------------------------ [2012-05-24 22:18:08] johan...@php.net Description: ------------ C:\php-sdk\php54\vc9\x86\php-src>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Recreating build dirs com_com.c com_dotnet.c com_extension.c com_handlers.c com_iterator.c com_misc.c c:\php-sdk\php54\vc9\x86\php-src\ext\com_dotnet\com_misc.c(47) : error C2491: 'php_com_wrap_dispatch' : definition of dllimport function not allowed c:\php-sdk\php54\vc9\x86\php-src\ext\com_dotnet\com_misc.c(70) : error C2491: 'php_com_wrap_variant' : definition of dllimport function not allowed c:\php-sdk\php54\vc9\x86\php-src\ext\com_dotnet\com_misc.c(96) : error C2491: 'php_com_safearray_get_elem' : definition of dllimport function not allowed NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.exe"' : return code '0x2' Stop. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62146&edit=1