Max Alekseyev wrote:

Hi,

> It fails to be build from sources on amd64 with the following error:

I've just uploaded 1:1.94+0.20051214cvs-2, which fixes the error. The
patch is very simple, I'm attaching it in case you didn't want to wait
for autobuilders and recompile the package yourself.

Please check if this version works for you on amd64.
It seems the upstream has added support for native amd64 executables,
could you also please test it?

> 
> upx-ucl works OK.

OK, that's great.


Best Regards,
robert
--- src/p_lx_elf.h.old	2005-12-14 08:21:58.000000000 +0100
+++ src/p_lx_elf.h	2005-12-17 16:39:49.000000000 +0100
@@ -208,7 +208,7 @@
     virtual acc_uint64l_t get_native64(const void *b) const { return get_le64(b); }
     virtual unsigned get_native32(const void *b) const { return get_le32(b); }
     virtual unsigned get_native16(const void *b) const { return get_le16(b); }
-    virtual void set_native64(void *b, unsigned long long v) const { set_le64(b, v); }
+    virtual void set_native64(void *b, acc_uint64l_t  v) const { set_le64(b, v); }
     virtual void set_native32(void *b, unsigned v) const { set_le32(b, v); }
     virtual void set_native16(void *b, unsigned v) const { set_le16(b, v); }
 };

Reply via email to