i have download a fresh trunk copy of OpenWRT but i'm not being able to compile it for AR71xx target. Seems problem is compiling OpenSSL.
make[5]: Entering directory `/home/solutti/openwrt2/trunk/build_dir/target-mips_uClibc-0.9.29/openssl-0.9.8i/apps'
rm -f openssl
shlib_target=; if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
shlib_target="linux-shared"; \
fi; \
LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
make -f ../Makefile.shared -e \
APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o cms.o" \
LIBDEPS=" $LIBRARIES -L/home/solutti/openwrt2/trunk/staging_dir/toolchain-mips_gcc-4.2.4_uClibc-0.9.29/usr/lib -L/home/solutti/openwrt2/trunk/staging_dir/toolchain-mips_gcc-4.2.4_uClibc-0.9.29/lib -L/home/solutti/openwrt2/trunk/staging_dir/target-mips_uClibc-0.9.29/usr/lib -L/home/solutti/openwrt2/trunk/staging_dir/target-mips_uClibc-0.9.29/lib -ldl -ldl" \
link_app.${shlib_target}
make[6]: Entering directory `/home/solutti/openwrt2/trunk/build_dir/target-mips_uClibc-0.9.29/openssl-0.9.8i/apps'
/home/solutti/openwrt2/trunk/staging_dir/toolchain-mips_gcc-4.2.4_uClibc-0.9.29/usr/lib/gcc/mips-openwrt-linux-uclibc/4.2.4/../../../../mips-openwrt-linux-uclibc/bin/ld: error while loading shared libraries: /home/solutti/openwrt2/trunk/staging_dir/target-mips_uClibc-0.9.29/usr/lib/libz.so.1: ELF file data encoding not little-endian
collect2: ld returned 127 exit status
make[6]: *** [link_app.gnu] Error 1
make[6]: Leaving directory `/home/solutti/openwrt2/trunk/build_dir/target-mips_uClibc-0.9.29/openssl-0.9.8i/apps'
make[5]: *** [openssl] Error 2
problem seems to be:
make[6]: Entering directory `/home/solutti/openwrt2/trunk/build_dir/target-mips_uClibc-0.9.29/openssl-0.9.8i/apps'
/home/solutti/openwrt2/trunk/staging_dir/toolchain-mips_gcc-4.2.4_uClibc-0.9.29/usr/lib/gcc/mips-openwrt-linux-uclibc/4.2.4/../../../../mips-openwrt-linux-uclibc/bin/ld: error while loading shared libraries: /home/solutti/openwrt2/trunk/staging_dir/target-mips_uClibc-0.9.29/usr/lib/libz.so.1: ELF file data encoding not little-endian
collect2: ld returned 127 exit status
i dont have a clue how to solve this ........
i was previously using a trunk for about 1 month ago, which already uses openssl 0.9.8i, and could compile it successfully.
(Last edited by leonardogyn on 19 Jan 2009, 03:33)