kennedy im not sure if you are right, because i repeat this instrution:
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/install-arm
and after that i checked the some information from the output and i note this:
Code:
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
Checking zlib
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... no
Checking headers
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
if it can read zlib usability why am i still having that problem??
i also made a cross compile of zlib following this steps:
Used version: zlib-1.1.4.tar.gz
After unpacked the sources change to the source directory:
# cd zlib-1.1.4
# CC=arm-linux-gcc \
./configure --prefix=/opt
# make
# make install prefix=/opt
it mades me two folders but include and lib , i move that folder to a new folder zlib inside opt folder
and tried this code:
Code:
export CROSS_COMPILE=arm-none-linux-gnueabi-
export CC=${CROSS_COMPILE}"gcc"
export CXX=${CROSS_COMPILE}"g++"
./configure --host=arm-linux --target=arm --with-zlib-dir=/opt/zlib --prefix=/opt/install-arm
make
but the output was the same problem:
Code:
./.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
what could be the problem?? HELLLLP!