HI this its the first time i use this way to post a doubt so.. if im doing wrong please tellme this is my problem: im trying to make a cross compile of php for arm plattaform while i was compile it got stop for this trouble: Configuring extensionsexport CROSS_COMPILE=arm-none-linux-gnueabi- export CC=${CROSS_COMPILE}"gcc" export CXX=${CROSS_COMPILE}"g++" ./configure --host=arm-linux --target=arm --prefix=/opt/install-arm make but when it finish make it throws me this: ./.libs/libxml2.so: undefined reference to `gzopen' ./.libs/libxml2.so: undefined reference to `gzclose' ./.libs/libxml2.so: undefined reference to `deflate' ./.libs/libxml2.so: undefined reference to `gzrewind' ./.libs/libxml2.so: undefined reference to `gzwrite' ./.libs/libxml2.so: undefined reference to `crc32' ./.libs/libxml2.so: undefined reference to `deflateEnd' ./.libs/libxml2.so: undefined reference to `gzdopen' ./.libs/libxml2.so: undefined reference to `deflateInit2_' ./.libs/libxml2.so: undefined reference to `gzread' collect2: ld returned 1 exit status make[2]: *** [xmllint] Error 1 make[2]: se sale del directorio `/home/felipe/Escritorio/libxml2-2.6.19' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/felipe/Escritorio/libxml2-2.6.19' make: *** [all] Error 2 i checked when i was compiling the output and i noted this: checking how to hardcode library paths into programs... immediateexport CC=${CROSS_COMPILE}"gcc" export CXX=${CROSS_COMPILE}"g++" ./configure --host=arm-linux --target=arm --with-zlib-dir=/opt/zlib --prefix=/opt/install-arm but the result was the same... after that i changes the code lines again export CC=${CROSS_COMPILE}"gcc" export CXX=${CROSS_COMPILE}"g++" ./configure --host=arm-linux --target=arm --without zlib-dir --prefix=/opt/install-arm when i did that it doesnt throws me mistakes but neigther creates me the compiles files then.... what should i do?? im so confused helpp!!!! Explore the seven wonders of the world Learn more! |
- Follow-Ups:
- Re: doubt cross compiling php
- From: Daniel Brown
- Re: doubt cross compiling php
- Prev by Date: Re: don't get shared extension odbc compiled!
- Next by Date: Re: doubt cross compiling php
- Previous by thread: Specifying endianness in Cross-Compiling PHP
- Next by thread: Re: doubt cross compiling php
- Index(es):