Closed
Description
Description
while compiling on Windows i got this error:
"cl.exe" /D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x0601 /D COMPILE_DL_OPCACHE -Iext/bcmath/libbcmath/src /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /Iext/date/lib /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DHAVE_TIMELIB_CONFIG_H=1 /wd4244 /I "ext/hash/sha3/generic64lc" /DHAVE_KECCAKHASH_H=1 /DKeccakP200_excluded /DKeccakP400_excluded /DKeccakP800_excluded /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /I "ext/hash/murmur" /DHAVE_PMURHASH_H=1 /I "ext/hash/xxhash" /DHAVE_XXHASH_H=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/pcre/pcre2lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /D HAVE_CONFIG_H /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /I "ext/date/lib" /DHAVE_TIMELIB_CONFIG_H=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /nologo /I . /I main /I Zend /I TSRM /I ext /D _WINDOWS /D WINDOWS=1 /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /D _USE_MATH_DEFINES /FD /wd4996 /Qspectre /guard:cf /Zc:inline /Zc:__cplusplus /d2FuncCache1 /Zc:wchar_t /MP /LD /MD /Ox /D NDebug /D NDEBUG /GF /D ZEND_DEBUG=0 /I "E:\php-sdk-binary-tools\phpmaster\vs16\x64\deps\include" /D FD_SETSIZE=256 /FoE:\php-sdk-binary-tools\phpmaster\vs16\x64\php-src\x64\Release\main\ /FpE:\php-sdk-binary-tools\phpmaster\vs16\x64\php-src\x64\Release\main\ /FRE:\php-sdk-binary-tools\phpmaster\vs16\x64\php-src\x64\Release\main\ /FdE:\php-sdk-binary-tools\phpmaster\vs16\x64\php-src\x64\Release\main\ /D ZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /d2FuncCache1 /c main\SAPI.c main\fopen_wrappers.c main\getopt.c main\internal_functions.c main\main.c main\network.c main\output.c main\php_content_types.c main\php_ini.c main\php_ini_builder.c main\php_odbc_utils.c main\php_open_temporary_file.c main\php_scandir.c main\php_syslog.c main\php_ticks.c main\php_variables.c main\reentrancy.c main\rfc1867.c main\safe_bcmp.c main\snprintf.c main\spprintf.c main\strlcat.c main\strlcpy.c
SAPI.c
fopen_wrappers.c
getopt.c
internal_functions.c
main.c
network.c
main\network.c(121): error C2065: 'EAI_SYSTEM': undeclared identifier
main\network.c(121): error C2099: initializer is not a constant
main\network.c(121): warning C4047: 'initializing': 'int' differs in levels of indirection from 'char [13]'
output.c
php_content_types.c
php_ini.c
php_ini_builder.c
php_odbc_utils.c
php_open_temporary_file.c
php_scandir.c
php_syslog.c
php_ticks.c
php_variables.c
reentrancy.c
rfc1867.c
safe_bcmp.c
snprintf.c
Generating Code...
Compiling...
spprintf.c
strlcat.c
strlcpy.c
Generating Code...
NMAKE : fatal error U1077: 'E:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe' : return code '0x2'
Stop.
EAI_SYSTEM
is nowhere to found except that network.c file. without disable ipv6 option everything compiles
commands i enter to php-sdk-binary-tools
buildconf
configure --disable-ipv6
nmake