cross compile php problems

[email protected] (andres felipe tamayo cortes)
Newsgroups php.install
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.