Problem generating php4ts.dll
| From: | quan wang | Date: | Tue, 24 Oct 2000 00:27:24 +0000 |
| Subject: | Problem generating php4ts.dll | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35932@lists.php.net to get a copy of this message | ||
I want to build php/apache module for win32. Looks like I need to build php4ts.dll before building php4apache.dll.
Under Php-4.0.3pl1, I encounter two problems when using php4dllts.dsp to generate php4ts.dll. One is undefining and redefining error for several php_if_win32 variables. Another is an undefining error for FD_SIZE.
What did I do wrong?
Thanks in advance,
Quan.
--------------------Configuration: php4dllts - Win32 Release_TS_inline--------------------
Compiling...
configuration-parser.c
configuration-scanner.c
D:\php-4.0.3\main\configuration-scanner.c(715) : warning C4102: 'find_rule' : unreferenced label
D:\php-4.0.3\main\configuration-scanner.c(1475) : warning C4273: 'isatty' : inconsistent dll linkage. dllexport assumed.
cyr_convert.c
fopen-wrappers.c
main.c
mergesort.c
network.c
php_content_types.c
php_ini.c
php_open_temporary_file.c
php_ticks.c
php_variables.c
quot_print.c
reentrancy.c
rfc1867.c
D:\php-4.0.3\main\rfc1867.c(311) : warning C4013: 'php_check_ident_type' undefined; assuming extern returning int
safe_mode.c
SAPI.c
D:\php-4.0.3\main\SAPI.c(261) : warning C4018: '>=' : signed/unsigned mismatch
strlcat.c
strlcpy.c
array.c
assert.c
base64.c
basic_functions.c
D:\php-4.0.3\ext\standard\basic_functions.c(226) : error C2065: 'php_if_win32_getservbyname' : undeclared identifier
D:\php-4.0.3\ext\standard\basic_functions.c(226) : error C2099: initializer is not a constant
D:\php-4.0.3\ext\standard\basic_functions.c(227) : error C2065: 'php_if_win32_getservbyport' : undeclared identifier
D:\php-4.0.3\ext\standard\basic_functions.c(227) : error C2099: initializer is not a constant
D:\php-4.0.3\ext\standard\basic_functions.c(228) : error C2065: 'php_if_win32_getprotobyname' : undeclared identifier
D:\php-4.0.3\ext\standard\basic_functions.c(228) : error C2099: initializer is not a constant
D:\php-4.0.3\ext\standard\basic_functions.c(229) : error C2065: 'php_if_win32_getprotobynumber' : undeclared identifier
D:\php-4.0.3\ext\standard\basic_functions.c(229) : error C2099: initializer is not a constant
D:\php-4.0.3\ext\standard\basic_functions.c(230) : error C2065: 'php_if_win32_gethostbyaddr' : undeclared identifier
D:\php-4.0.3\ext\standard\basic_functions.c(230) : error C2099: initializer is not a constant
D:\php-4.0.3\ext\standard\basic_functions.c(231) : error C2065: 'php_if_win32_gethostbyname' : undeclared identifier
D:\php-4.0.3\ext\standard\basic_functions.c(231) : error C2099: initializer is not a constant
D:\php-4.0.3\ext\standard\basic_functions.c(1992) : error C2373: 'php_if_win32_getservbyname' : redefinition; different type modifiers
D:\php-4.0.3\ext\standard\basic_functions.c(2015) : error C2373: 'php_if_win32_getservbyport' : redefinition; different type modifiers
D:\php-4.0.3\ext\standard\basic_functions.c(2038) : error C2373: 'php_if_win32_getprotobyname' : redefinition; different type modifiers
D:\php-4.0.3\ext\standard\basic_functions.c(2064) : error C2373: 'php_if_win32_getprotobynumber' : redefinition; different type modifiers
bcmath.c
D:\php-4.0.3\ext\bcmath\bcmath.c(63) : warning C4013: 'init_numbers' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(72) : warning C4013: 'destruct_numbers' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(88) : error C2065: 'bc_num' : undeclared identifier
D:\php-4.0.3\ext\bcmath\bcmath.c(88) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(88) : error C2065: 'first' : undeclared identifier
D:\php-4.0.3\ext\bcmath\bcmath.c(88) : error C2065: 'second' : undeclared identifier
D:\php-4.0.3\ext\bcmath\bcmath.c(88) : error C2065: 'result' : undeclared identifier
D:\php-4.0.3\ext\bcmath\bcmath.c(89) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(102) : error C2065: 'scale' : undeclared identifier
D:\php-4.0.3\ext\bcmath\bcmath.c(110) : warning C4013: 'init_num' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(113) : warning C4013: 'str2num' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(115) : warning C4013: 'bc_add' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(116) : warning C4013: 'num2str' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(116) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(119) : warning C4013: 'free_num' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(131) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(132) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(158) : warning C4013: 'bc_sub' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(159) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(174) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(175) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(201) : warning C4013: 'bc_multiply' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(202) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(217) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(218) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(244) : warning C4013: 'bc_divide' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(246) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(266) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(285) : warning C4013: 'bc_modulo' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(287) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(307) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(308) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(334) : warning C4013: 'bc_raise' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(335) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(350) : error C2146: syntax error : missing ';' before identifier 'result'
D:\php-4.0.3\ext\bcmath\bcmath.c(351) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(373) : warning C4013: 'bc_sqrt' undefined; assuming extern returning int
D:\php-4.0.3\ext\bcmath\bcmath.c(374) : warning C4047: '=' : 'char *' differs in levels of indirection from 'int '
D:\php-4.0.3\ext\bcmath\bcmath.c(390) : error C2146: syntax error : missing ';' before identifier 'first'
D:\php-4.0.3\ext\bcmath\bcmath.c(391) : error C2143: syntax error : missing ';' before 'type'
D:\php-4.0.3\ext\bcmath\bcmath.c(418) : warning C4013: 'bc_compare' undefined; assuming extern returning int
dns.c
D:\Program Files\php-win32build\include\resolv.h(75) : warning C4005: 'FD_SETSIZE' : macro redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(46) : see previous definition of 'FD_SETSIZE' D:\Program Files\php-win32build\include\portability.h(382) : warning C4273: 'getenv' : inconsistent dll linkage. dllexport assumed. D:\Program Files\php-win32build\include\portability.h(745) : warning C4273: 'strdup' : inconsistent dll linkage. dllexport assumed.exec.c file.c filestat.c flock_compat.c formatted_print.c fsock.c D:\php-4.0.3\ext\standard\fsock.c(107) : warning C4013: 'inet_aton' undefined; assuming extern returning int D:\php-4.0.3\ext\standard\fsock.c(501) : error C2065: 'FD_SETSIZE' : undeclared identifier Error executing cl.exe. php4ts.dll - 37 error(s), 58 warning(s) _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.