PHP 4.0 Bug #6168: main.c compile failure
| From: | anil at recoil dot org | Date: | Tue, 15 Aug 2000 15:02:03 +0000 |
| Subject: | PHP 4.0 Bug #6168: main.c compile failure | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28973@lists.php.net to get a copy of this message | ||
From: anil@recoil.org
Operating system: FreeBSD-4.0-STABLE
PHP version: 4.0 Latest CVS (15/08/2000)
PHP Bug Type: Compile Failure
Bug description: main.c compile failure
./configure --enable-versioning --with-mysql=/usr/local --with-apxs=/usr/local/sbin/apxs
results in the compile failing using latest CVS:
...
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DEAPI=1
-DXML_BYTE_ORDER=12 -g -O2 -c zend_sprintf.c
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend.la -lpam -lmysqlclient -lm -lcrypt
zend-parser.lo zend_alloc.lo zend_compile.lo zend_constants.lo zend_dynamic_array.lo
zend_execute.lo zend_execute_API.lo zend_highlight.lo zend_llist.lo zend_opcode.lo
zend_operators.lo zend_ptr_stack.lo zend_stack.lo zend_variables.lo zend.lo zend_API.lo
zend_extensions.lo zend_hash.lo zend_list.lo zend_indent.lo zend_builtin_functions.lo
zend_sprintf.lo libZend_c.la
Making all in main
/bin/sh /usr/local/src/cvs/php4/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/local/src/cvs/php4/main -I/usr/local/src/cvs/php4 -I/usr/local/src/cvs/php4/main
-I/usr/local/include/apache -I/usr/local/src/cvs/php4/Zend -I/usr/local/src/cvs/php4
-I/usr/local/include/mysql -I/usr/local/src/cvs/php4/ext/xml/expat/xmltok
-I/usr/local/src/cvs/php4/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -c main.c
main.c: In function `OnUpdateTimeout':
main.c:166: structure has no member named `timeout_seconds'
main.c:172: structure has no member named `timeout_seconds'
main.c: In function `php_request_startup':
main.c:626: structure has no member named `timeout_seconds'
main.c: In function `php_lint_script':
main.c:1190: warning: assignment makes pointer from integer without a cast
*** Error code 1
Stop in /usr/local/src/cvs/php4/main.
*** Error code 1
Stop in /usr/local/src/cvs/php4/main.
*** Error code 1
Stop in /usr/local/src/cvs/php4.