hi im tring to cross compile php with this command lines:

export CROSS_COMPILE=arm-none-linux-gnueabi-
export CC=${CROSS_COMPILE}"gcc"
export CXX=${CROSS_COMPILE}"g++" 
./configure --host=arm-linux --target=arm --with-libxml-dir=/opt/libxml 
--prefix=/opt/php
but  this its the mistake:

cc1: warning: include location "/usr/include" is unsafe for cross-compilation
/home/felipe/Escritorio/php-5.3.1/ext/standard/basic_functions.c: In function 
'zif_getservbyport':
/home/felipe/Escritorio/php-5.3.1/ext/standard/basic_functions.c:5589: error: 
invalid 'asm': invalid operand for code 'w'
make: *** [ext/standard/basic_functions.lo] Error 1

what am i doing wrong??
                                          
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Reply via email to