Sent off-list email with tar containing the mk/unsquashfs-lzma from my 64-bit tree. Still should run 32-bit binaries if you have all the right lib32* compatibility pkgs installed, but maybe not (due to differences in size of int, etc). But now you have the native x86-64 ones so those should do it.

Clemens John wrote:
Hi,

I want to use unsquashfs which is used with mksquashfs to pack/unpack a squashfs with lzma to unpack a squashfs compressed with lzma on a 64 bit system.

The squashfs is packed during the compilation process of openwrt.
The tools I want to use are located in build_root/host/squashfs4.0/squashfs-
tools/

I built them on a 32 bit system and everything works fine.
If I try to use the tools built on the 32 bit system on the 64 bit system unpacking fails.
Using this tools compiled for 64 bit unpacking fails too:
http://grml.org/grml-live/#current_state

So here my questions:
Are there precompiled 64 bit binarys which I can use?
How can I compile the tools for 64 bit on a 32 bit system?
Is there an easy way to compile only the squashfs tools on a 64 bit system for 64 bit without building the whole build environment?

Or is there a better way to unpack/pack a squashfs on 64 bit?
I can“t use the chroot method or some 32 bit binary stuff.

Thank you
Clemens
------------------------------------------------------------------------

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to