Bug #15763 Updated: Compile failure
| From: | sniper@php.net | Date: | Tue, 18 Jun 2002 01:14:15 +0000 |
| Subject: | Bug #15763 Updated: Compile failure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10998@lists.php.net to get a copy of this message | ||
ID: 15763
Updated by: sniper@php.net
Reported By: gedas@kryptis.lt
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux Debian 2.2
PHP Version: 4.1.2
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-02-28 18:50:54] pmartinez@edikon.com
I also get errors. I will cut the first part of it and paste here. I
an running the exact same configuration as I had previously with 4.1.1.
It's a little long but here goes:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-curl
--with-swf=/usr/local/flash --with-gd=/usr/local
--with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6
--with-zlib-dir=shared --enable-ftp --with-db=shared
--with-ming=/home/pfmartin/Download/PHP/ming-0.2a --enable-magic-quotes
--with-mysql --enable-safe-mode --enable-track-vars --with-ttf
--enable-versioning --with-mcrypt=/usr --with-gettext --enable-sysvsem
--enable-sysvshm --enable-trans-sid --with-mhash=/usr
--with-cybercash=/usr/local/cybercash/mck-3.2.0.3-linux --with-png-dir
--enable-xslt --with-xslt-sablot --with-expat
--with-pfpro=/usr/local/payflow
root@server375 [/home/pfmartin/Download/PHP/php-4.1.2]# make
Making all in Zend
make[1]: Entering directory
`/home/pfmartin/Download/PHP/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI -I../TSRM
-g -O2 -prefer-pic -c zend_language_parser.c
In file included from /usr/include/stdio.h:57,
from zend.h:34,
from zend_compile.h:24,
from zend_language_parser.c:148:
/usr/include/libio.h:214: parse error before `__off_t'
/usr/include/libio.h:214: warning: no semicolon at end of struct or
union
/usr/include/libio.h:233: parse error before `_offset'
/usr/include/libio.h:233: warning: data definition has no type or
storage class
/usr/include/libio.h:237: parse error before `}'
/usr/include/libio.h:262: parse error before `__io_read_fn'
/usr/include/libio.h:263: warning: data definition has no type or
storage class
/usr/include/libio.h:271: parse error before `__io_write_fn'
/usr/include/libio.h:272: warning: data definition has no type or
storage class
/usr/include/libio.h:280: parse error before `__off_t'
------------------------------------------------------------------------
[2002-02-27 13:04:07] rasmus@php.net
Anybody able to reproduce this compile failure? It builds cleanly for
me here with the same configure flags except for the --with-mnogosearch
one since I don't have that installed here. And there were no
mnogosearch changes between 4.1.1 and 4.1.2 so you'd have to assume
that wouldn't cause this.
------------------------------------------------------------------------
[2002-02-27 12:08:50] gedas@kryptis.lt
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 this bug report at http://bugs.php.net/?id=15763&edit=1