Wez Furlong wrote:
> wez           Fri Dec  5 19:00:32 2003 EDT
>
>   Modified files:
>     /php-src/ext/ftp  ftp.c
>     /php-src/ext/sockets      sockets.c
>     /php-src/ext/standard     info.c
>     /php-src/main     network.c php_network.h
>     /php-src/win32/build      config.w32 confutils.js
>   Log:
>   Detect and enable IPv6 support under win32.
>   The ws2tcpip.h header links to IPv6 functions dynamically
>   and the generated binary will run on win98 and later.

  This does not work on my system:

E:\home\php\php5>cscript /nologo configure.js --enable-debug --with-mysql
--with
-xsl
Saving configure options to config.nice.bat
Checking for cl.exe ...  <in default path>
Checking for link.exe ...  <in default path>
Checking for nmake.exe ...  <in default path>
Checking for make.exe ...  <in default path>
Checking for arpa\nameser.h ...  ..\php_build\include

Build dir: Debug_TS
PHP Core:  php5ts_debug.dll and php5ts_debug.lib

Checking for ws2tcpip.h ...  <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Enabling extension ext\bcmath
Enabling extension ext\calendar
Enabling extension ext\com_dotnet
Checking for mscoree.h ...  ..\php_build\include
Enabling extension ext\ctype
Enabling extension ext\dom
Enabling extension ext\ftp
Checking for iconv.h ...  ..\php_build\include
Enabling extension ext\iconv
Checking for libxml2_a.lib ...  ..\php_build\lib
Checking for iconv_a.lib ...  ..\php_build\lib
Checking for libxml/parser.h ...  ..\php_build\include
Enabling extension ext\libxml
Checking for libmysql.lib ...  ..\php_build\lib
Checking for mysql.h ...  ..\php_build\include\mysql
Enabling extension ext\mysql
Enabling extension ext\odbc
Enabling extension ext\pcre
Enabling extension ext\session
Enabling extension ext\simplexml
Enabling extension ext\sqlite
Enabling extension ext\standard
Enabling extension ext\tokenizer
Enabling extension ext\wddx
Enabling extension ext\xml
Checking for libxslt_a.lib ...  ..\php_build\lib
Checking for libxslt\xslt.h ...  ..\php_build\include
Enabling extension ext\xsl
Enabling extension ext\zlib
Checking for zlib_a ...  <not found>
Checking for zlib_a ...  <not found>
Checking for zlib.lib ...  ..\php_build\lib
Checking for zlib.h ...  ..\zlib

Creating build dirs...
Generating files...
Generating Makefile
Generating main/internal_functions.c
Generating main/config.w32.h
Done.

Type 'nmake' to build PHP

E:\home\php\php5>nmake

Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.

         "cl.exe" /nologo /YX /FD /I . /I main /I regex /I Zend /I TSRM /D
_WINDO
WS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /LDd /MDd /Gm /ZI /Od
/GZ /D
  _DEBUG /D ZEND_DEBUG=1 /D ZTS=1 /I "..\php_build\include"  /I
"E:\home\php\php5
"  /I "..\php_build\include"  /D LIBXML_THREAD_ENABLED /I "..\zlib" /D
_USRDLL /
D PHP4DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D
SAPI_EX
PORTS /D WINVER=0x400 -Iext/bcmath/libbcmath/src  /I
"..\php_build\include"  /D
LIBXML_STATIC  /I "..\php_build\include" /D LIBXML_STATIC /I
"..\php_build\inclu
de\mysql"  -DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10
-Iext/pcre/p
crelib  /D LIBXML_STATIC /D PHP_SQLITE_EXPORTS /Iext/sqlite/libsqlite/src
    /D
LIBXML_STATIC /D LIBXSLT_STATIC  /I "..\php_build\include"  /D DOM_EXPORTS
/D LI
BXML_STATIC /D ZLIB_EXPORTS /FoDebug_TS\php\ /FdDebug_TS\php\
/FpDebug_TS\php\ /
FRDebug_TS\php\ -c main\internal_functions.c -o
Debug_TS\php\internal_functions.
obj
internal_functions.c
         "cl.exe" /nologo /YX /FD /I . /I main /I regex /I Zend /I TSRM /D
_WINDO
WS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /LDd /MDd /Gm /ZI /Od
/GZ /D
  _DEBUG /D ZEND_DEBUG=1 /D ZTS=1 /I "..\php_build\include"  /I
"E:\home\php\php5
"  /I "..\php_build\include"  /D LIBXML_THREAD_ENABLED /I "..\zlib" /D
_USRDLL /
D PHP4DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D
SAPI_EX
PORTS /D WINVER=0x400 -Iext/bcmath/libbcmath/src  /I
"..\php_build\include"  /D
LIBXML_STATIC  /I "..\php_build\include" /D LIBXML_STATIC /I
"..\php_build\inclu
de\mysql"  -DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10
-Iext/pcre/p
crelib  /D LIBXML_STATIC /D PHP_SQLITE_EXPORTS /Iext/sqlite/libsqlite/src
    /D
LIBXML_STATIC /D LIBXSLT_STATIC  /I "..\php_build\include"  /D DOM_EXPORTS
/D LI
BXML_STATIC /D ZLIB_EXPORTS /FoDebug_TS\php\ /FdDebug_TS\php\
/FpDebug_TS\php\ /
FRDebug_TS\php\ -c main\network.c -o Debug_TS\php\network.obj
network.c
e:\home\php\php5\main\network.c(173) : error C2079: 'hints' verwendet
undefinier
tes struct 'addrinfo'
e:\home\php\php5\main\network.c(185) : error C2224: Der linke Teil von
'.ai_fami
ly' muss eine Struktur/Union sein
e:\home\php\php5\main\network.c(186) : error C2224: Der linke Teil von
'.ai_sock
type' muss eine Struktur/Union sein
e:\home\php\php5\main\network.c(206) : error C2224: Der linke Teil von
'.ai_fami
ly' muss eine Struktur/Union sein
e:\home\php\php5\main\network.c(218) : error C2037: Die linke Seite von
'ai_next
' gibt die undefinierte Struktur/Union 'addrinfo' an
e:\home\php\php5\main\network.c(226) : error C2037: Die linke Seite von
'ai_addr
len' gibt die undefinierte Struktur/Union 'addrinfo' an
e:\home\php\php5\main\network.c(226) : warning C4047: 'function' : Anzahl
der De
referenzierungen bei 'unsigned int ' und 'char [32]' unterschiedlich
e:\home\php\php5\main\network.c(226) : warning C4024: '_emalloc' :
Unterschiedli
che Typen fuer formalen und uebergebenen Parameter 1
e:\home\php\php5\main\network.c(226) : warning C4047: 'function' : Anzahl
der De
referenzierungen bei 'char *' und 'int ' unterschiedlich
e:\home\php\php5\main\network.c(226) : warning C4024: '_emalloc' :
Unterschiedli
che Typen fuer formalen und uebergebenen Parameter 2
e:\home\php\php5\main\network.c(226) : warning C4047: 'function' : Anzahl
der De
referenzierungen bei 'unsigned int ' und 'void *' unterschiedlich
e:\home\php\php5\main\network.c(226) : warning C4024: '_emalloc' :
Unterschiedli
che Typen fuer formalen und uebergebenen Parameter 3
e:\home\php\php5\main\network.c(226) : error C2198: '_emalloc' : Nicht
genuegend
  Parameter uebergeben
e:\home\php\php5\main\network.c(227) : error C2037: Die linke Seite von
'ai_addr
' gibt die undefinierte Struktur/Union 'addrinfo' an
e:\home\php\php5\main\network.c(227) : error C2037: Die linke Seite von
'ai_addr
len' gibt die undefinierte Struktur/Union 'addrinfo' an
e:\home\php\php5\main\network.c(227) : error C2198: 'memcpy' : Nicht
genuegend P
arameter uebergeben
e:\home\php\php5\main\network.c(229) : error C2037: Die linke Seite von
'ai_next
' gibt die undefinierte Struktur/Union 'addrinfo' an
e:\home\php\php5\main\network.c(868) : error C2065: 'in6addr_any' :
nichtdeklari
erter Bezeichner
e:\home\php\php5\main\network.c(868) : error C2115: '=' : Inkompatible Typen
NMAKE : fatal error U1077: '"cl.exe"' : Rueckgabe-Code '0x2'
Stop.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to