php4apache.dll won't compile

From: Date: Fri, 30 Jun 2000 08:00:30 +0000
Subject: php4apache.dll won't compile
References: 1  Groups: php.dev php.windows 
Request: Send a blank email to php-windows+get-763@lists.php.net to get a copy of this message
Hi all. A month ago, I reported to the php-dev list that it was no longer possible to build the DSO version of PHP4 for win32 Apache. I than couldn't try it until now. It still doesn't compile. Could someone please tell me what I do wrong (though I had built the dll several times before, then, when I wanted to update to the newest snapshot, it ceased working), or acknowledge there is a bug? (I'm not on the php-dev list, so please, cc me.) As soon as the compilation of mod_php4.c starts, msdev reports these errors: --------------------Configuration: php4apache - Win32 Release_TS_inline-------------------- Compiling... mod_php4.c N:\Compile\apache\apache_1.3.12\src\include\../os/win32/os.h(111) : warning C4142: benign redefinition of type N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(16) : error C2011: 'dirent' : 'struct' type redefinition N:\Compile\apache\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' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(34) : error C2373: 'opendir' : redefinition; different type modifiers ..\..\win32/readdir.h(37) : see declaration of 'opendir' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(35) : error C2373: 'readdir' : redefinition; different type modifiers ..\..\win32/readdir.h(38) : see declaration of 'readdir' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(36) : error C2373: 'closedir' : redefinition; different type modifiers ..\..\win32/readdir.h(40) : see declaration of 'closedir' N:\Compile\php\php4-200006291145\sapi\apache\mod_php4.c(145) : warning C4018: '!=' : signed/unsigned mismatch php_apache.c N:\Compile\apache\apache_1.3.12\src\include\../os/win32/os.h(111) : warning C4142: benign redefinition of type N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(16) : error C2011: 'dirent' : 'struct' type redefinition N:\Compile\apache\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' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(34) : error C2373: 'opendir' : redefinition; different type modifiers ..\..\win32/readdir.h(37) : see declaration of 'opendir' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(35) : error C2373: 'readdir' : redefinition; different type modifiers ..\..\win32/readdir.h(38) : see declaration of 'readdir' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(36) : error C2373: 'closedir' : redefinition; different type modifiers ..\..\win32/readdir.h(40) : see declaration of 'closedir' sapi_apache.c N:\Compile\apache\apache_1.3.12\src\include\../os/win32/os.h(111) : warning C4142: benign redefinition of type N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(16) : error C2011: 'dirent' : 'struct' type redefinition N:\Compile\apache\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' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(34) : error C2373: 'opendir' : redefinition; different type modifiers ..\..\win32/readdir.h(37) : see declaration of 'opendir' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(35) : error C2373: 'readdir' : redefinition; different type modifiers ..\..\win32/readdir.h(38) : see declaration of 'readdir' N:\Compile\apache\apache_1.3.12\src\include\../os/win32/readdir.h(36) : error C2373: 'closedir' : redefinition; different type modifiers ..\..\win32/readdir.h(40) : see declaration of 'closedir' Error executing cl.exe. php4apache.dll - 15 error(s), 4 warning(s) ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz ICQ: 2808 2505

« previous php.windows (#763) next »