FW: cross compile php problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hi i change some lines:

Code:

export CROSS_COMPILE=arm-none-linux-gnueabi-
export CC=${CROSS_COMPILE}"gcc"
export CXX=${CROSS_COMPILE}"g++"
./configure --host=arm-linux --target=arm --prefix=/opt/php \
--disable-short-tags \
--without-mysql --without-pear --disable-all --disable-short-tags \
--enable-libxml \
--with-libxml-dir=/opt/libxml

but now it is throw me this mistake:

/home/felipe/Escritorio/php-5.3.1/main/php_ini.c:349: undefined reference
to `php_load_extension'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

what am i doing wrong??



Get news, entertainment and everything you care about at Live.com. Check it out!

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux