compile broken on Solaris
| From: | php at home dot uh dot nu | Date: | Thu, 23 Mar 2000 05:36:53 +0000 |
| Subject: | compile broken on Solaris | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12514@lists.php.net to get a copy of this message | ||
Howdy folks
Here is the info from the latest cvs
make[1]: Entering directory `/export/home/waltb/rocketcash/php4'
gcc -DHAVE_CONFIG_H -I. -I/export/home/waltb/rocketcash/php4/. -I. -I./Zend
-I/export/home/waltb/rocketcash/php4 -I/export/home/waltb/rocketcash/apache_1.3.6/src/include
-I/export/home/waltb/rocketcash/apache_1.3.6/src/os/unix
-I/export/home/waltb/rocketcash/php4/ext/mysql/libmysql -I/u01/app/oracle/product/8.0.5/rdbms/demo
-I/u01/app/oracle/product/8.0.5/network/public -I/u01/app/oracle/product/8.0.5/plsql/public
-I/u01/app/oracle/product/8.0.5/rdbms/demo -I/u01/app/oracle/product/8.0.5/network/public
-I/u01/app/oracle/product/8.0.5/plsql/public
-I/export/home/waltb/rocketcash/php4/ext/xml/expat/xmltok
-I/export/home/waltb/rocketcash/php4/ext/xml/expat/xmlparse
-DXML_BYTE_ORDER=21 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -Wall -c main.c && touch
main.lo
main.c: In function `php_module_startup':
main.c:809: too many arguments to function `zend_startup'
make[1]: *** [main.lo] Error 1
make[1]: Leaving directory `/export/home/waltb/rocketcash/php4'
make: *** [all-recursive] Error 1
Here is my configure
./configure \
--with-oci8=$ORACLE_HOME \
--with-system-regex \
--with-apache=$RC_PROJ_ROOT/apache_1.3.6 \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--enable-xml \
--enable-track-vars \
--enable-inline-optimization
here is the main.c:809 line
...
zuf.error_function = php_error;
zuf.printf_function = php_printf;
zuf.write_function = php_body_write_wrapper;
zuf.fopen_function = php_fopen_wrapper_for_zend;
zuf.message_handler = php_message_handler_for_zend;
zuf.block_interruptions = sapi_module.block_interruptions;
zuf.unblock_interruptions = sapi_module.unblock_interruptions;
zuf.get_ini_entry = php_get_ini_entry_for_zend;
zuf.ticks_function = php_run_ticks;
--> zend_startup(&zuf, NULL, 1);
#ifdef ZTS
tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
executor_globals = ts_resource(executor_globals_id);
...
Enjoy
Walt