Good luck with Openwrt on x86 64.

I tried and ended up giving up - however I did get it booting, and I still 
have a bunch of patches for it if you're interested in taking them over.

//.ichael 


On Fri, 26 Feb 2010 01:51:27 am Robert Wuttke wrote:
> Hi,
> 
> I'm trying to build OpenWrt for the UML-target on x86_64. While this works
> fine on x86, on x86_64 machines I get the following error:
> 
> 
> mkdir -p
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/CONTROL echo "Package: libgcc" >
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/CONTROL/control echo "Version: 4.1.2-39" >>
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/CONTROL/control ( DEPENDS=''; for depend in ;
>  do DEPENDS=${DEPENDS:+$DEPENDS,
> }${depend##+}; done; echo "Depends: $DEPENDS"; echo "Provides: "; echo
> "Source: package/base-files"; echo "Section: libs"; echo "Priority:
> optional"; echo "Maintainer: OpenWrt Developers Team
> <openwrt-de...@openwrt.org>"; echo "Architecture: uml"; echo
> "Installed-Size: 1"; echo -n "Description: "; getvar
> V_Package_libgcc_description | sed -e 's,^[[:space:]]*, ,g'; ) >>
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/CONTROL/control chmod 644
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/CONTROL/control (cd
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/CONTROL; var2file "V_Package_libgcc_conffiles"
>  conffiles; var2file
> "V_Package_libgcc_preinst" preinst; var2file "V_Package_libgcc_postinst"
> postinst; var2file "V_Package_libgcc_prerm" prerm; var2file
> "V_Package_libgcc_postrm" postrm; )
> install -d -m0755
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-um
> l/base-files/ipkg-uml/libgcc/lib cp -fpR
> /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/staging_dir/toolch
> ain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/lib64/libgcc_s.so.*
>  /home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/build_dir/linux-u
> ml/base-files/ipkg-uml/libgcc/lib/ cp: cannot stat
> `/home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/staging_dir/toolc
> hain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/lib64/libgcc_s.so.*': No such file or
>  directory
> make[3]: ***
> [/home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/bin/uml/packages/
> libgcc_4.1.2-39_uml.ipk] Error 1
> make[3]: Leaving directory
> `/home/flash64/meshbed/src/openwrt-build/2010-02-25_16-09/package/base-file
> s'
> 
> 
> It fails while trying to copy the libgcc_so.so.* from the lib64-directory.
> A "ls [...]/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/" shows
> that there is no directory named "lib64", but "lib" - including all needed
> files:
> 
> "ls [...]/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/lib/"
> ld64-uClibc-0.9.30.1.so  libc.so.0          libgcc_s.so.1
> libnsl.so.0             libresolv.so.0         libutil-0.9.30.1.so
> ld64-uClibc.so.0         libdl-0.9.30.1.so  libm-0.9.30.1.so
> libpthread-0.9.30.1.so  librt-0.9.30.1.so      libutil.so.0
> libcrypt-0.9.30.1.so     libdl.so.0         libm.so.0
> libpthread.so.0         librt.so.0
> libcrypt.so.0            libgcc_s.so        libnsl-0.9.30.1.so
> libresolv-0.9.30.1.so   libuClibc-0.9.30.1.so
> 
> 
> regards,
> 
> Robert Wuttke
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to