Re: [PHP4BETA] My latest php4b2 build errors on Irix 6.3
| From: | Vinny | Date: | Mon, 30 Aug 1999 05:56:37 +0000 |
| Subject: | Re: [PHP4BETA] My latest php4b2 build errors on Irix 6.3 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3865@lists.php.net to get a copy of this message | ||
Sorry about taking so long to get back to
you. I was away this weekend. Anyway I followed your
sudggestions and I got new errors. Compiling apache 1.3.9
with
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
I got:
gmake[4]: Leaving directory `/web/local/apache_1.3.9/src/modules/standard'
<=== src/modules/standard
===> src/modules/php4
gmake[4]: Entering directory `/web/local/apache_1.3.9/src/modules/php4'
cc -c -I../../os/unix -I../../include -DIRIX -n32 -I/web/Applications/php-4.0b2
-I/web/Applications/php-4.0b2/libzend -I/web/Applications/php-4.0b2/libzend
-I/web/Applications/php-4.0b2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite
../../apaci
mod_php4.c
"/web/Applications/php-4.0b2/libzend/zend_compile.h", line 351: warning(1233):
explicit type is missing ("int" assumed)
ZEND_API inline int open_file_for_scanning(zend_file_handle *file_handle CLS_DC);
^
"/web/Applications/php-4.0b2/libzend/zend_compile.h", line 351: error(1065):
expected a ";"
ZEND_API inline int open_file_for_scanning(zend_file_handle *file_handle CLS_DC);
^
"mod_php4.c", line 238: warning(1116): non-void function
"php_apache_alter_ini_entries" (declared at line 235) should return
a value
}
^
"mod_php4.c", line 478: warning(1164): argument of type "void (*)()" is
incompatible with parameter of type "void (*)(void *)"
register_cleanup(p, NULL, apache_php_module_shutdown_wrapper, php_module_shutdown_for_exec);
^
1 error detected in the compilation of "mod_php4.c".
gmake[4]: *** [mod_php4.o] Error 2
gmake[4]: Leaving directory `/web/local/apache_1.3.9/src/modules/php4'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/web/local/apache_1.3.9/src/modules'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/web/local/apache_1.3.9/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/web/local/apache_1.3.9'
gmake: *** [build] Error 2
Any way
Zeev Suraski wrote:
>
> Can you try removing the 'inline' word on these functions and see if it helps?
>
> We seem to need a test for whether inline works or not...
>
> Zeev
--
Vincent Stoessel-vinny@blendermania.com
Xaymaca Studios http://www.blendermania.com