This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Error while compiling Jffs2 package


Hi All,
 I'm trying to build eCos for the Hitachi Sh-7729 board and everything worked
 fine until I added the jffs2 package. Make now reports an error, but the
 compiler only reports warnings and no output file is created by the
 compiler.
 I'm using the latest version of eCos 
 The output  is shown below 

sh-elf-gcc -c  -I/ecos-c/ecos-work/test20_install/include -I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0 -I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/src -I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/tests -I. -I/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/src/ -ml -m3 -Wall -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -D__ECOS -nostdinc -iwithprefix include -Werror -Wp,-MD,src/fs-ecos.tmp -o src/fs_jffs2_fs-ecos.o /ecos-c/cygwin/opt/ecos/ecos-2.0/packages/fs/jffs2/v2_0/src/fs-ecos.c
cc1: warning: "-Woverloaded-virtual" is valid for C++ but not for C/ObjC
make[1]: Leaving directory `/ecos-c/ecos-work/test20_build/fs/jffs2/v2_0'
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
make: Leaving directory `/ecos-c/ecos-work/test20_build'
cc1: warning: "-fvtable-gc" is valid for C++ but not for C/ObjC
make[1]: *** [src/fs-ecos.o.d] Error 1
make: *** [build] Error 2


pls help me to solve this error


Thanks in Advance





Thanks and regards,
Aniket Joshi

Senior Software Engineer
Larsen & Toubro Ltd,
Embedded System & Software (EmSys),
KIADB Industrial Estate Hebbal
Hootagalli, Mysore,
State: Karnataka, 
India
PIN: 570018

Ph:+91-821-2402561 Ext:2765
FAX: +91-821-2403752
http://www.lntemsys.com



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]