ID: 48317
User updated by: jf at netmadeira dot com
Reported By: jf at netmadeira dot com
Status: Open
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5.3CVS-2009-05-18 (snap)
New Comment:
Just to add more info on the error:
/bin/sh /wdtv/wip/php-5.3.0/php5.3-snap/libtool --silent
--preserve-dup-deps --mode=compile mipsel-linux-gcc -Iext/standard/
-I/wdtv/wip/php-5.3.0/php5.3-snap/ext/standard/ -DPHP_ATOM_INC
-I/wdtv/wip/php-5.3.0/php5.3-snap/include
-I/wdtv/wip/php-5.3.0/php5.3-snap/main -I/wdtv/wip/php-5.3.0/php5.3-snap
-I/wdtv/wip/php-5.3.0/php5.3-snap/ext/date/lib
-I/wdtv/wip/php-5.3.0/php5.3-snap/ext/ereg/regex
-I/usr/wdtvtool/include/libxml2 -I/tmp/.webspath/usr/include
-I/tmp/.webspath/usr/include/freetype2
-I/wdtv/wip/php-5.3.0/php5.3-snap/ext/sqlite3/libsqlite
-I/usr/wdtvtool/include -I/wdtv/wip/php-5.3.0/php5.3-snap/TSRM
-I/wdtv/wip/php-5.3.0/php5.3-snap/Zend -I/usr/wdtvtool/include
-D_XPG_IV -I/tmp/.webspath/usr/include -fvisibility=hidden -c
/wdtv/wip/php-5.3.0/php5.3-snap/ext/standard/basic_functions.c -o
ext/standard/basic_functions.lo
/wdtv/wip/php-5.3.0/php5.3-snap/ext/standard/basic_functions.c:3007:
error: 'zif_dns_check_record' undeclared here (not in a function)
make: *** [ext/standard/basic_functions.lo] Error 1
Previous Comments:
------------------------------------------------------------------------
[2009-05-18 17:54:41] jf at netmadeira dot com
Description:
------------
Cross compiling php for mipsel fails in 5.3 RC2 while in 5.2.9 compiles
fine.
Configure went fine, fails when making with this error:
/wdtv/wip/php-5.3.0/php5.3-snap/ext/standard/basic_functions.c:3007:
error: 'zif_dns_check_record' undeclared here (not in a function)
make: *** [ext/standard/basic_functions.lo] Error 1
Reproduce code:
---------------
./configure \
--target=mipsel-linux \
--host=mipsel-linux \
--build=i386 \
--prefix=${install} \
--bindir=${install}/bin \
--sbindir=${install}/bin \
--mandir=${install}/share/man \
--enable-sockets \
--with-config-file-path=${install0}/conf \
--without-pear \
--without-mysql \
--without-mysql \
--without-apxs \
--without-apxs2 \
--disable-cli \
--with-zlib=$wdtvpath \
--with-zlib-dir=$wdtvpath \
--enable-pdo=shared \
--with-pdo-sqlite=shared \
--with-sqlite=shared \
--with-sqlite3=shared \
--enable-sqlite-utf8 \
--with-libxml-dir=$wdtvpath \
--with-curl=$wdtvpath \
--enable-shared \
--enable-exif \
--with-gd=shared \
--with-jpeg-dir=$wdtvpath \
--with-png-dir=$wdtvpath \
--with-freetype-dir=$wdtvpath \
--with-openssl=$wdtvpath \
--with-openssl-dir=$wdtvpath \
--enable-gd-native-ttf \
--with-xsl=$wdtvpath \
--with-iconv=$wdtvpath \
--with-bz2=$wdtvpath \
--enable-calendar \
--with-ldap=$wdtvpath \
--enable-zip \
--with-readline=$wdtvpath \
--with-pcre-regex \
--enable-ftp \
--with-mcrypt=$wdtvpath \
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48317&edit=1