ext_skel and win32 project
| From: | moshe doron | Date: | Fri, 06 Oct 2000 11:51:52 +0000 |
| Subject: | ext_skel and win32 project | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34365@lists.php.net to get a copy of this message | ||
1. i tried building defualt empty extention ( named 'w4h') using the
ext_skal. it works ok on linux but i cant moving it into the win32 project.
i did those steps:
a. adding the w4h.c, php_w4h.h into the 'php4dlls' project.
b. compile it now, the php not recognize the confirm_w4h_compiled():
c. removing the '#if HAVE_W4H' line on 'w4h.c' cause 18 error... for exmple:
D:\php-dev\extdbg2\ext\w4h\w4h.c(38) : error C2065:
'php_if_confirm_w4h_compiled' : undeclared identifier
D:\php-dev\extdbg2\ext\w4h\w4h.c(38) : error C2099: initializer is not a
constant
D:\php-dev\extdbg2\ext\w4h\w4h.c(45) : error C2065: 'php_minit_w4h' :
undeclared identifier
D:\php-dev\extdbg2\ext\w4h\w4h.c(45) : error C2099: initializer is not a
constant
D:\php-dev\extdbg2\ext\w4h\w4h.c(46) : error C2065: 'php_mshutdown_w4h' :
undeclared identifier
D:\php-dev\extdbg2\ext\w4h\w4h.c(46) : error C2099: initializer is not a
constant
D:\php-dev\extdbg2\ext\w4h\w4h.c(47) : error C2065: 'php_rinit_w4h' :
undeclared identifier
D:\php-dev\extdbg2\ext\w4h\w4h.c(47) : error C2099: initializer is not a
constant
D:\php-dev\extdbg2\ext\w4h\w4h.c(48) : error C2065: 'php_rshutdown_w4h' :
undeclared identifier
D:\php-dev\extdbg2\ext\w4h\w4h.c(48) : error C2099: initializer is not a
constant
D:\php-dev\extdbg2\ext\w4h\w4h.c(49) : error C2065: 'php_info_w4h' :
undeclared identifier
....
...
where is my mistake?
thanks
moshe.
mosdoron@netvision.net.il
icq: 1542485