building php5 for win32

php.internals

John Cant

21 years ago
Hello I have been trying to rebuild the php5 DLLs under VC++ V6 SP5 and find that the following four variables are undefined. I've bodged some values to make the DLLs compile but the values are clearly not correct. Can you tell me what values these should have and where they should be defined? Everything has been compiled on a clean XP partition. // JC bodged definitions unsigned short *_pctype; int __mb_cur_max; char* mysql_character_set_name = NULL; char* mysql_real_escape_string = NULL; Thanks for your help. My build command is : %windir%\system32\cscript /nologo configure.js --enable-snapshot-build --without-libxml --enable-isapi --with-mysql > output.txt Best wishes John Cant

Wez Furlong

21 years ago
Your libraries/headers/dlls don't match up. The usual trick to solve this is to recompile the projects using your own compiler and/or use the "right" versions of things. Since you didn't bother pasting the actual error messages (which include the names of the relevant projects), I can't be more specific than that. --Wez. On Sat, 12 Mar 2005 08:01:04 +0000, John Cant <johncant@phdcc.com> wrote: