Hi im trying to make a cross compile php im having some troubles because i have to compile first this library:
i dont know where i should post this trouble, i decided here because im trying with c language

libxml2-2.6.19
but when i trying to make it throws me this mistake:

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
the code im using to compile it, its this:

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=$PWD/install-arm
i hope you can help me thanks!!