I'm trying to cross compile wvdial to ARM, wvdial needs wvstreams and wvstreams need openssl and zlib. I've managed to cross compile openssl 1.0.0d;
Code:
# export CC=armv5tel-redhat-linux-gnueabi-gcc
# export RANLIB=armv5tel-redhat-linux-gnueabi-ranlib
# export AR=armv5tel-redhat-linux-gnueabi-ar
# export CXX=armv5tel-redhat-linux-gnueabi-c++
# ./Configure linux-armv4 --prefix=/opt/arm
...
Configured for linux-armv4.
# make
...
# make install
...
But, when I try to compile wvstreams, the configure script can't find openssl.
Code:
# export CFLAGS="-I /opt/arm/include/openssl -I /opt/arm/include"
# ./configure --host=arm-linux-gnu --prefix=/opt/arm
...
configure: error: Required dependencies missing: OpenSSL>=0.9.7 zlib
I figure if I can solve the openssl dependency I can solve the zlib dependency.
Thanks for any help!