NT4+Apache3.1.12+PHP4.0.1PL2-Compiling php4apache (VC++ 6)

From: Date: Thu, 13 Jul 2000 04:59:18 +0000
Subject: NT4+Apache3.1.12+PHP4.0.1PL2-Compiling php4apache (VC++ 6)
Groups: php.windows 
Request: Send a blank email to php-windows+get-1055@lists.php.net to get a copy of this message
Hi, I am following the instructions as per http://www.php.net/version4/win32build.php but need to build the php4apache - Win32 Release_TS for the above versions. I get the following errors (sample only to save space) at the last hurdle... mod_php4.c C:\apache_1.3.12\src\include\../os/win32/readdir.h(16) : error C2011: 'dirent' : 'struct' type redefinition C:\apache_1.3.12\src\include\../os/win32/readdir.h(31) : error C2371: 'DIR' : redefinition; different basic types ..\..\win32/readdir.h(34) : see declaration of 'DIR' +plus others referring to readdir.h and the same errors again for php_apache.c and sapi_apache.c; then compiler halts. The readdir.h is #included in c:\apache_1.3.12\src\include\alloc.h, if i remove the #include the above compile but i get errors the following in the linking stage :-( php4ts.lib(php4ts.dll) : error LNK2005: _zend_bailout already defined in ZendTS.lib(zend.obj) php4ts.lib(php4ts.dll) : error LNK2005: _ts_resource_ex already defined in ZendTS.lib(TSRM.obj) php4ts.lib(php4ts.dll) : error LNK2005: __efree already defined in ZendTS.lib(zend_alloc.obj .... about 27 of them in total Any suggestions? Thanks in advance, trev

« previous php.windows (#1055) next »