YAFFS build error using sparc-rtems4.11-toolchain(GCC 4.8.2)
Thomas Kim
thomas73.kim at gmail.com
Wed Apr 30 11:44:19 UTC 2014
Dear Sir,
After I download rtems-yaffs2-master.zip from
https://github.com/m-labs/rtems-yaffs2, I am tring to build yaffs.
After I do "make -f Makefile.rtems", Build error is below;
sparc-rtems4.11-gcc --pipe -I. -Idirect -Idirect/rtems -mtune=v7
-msoft-float -fcommon -O2 -g -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
build-leon2/yaffs_ecc.o -MD -MP -MF build-leon2/yaffs_ecc.d -g -I . -B
/home/thomas/projects/rtems/4.10.99/package/sparc-rtems4.11/leon2/lib
-specs bsp_specs -qrtems -c yaffs_ecc.c -o build-leon2/yaffs_ecc.o
In file included from direct/ydirectenv.h:82:0,
from direct/yportenv.h:93,
from yaffs_ecc.c:24:
direct/yaffsfs.h:30:1: error: unknown type name '__loff_t'
typedef __loff_t loff_t;
Please let me know how to fix this.
GCC -v message is below;
COLLECT_GCC=sparc-rtems4.11-gcc
COLLECT_LTO_WRAPPER=/opt/rtems-4.11/libexec/gcc/sparc-rtems4.11/4.8.2/lto-wrapper
Target: sparc-rtems4.11
Configured with: ../gcc-4.8.2/configure --prefix=/opt/rtems-4.11
--bindir=/opt/rtems-4.11/bin --exec_prefix=/opt/rtems-4.11
--includedir=/opt/rtems-4.11/include --libdir=/opt/rtems-4.11/lib
--libexecdir=/opt/rtems-4.11/libexec --mandir=/opt/rtems-4.11/share/man
--infodir=/opt/rtems-4.11/share/info --datadir=/opt/rtems-4.11/share
--build=i686-linux-gnu --host=i686-linux-gnu --target=sparc-rtems4.11
--disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib
--with-system-zlib --disable-nls --without-included-gettext
--disable-win32-registry --enable-version-specific-runtime-libs
--disable-lto --enable-newlib-io-c99-formats --enable-newlib-iconv
--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258
--enable-threads --disable-plugin --enable-languages=c,c++
Thread model: posix
gcc version 4.8.2 20131016 (RTEMS
4.11-RSB-40d25dc8fe6da6b93b295d9b42632c1d3338a97a-1,gcc-4.8.2/newlib-2.1.0)
(GCC)
Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140430/0d9c22d2/attachment.html>
More information about the users
mailing list