YAFFS build error using sparc-rtems4.11-toolchain(GCC 4.8.2)

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 30 12:00:23 UTC 2014


On 2014-04-30 13:44, Thomas Kim wrote:
> After I download rtems-yaffs2-master.zip from
> https://github.com/m-labs/rtems-yaffs2, I am tring to build yaffs.

Try to use this patch:

diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h
index 57caca0..1e2c70b 100644
--- a/direct/yaffsfs.h
+++ b/direct/yaffsfs.h
@@ -27,7 +27,7 @@

  #ifdef __rtems__
  #include <sys/types.h>
-typedef __loff_t loff_t;
+typedef off_t loff_t;
  #endif

  //typedef long off_t

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list