Writing custom PHP extensions
Posted: Wed Jul 02, 2003 3:15 am
I'm trying to compile my own PHP extension, but I'm running into an error:
I'm using MS VC++ 6.0 on Windows 98SE with PHP4.3.2. The only error I'm having is that strings.h doesn't exist:
Any help?
I'm using MS VC++ 6.0 on Windows 98SE with PHP4.3.2. The only error I'm having is that strings.h doesn't exist:
Deleting intermediate files and output files for project 'ext_attempt - Win32 Release_TS'.
--------------------Configuration: ext_attempt - Win32 Release_TS--------------------
Compiling...
main.c
..\..\main\php_config.h(3) : warning C4005: 'ZEND_API' : macro redefinition
..\..\Zend\zend_config.w32.h(72) : see previous definition of 'ZEND_API'
..\..\main\php_config.h(4) : warning C4005: 'ZEND_DLEXPORT' : macro redefinition
..\..\Zend\zend_config.w32.h(75) : see previous definition of 'ZEND_DLEXPORT'
..\..\main\php_config.h(2502) : fatal error C1083: Cannot open include file: 'strings.h': No such file or directory
Error executing cl.exe.
ext_attempt.dll - 1 error(s), 2 warning(s)
Any help?