Apologies if you already received this email (we had some problems with the 
mailserver...).

The attached patch  should fix the fstat64 issue on armeb qemu. 
Please note that, in  order to use the patch with scratchbox you have to 
apply it in the  makefile of the qemu directory in the cputransp-devkit 
and put it into the files subdirectory.

Regards,

            Michael, Fabio and Claudio


diff -ur qemu-0.8.1.orig/linux-user/syscall_defs.h 
qemu-0.8.1/linux-user/syscall_defs.h
--- qemu-0.8.1.orig/linux-user/syscall_defs.h   2006-09-07 21:49:22.000000000 
+0000
+++ qemu-0.8.1/linux-user/syscall_defs.h        2006-09-07 21:51:10.000000000 
+0000
@@ -914,8 +914,13 @@
        long long       st_size;
        target_ulong    st_blksize;
 
+#ifndef TARGET_WORDS_BIGENDIAN
        target_ulong    st_blocks;      /* Number 512-byte blocks allocated. */
        target_ulong    __pad4;         /* future possible st_blocks high bits 
*/
+#else
+       target_ulong    __pad4;         /* future possible st_blocks high bits 
*/
+       target_ulong    st_blocks;      /* Number 512-byte blocks allocated. */
+#endif
 
        target_ulong    target_st_atime;
        target_ulong    __pad5;
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to