Bug #62146 [NEW]: com_dotnet cannot be built shared
| From: | johannes@php.net | Date: | Thu, 24 May 2012 22:18:09 +0000 |
| Subject: | Bug #62146 [NEW]: com_dotnet cannot be built shared | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-170787@lists.php.net to get a copy of this message | ||
From: johannes
Operating system: Windows
PHP version: 5.3Git-2012-05-24 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:com_dotnet cannot be built shared
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 bug report at https://bugs.php.net/bug.php?id=62146&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62146&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62146&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62146&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62146&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62146&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62146&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62146&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62146&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62146&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62146&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62146&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62146&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62146&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62146&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62146&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62146&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62146&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62146&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62146&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62146&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62146&r=mysqlcfg