From: esteban at correo dot unam dot mx Operating system: linux PHP version: 4CVS-2005-05-28 (stable) PHP Bug Type: Compile Failure Bug description: cant cross compiling arm linux
Description: ------------ Hi I try cross compiling php4 to run in a arm linux my configure line is: >CC="arm-linux-gcc" \ >CXX="arm-linux-g++" \ >RANLIB="arm-linux-ranlib" \ >LIBS="-L/opt/arcom/arm-linux/lib" \ >CFLAGS="-I/opt/arcom/arm-linux/include" \ >./configure \ >--prefix=/flashcard/usr/local/php-arm \ >--with-apxs=/www/bin/apxs \ >--host=arm-linux \ >--build=i386-linux Reproduce code: --------------- Here's where the compile fails: /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:240: error: parse error before "one" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:241: error: parse error before "IBM" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:247: error: parse error before '}' token /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:247: warning: data definition has no type or storage class /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c: In function `ulp': /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:935: error: parse error before "x" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:937: error: parse error before "a" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:939: error: `x' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:939: error: (Each undeclared identifier is reported only once /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:939: error: for each function it appears in.) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:947: error: `a' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c: In function `b2d': /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:977: error: parse error before "d" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:995: error: `d' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c: In function `d2b': /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1048: error: parse error before "d" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1053: error: `d' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c: In function `ratio': /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1179: error: parse error before "da" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1182: error: `da' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1183: error: `db' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c: In function `zend_strtod': /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1250: error: parse error before "rv" /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1259: error: `rv' undeclared (first use in this function) /root/esteban/php4-STABLE-200505282035/Zend/zend_strtod.c:1492: error: `rv0' undeclared (first use in this function) make: *** [Zend/zend_strtod.lo] Error 1 Expected result: ---------------- Compile OK Actual result: -------------- Compile fails -- Edit bug report at http://bugs.php.net/?id=33175&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33175&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33175&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33175&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33175&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33175&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33175&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33175&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33175&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33175&r=support Expected behavior: http://bugs.php.net/fix.php?id=33175&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33175&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33175&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33175&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33175&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33175&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33175&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33175&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33175&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33175&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33175&r=mysqlcfg
