php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62146 com_dotnet cannot be built shared
Submitted: 2012-05-24 22:18 UTC Modified: 2012-05-24 22:26 UTC
From: johannes@php.net Assigned: johannes (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.3Git-2012-05-24 (Git) OS: Windows
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
21 - 10 = ?
Subscribe to this entry?

 
 [2012-05-24 22:18 UTC] johannes@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.



Patches

com_dotnet_api.diff (last revision 2012-05-24 22:18 UTC by johannes)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-24 22:25 UTC] johannes@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:26 UTC] johannes@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: johannes
 [2012-05-24 22:26 UTC] johannes@php.net
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.


 [2012-05-30 06:17 UTC] stas@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bb963a5f501c7b12cdeaf9f92122aaa0e1209adc
Log: Fix bug #62146 	com_dotnet cannot be built shared, tested by Anatoliy
 [2014-10-07 23:25 UTC] stas@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=8fc9df3f67dc35bff019f538934322583fd5fefd
Log: Fix bug #62146 	com_dotnet cannot be built shared, tested by Anatoliy
 [2014-10-07 23:36 UTC] stas@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=8fc9df3f67dc35bff019f538934322583fd5fefd
Log: Fix bug #62146 	com_dotnet cannot be built shared, tested by Anatoliy
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 23:01:29 2024 UTC