[Apachetoolbox-devel] Error compiling php-4.3.2 with ATB-1.5.66
Brought to you by:
bryanandrews
|
From: Jiri D. H. <ji...@pr...> - 2003-06-24 22:29:57
|
Hi
I got a wierd problem which I can't solf
Below I have c&p php-compile.log.
It looks like, that there is a problem with zlib. But when I exec
./go.sh manuely in de php-4.3.2 src dir. every thing goes find.
When I compare to the output of the go.sh script with diff, I notis 1
thing that.
When go.sh get exec by ATB php uses the C preprocessor is set to
/lib/cpp, and manuely to gcc -E
crtz, Jiri
--- start ---
gcc -Iext/zlib/ -I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/
-DPHP_ATOM_INC -I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/include
-I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main
-I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0
-I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend -I/usr/include/freetype2
-I/usr/local/freetds/include -I/usr/include/mysql
-I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/xml/expat -I/usr/include
-I/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/TSRM -O3 -march=i686
-mcpu=i686 -c /tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c
-o ext/zlib/zlib.o && echo > ext/zlib/zlib.lo
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend/zend.h:202,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:34,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend/zend_hash.h:119: parse
error before "va_list"
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend/zend.h:203,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:34,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend/zend_llist.h:34: parse
error before "va_list"
In file included from /tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:34,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend/zend.h:285: parse error
before "va_list"
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/Zend/zend.h:423: parse error
before "va_list"
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:224,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/spprintf.h:40: parse error
before "va_list"
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:277: parse error
before "va_list"
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/TSRM/tsrm_config_common.h:14,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:26,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:360,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/usr/include/sys/param.h:35:1: warning: "MAXPATHLEN" redefined
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:237:1: warning: this
is the location of the previous definition
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php.h:360,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:28:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:159:
warning: `struct utimbuf' declared inside parameter list
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/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
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/php_standard.h:23,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:48:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/php_string.h: In
function `php_memnstr':
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/php_string.h:142:
warning: assignment makes pointer from integer without a cast
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/fsock.h:38,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/php_standard.h:44,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:48:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php_network.h: At top level:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/main/php_network.h:113: warning:
`struct sockaddr' declared inside parameter list
In file included from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/php_standard.h:44,
from
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/zlib/zlib.c:48:
/tmp/Apachetoolbox-1.5.66/src/php-4.3.0/ext/standard/fsock.h:43:
warning: `struct in_addr' declared inside parameter list
make: *** [ext/zlib/zlib.lo] Error 1
--- end ---
|