From: richard.begg@colesmyer.com.au
Operating system: HPUX 11.00 - gcc 3.0.1
PHP version: 4.0CVS-2001-09-04
PHP Bug Type: Compile Failure
Bug description: TSRM fails to build
This problem is identical to that reported in bugid 12195, but still occurs
on HPUX 11.00 compiled with gcc 3.0.1 even on the latest CVS code.
Configured with:
./configure --with-apxs=/opt/apache/bin/apxs
Build results in:
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -DHPUX11 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DEAPI_MM
-DUSE_EXPAT -I../TSRM -g -O2 -c -o tsrm_virtual_cwd.lo `test -f
tsrm_virtual_cwd.c || echo './'`tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:556: mode_t' is promoted to int' when passed through
`...'
tsrm_virtual_cwd.c:556: (so you should pass int' not mode_t' to
`va_arg')
make[1]: *** [tsrm_virtual_cwd.lo] Error 1
make[1]: Leaving directory `/CML/rts/build/php4/TSRM'
make: *** [all-recursive] Error 1
--
Edit bug report at: http://bugs.php.net/?id=13143&edit=1