PHP 4.0.6 and TSRM, I can't compile it! please help
| From: | alexus | Date: | Tue, 10 Jul 2001 15:18:16 +0000 |
| Subject: | PHP 4.0.6 and TSRM, I can't compile it! please help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57168@lists.php.net to get a copy of this message | ||
i'm geting this error while compiling php
Making all in TSRM
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12 -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12 -g -O2 -c tsrm_strtok_r.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12 -g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568:
mode_t' is promoted to int' when passed through
`...'
tsrm_virtual_cwd.c:568: (so you should pass int' not mode_t' to`va_arg')
*** Error code 1
Stop in /usr/local/src/php-4.0.6/TSRM.
*** Error code 1
Stop in /usr/local/src/php-4.0.6.
any ideas?