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 Learn more! |
- Prev by Date: Re: don't get shared extension odbc compiled!
- Next by Date: FW: cross compile php problems
- Previous by thread: doubt cross compiling php
- Next by thread: FW: cross compile php problems
- Index(es):