View Issue Details

IDProjectCategoryView StatusLast Update
0000730XdebugInstallationpublic2011-10-12 10:15
Reporterwaerloga Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformVirtualbox 32bit GuestOSWindowsOS VersionXP
Product Version2.2dev 
Summary0000730: Compling 2.2dev against php5.4snap fails.
Description

Attempting to compile the 2.2-dev version of XDebug with php-5.4-dev (201110052230 snapshot) fails with an error of 'zend_fetch_class: too few arguemtns for call' on file xdebug_handleR_dbgp.c(606).

Steps To Reproduce

Installed PHP 5.4 dev as per https://wiki.php.net/internals/windows/stepbystepbuild. Downloaded master branch of xdebug, ran phpize, configure --enable-xdebug, nmake.

I have additionally tried this under OS X and Linux and both succeed.

Additional Information

C:\xdebug>cd derickr-xdebug-00a00ea

C:\xdebug\derickr-xdebug-00a00ea>c:\php-sdk\php54dev\vc9\x86\php5.4-201110052230
\Release_TS\php-5.4.0beta2-dev-devel-VC9-x86\phpize.bat
Rebuilding configure.js
c:\php-sdk\php54dev\vc9\x86\php5.4-201110052230\Release_TS\php-5.4.0beta2-dev-de
vel-VC9-x86
module ...
Now run 'configure --help'

C:\xdebug\derickr-xdebug-00a00ea>configure --with-xdebug
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
Detected compiler MSVC9 (Visual C++ 2008)
Detected 32-bit compiler
Checking for link.exe ... C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
Checking for nmake.exe ... <in default path>
Checking for lib.exe ... <in default path>
Checking for bison.exe ... <in default path>
Checking for re2c.exe ... <in default path>
Detected re2c version 0.13.5
Checking for zip.exe ... <in default path>
Checking for lemon.exe ... <not found>
Checking for mc.exe ... C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin
Checking for mt.exe ... C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin

Build dir: Release_TS
PHP Core: php5ts.dll and php5ts.lib

Enabling extension C:\xdebug\derickr-xdebug-00a00ea [shared]

Creating build dirs...
Generating files...
Generating Makefile
Done.

Enabled extensions:

| Extension | Mode |

| xdebug | shared |


| | |

| Build type | Release |
| Thread Safety | Yes |
| Compiler | MSVC9 (Visual C++ 2008) |
| Architecture | x86 |

Type 'nmake' to build PHP

C:\xdebug\derickr-xdebug-00a00ea>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

usefulstuff.c
xdebug.c
xdebug_code_coverage.c
C:\xdebug\derickr-xdebug-00a00ea\xdebug_code_coverage.c(64) : warning C4090: '='
: different 'const' qualifiers
C:\xdebug\derickr-xdebug-00a00ea\xdebug_code_coverage.c(212) : warning C4090: '=
' : different 'const' qualifiers
C:\xdebug\derickr-xdebug-00a00ea\xdebug_code_coverage.c(519) : warning C4090: 'f
unction' : different 'const' qualifiers
C:\xdebug\derickr-xdebug-00a00ea\xdebug_code_coverage.c(547) : warning C4090: 'f
unction' : different 'const' qualifiers
xdebug_com.c
xdebug_compat.c
xdebug_handler_dbgp.c
C:\xdebug\derickr-xdebug-00a00ea\xdebug_handler_dbgp.c(606) : error C2198: 'zend
_fetch_class' : too few arguments for call
C:\xdebug\derickr-xdebug-00a00ea\xdebug_handler_dbgp.c(794) : warning C4090: '='
: different 'const' qualifiers
C:\xdebug\derickr-xdebug-00a00ea\xdebug_handler_dbgp.c(2013) : error C2198: 'zen
d_fetch_class' : too few arguments for call
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin
\cl.exe"' : return code '0x2'
Stop.

C:\xdebug\derickr-xdebug-00a00ea>

TagsNo tags attached.
Operating SystemWindows XP on Virtualbox
PHP Version5.4-dev

Activities

derick

2011-10-12 10:15

administrator   ~0001843

This should be fixed on github now. Cheers!

Issue History

Date Modified Username Field Change
2011-10-06 03:04 waerloga New Issue
2011-10-12 10:15 derick Note Added: 0001843
2011-10-12 10:15 derick Status new => closed
2011-10-12 10:15 derick Assigned To => derick
2011-10-12 10:15 derick Resolution open => fixed