From: [EMAIL PROTECTED] Operating system: Linux Debian 2.2 PHP version: 4.1.1 PHP Bug Type: Compile Failure Bug description: Compile failure
Note: This is 4.1.2 bug not 4.1.1 Note: Make on the same system, same config works fine with 4.0.6 Note: Make without any flags in configure works fine with 4.1.1 Now the issue: Configure: ./configure --with-mysql --with-xml --with-apache=../apache_1.3.19 --enable-track-vars --with-gd --with-mnogosearch Make: srv1:/usr/local/src/php-4.1.2# make Making all in Zend make[1]: Entering directory `/usr/local/src/php-4.1.2/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/php-4.1.2/Zend' Making all in main make[1]: Entering directory `/usr/local/src/php-4.1.2/main' make[2]: Entering directory `/usr/local/src/php-4.1.2/main' gcc -I. -I/usr/local/src/php-4.1.2/main -I/usr/local/src/php-4.1.2/main -I/usr/local/src/php-4.1.2 -I/usr/local/src/apache_1.3.19/src/include -I/usr/local/src/apache_1.3.19/src/os/unix -I/usr/local/src/php-4.1.2/Zend -I/usr/local/mnogosearch/include -I/usr/local/src/php-4.1.2/ext/mysql/libmysql -I/usr/local/src/php-4.1.2/ext/xml/expat -I/usr/local/src/php-4.1.2/TSRM -g -O2 -c main.c && touch main.lo In file included from php.h:163, from main.c:26: fopen_wrappers.h:69: parse error before `TSRMLS_DC' fopen_wrappers.h:71: parse error before `TSRMLS_DC' fopen_wrappers.h:72: parse error before `TSRMLS_DC' fopen_wrappers.h:74: parse error before `TSRMLS_DC' fopen_wrappers.h:75: parse error before `TSRMLS_DC' fopen_wrappers.h:77: parse error before `TSRMLS_DC' fopen_wrappers.h:83: warning: parameter names (without types) in function declaration fopen_wrappers.h:84: warning: parameter names (without types) in function declaration fopen_wrappers.h:85: parse error before `TSRMLS_DC' fopen_wrappers.h:86: parse error before `TSRMLS_DC' In file included from main.c:26: php.h:226: parse error before `TSRMLS_DC' php.h:228: parse error before `TSRMLS_DC' In file included from php.h:290, from main.c:26: /usr/local/src/php-4.1.2/main/php_output.h:26: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:29: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/main/php_output.h:30: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:31: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/main/php_output.h:32: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:33: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:34: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:35: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:36: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:37: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:38: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:39: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/main/php_output.h:40: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/main/php_output.h:41: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/main/php_output.h:42: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/main/php_output.h:43: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:66: parse error before `TSRMLS_DC' /usr/local/src/php-4.1.2/main/php_output.h:67: parse error before `TSRMLS_DC' In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:21, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:37: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:37: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:38: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:38: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:39: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:39: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:40: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:40: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:41: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/basic_functions.h:41: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:23, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_string.h:95: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_string.h:95: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:25, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_dir.h:26: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_dir.h:26: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_dir.h:27: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_dir.h:27: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:27, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/reg.h:39: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/reg.h:39: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/reg.h:40: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/reg.h:40: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/reg.h:41: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/reg.h:41: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:28, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_mail.h:28: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_mail.h:28: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:32, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/file.h:26: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/file.h:26: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/file.h:27: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/file.h:27: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:33, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_ext_syslog.h:28: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_ext_syslog.h:28: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_ext_syslog.h:29: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_ext_syslog.h:29: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_ext_syslog.h:30: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_ext_syslog.h:30: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:34, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_filestat.h:24: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_filestat.h:24: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_filestat.h:25: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_filestat.h:25: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:35, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_browscap.h:24: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_browscap.h:24: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_browscap.h:25: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_browscap.h:25: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:36, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/pack.h:24: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/pack.h:24: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:43, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/fsock.h:79: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/fsock.h:79: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:51, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/dl.h:32: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/dl.h:32: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:52, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_crypt.h:28: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_crypt.h:28: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_crypt.h:29: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_crypt.h:29: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:53, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/head.h:24: warning: parameter names (without types) in function declaration In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:54, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_lcg.h:38: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_lcg.h:38: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:57, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_array.h:27: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_array.h:27: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_array.h:28: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_array.h:28: warning: data definition has no type or storage class In file included from /usr/local/src/php-4.1.2/ext/standard/php_standard.h:58, from main.c:52: /usr/local/src/php-4.1.2/ext/standard/php_assert.h:24: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_assert.h:24: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_assert.h:25: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_assert.h:25: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_assert.h:26: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_assert.h:26: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_assert.h:27: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_assert.h:27: warning: data definition has no type or storage class /usr/local/src/php-4.1.2/ext/standard/php_assert.h:28: warning: parameter names (without types) in function declaration /usr/local/src/php-4.1.2/ext/standard/php_assert.h:28: warning: data definition has no type or storage class main.c: In function `php_request_startup': main.c:643: `zend_try' undeclared (first use in this function) main.c:643: (Each undeclared identifier is reported only once main.c:643: for each function it appears in.) main.c:643: parse error before `{' main.c: At top level: main.c:686: syntax error before `{' main.c:688: warning: data definition has no type or storage class main.c:690: parse error before `return' main.c: In function `php_request_shutdown': main.c:710: `zend_try' undeclared (first use in this function) main.c:710: parse error before `{' main.c: At top level: main.c:712: warning: data definition has no type or storage class main.c:714: syntax error before `{' main.c:716: warning: data definition has no type or storage class main.c:718: parse error before `if' main.c:720: warning: data definition has no type or storage class main.c:722: parse error before `if' main.c:726: syntax error before `{' main.c:732: warning: data definition has no type or storage class main.c:735: conflicting types for `zend_deactivate' /usr/local/src/apache_1.3.19/src/include/zend_compile.h:220: previous declaration of `zend_deactivate' main.c:735: warning: data definition has no type or storage class main.c:737: syntax error before `{' main.c:739: warning: data definition has no type or storage class main.c:741: syntax error before `{' main.c:743: warning: data definition has no type or storage class main.c:745: syntax error before `{' main.c:747: warning: data definition has no type or storage class main.c:748: parse error before `}' main.c: In function `php_module_startup': main.c:857: structure has no member named `bailout_set' main.c: In function `php_execute_script': main.c:1276: `zend_try' undeclared (first use in this function) main.c:1276: parse error before `{' main.c:1307: warning: passing arg 2 of `zend_execute_scripts' makes integer from pointer without a cast main.c: At top level: main.c:1308: warning: data definition has no type or storage class main.c:1310: parse error before `if' main.c: In function `php_lint_script': main.c:1371: `zend_try' undeclared (first use in this function) main.c:1371: parse error before `{' main.c: At top level: main.c:1382: warning: data definition has no type or storage class main.c:1384: parse error before `return' make[2]: *** [main.lo] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.1.2/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.1.2/main' make: *** [all-recursive] Error 1 -- Edit bug report at http://bugs.php.net/?id=15763&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15763&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15763&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15763&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15763&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15763&r=support Expected behavior: http://bugs.php.net/fix.php?id=15763&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15763&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15763&r=submittedtwice