On Fri, 8 Apr 2011 15:58:43 +0200, Florian Fainelli <[email protected]> wrote: >opkg is fully compatible with the ipkg format, opkg should be easier to cross- >compile actually.
Thanks for the tip. After cross-compiling libcurl, I download opkg-576.tar.gz from http://downloads.openwrt.org/sources/, ran ./autogen.sh, and then ran the following command: ============ #PATH has been edited to include path to cross-compiler ./configure --host=i686-pc-linux-gnu --target=bfin-linux-uclibc CC=bfin-linux-uclibc-gcc CFLAGS="-O2 -Wall -ansi -pedantic -I/usr/src/switchfin/build_ip01/uClinux-dist/linux-2.6.x/include -I/usr/src/switchfin/build_ip01/uClinux-dist/staging/usr/include" AR="bfin-linux-uclibc-ar" RANLIB="bfin-linux-uclibc-ranlib" CURL_LIBS="-L/usr/src/switchfin/build_ip01/uClinux-dist/lib/libcurl/build-curl-7.19.2/lib/.libs" ============ But configure complains with "No package 'libcurl' found". I'm no Autotools expert, and have no clue why configure can't find Libcurl although I used the recommended CURL_LIBS parameter. Does someone know the solution to this? Thank you. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
