[OpenWrt-Users] recap: should i be able to run the OpenWRT ImageBuilder for kamikaze?
Robert P. J. Day
rpjday at crashcourse.ca
Wed Dec 12 01:53:26 CET 2007
in a nutshell, i downloaded
OpenWrt-ImageBuilder-brcm47xx-2.6-for-Linux-x86_64 onto my 32-bit
fedora install, but i'm not clear on whether i'm supposed to be able
to run it.
if i just type "make image", what i get quickly (after tweaking the
Makefile to be a bit more informative) is:
Generating index for package ./arptables_0.0.3-2-1_mipsel.ipk
/home/rpjday/openwrt/dl/kamikaze/brcm47xx-2.6/devel/OpenWrt-ImageBuilder-brcm47xx-2.6-for-Linux-x86_64/scripts/ipkg-make-index.sh:
line 18:
/home/rpjday/openwrt/dl/kamikaze/brcm47xx-2.6/devel/OpenWrt-ImageBuilder-brcm47xx-2.6-for-Linux-x86_64/staging_dir_mipsel/bin/sed:
cannot execute binary file
make[1]: *** [package_index] Error 126
make[1]: Leaving directory
`/home/rpjday/openwrt/dl/kamikaze/brcm47xx-2.6/devel/OpenWrt-ImageBuilder-brcm47xx-2.6-for-Linux-x86_64'
make: *** [image] Error 2
well, yes, that's understandable since the "sed" that's being
executed is the one in the staging_dir_mipsel/bin directory, whose
attributes are:
$ file sed
sed: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.0, not stripped
so, no, a 64-bit executable is *not* going to execute on this
system, which is only 32-bit. so the question is, in what environment
am i supposed to run this OpenWRT ImageBuilder? and is there a
version that will let me build an image on this OS?
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
More information about the openwrt-users
mailing list