|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-02-17 16:04 UTC] ikazdek at hotmail dot com
configured with:
./configure --with-apxs=/usr/local/sbin/apxs --with-config-file-path=/usr/local/etc --enable-versioning \
--with-regex=system --without-gd --without-mysql --with-zlib --with-imap=/usr/local \
--with-mysql=/usr/local --with-ldap=/usr/local --with-expat-dir=/usr/local \
--with-gettext=/usr/local --prefix=/usr/local --enable-track-vars --enable-force-cgi-redirect
it fails to compile at:
bash-2.05b# make
/bin/sh libtool --silent --mode=compile gcc -Iext/zlib/ -I/usr/local/src/php-4.3.1/ext/zlib/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.1/include -I/usr/local/src/php-4.3.1/main -I/usr/local/src/php-4.3.1 -I/usr/local/src/php-4.3.1/Zend -I/usr/local/include -I/usr/local/include/c-client -I/usr/local/include/mysql -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DEAPI -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.0/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -I/usr/local/src/php-4.3.1/TSRM -g -O2 -prefer-pic -c /usr/local/src/php-4.3.1/ext/zlib/zlib.c -o ext/zlib/zlib.lo
In file included from /usr/include/sys/param.h:104,
from /usr/local/src/php-4.3.1/TSRM/tsrm_config_common.h:14,
from /usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:26,
from /usr/local/src/php-4.3.1/main/php.h:360,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/include/machine/limits.h:81: warning: `LONG_MAX' redefined
/usr/local/src/php-4.3.1/Zend/zend.h:189: warning: this is the location of the previous definition
/usr/include/machine/limits.h:82: warning: `LONG_MIN' redefined
/usr/local/src/php-4.3.1/Zend/zend.h:193: warning: this is the location of the previous definition
In file included from /usr/local/src/php-4.3.1/TSRM/tsrm_config_common.h:14,
from /usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:26,
from /usr/local/src/php-4.3.1/main/php.h:360,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/include/sys/param.h:193: warning: `MAXPATHLEN' redefined
/usr/local/src/php-4.3.1/main/php.h:237: warning: this is the location of the previous definition
In file included from /usr/local/src/php-4.3.1/Zend/zend.h:202,
from /usr/local/src/php-4.3.1/main/php.h:34,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/src/php-4.3.1/Zend/zend_hash.h:119: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.1/Zend/zend.h:203,
from /usr/local/src/php-4.3.1/main/php.h:34,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/src/php-4.3.1/Zend/zend_llist.h:34: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.1/main/php.h:34,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/src/php-4.3.1/Zend/zend.h:285: syntax error before `va_list'
/usr/local/src/php-4.3.1/Zend/zend.h:423: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.1/main/php.h:224,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/src/php-4.3.1/main/spprintf.h:40: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/src/php-4.3.1/main/php.h:277: syntax error before `va_list'
In file included from /usr/local/src/php-4.3.1/main/php.h:360,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: `struct utimbuf' declared inside parameter list
/usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: its scope is only this definition or declaration, which is probably not what you want.
In file included from /usr/local/src/php-4.3.1/ext/standard/fsock.h:38,
from /usr/local/src/php-4.3.1/ext/standard/php_standard.h:44,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:48:
/usr/local/src/php-4.3.1/main/php_network.h:113: syntax error before `socklen_t'
/usr/local/src/php-4.3.1/main/php_network.h:113: warning: `struct sockaddr' declared inside parameter list
In file included from /usr/local/src/php-4.3.1/ext/standard/php_standard.h:44,
from /usr/local/src/php-4.3.1/ext/zlib/zlib.c:48:
/usr/local/src/php-4.3.1/ext/standard/fsock.h:43: warning: `struct in_addr' declared inside parameter list
*** Error code 1
Stop in /usr/local/src/php-4.3.1.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 16:00:01 2025 UTC |
Making progress, but something is still goofy here... bash-2.05b# make CFLAGS=-DHAVE_STDARG_H Now crashes at what looks to be a little earlier: [snip-snip] In file included from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.1/main/php.h:277: syntax error before `va_list' In file included from /usr/local/src/php-4.3.1/main/php.h:360, from /usr/local/src/php-4.3.1/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: `struct utimbuf' declared inside parameter list /usr/local/src/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: its scope is only this definition or declaration, which is probably not what you want. *** Error code 1 Stop in /usr/local/src/php-4.3.1.