[ECOS] Syntax error compiling clist.hxx

tb terrencebarr@yahoo.com
Thu Jun 14 11:33:00 GMT 2001


Hi,

I am trying to build eCos for sparclite sleb. I am using the CVS version
of 08JUN01 and gcc sparclite 2.9. I have successfully built previous versions
of eCos but with the CVS version I run into the following error message:

sparclite-elf-gcc -c  -I/export/home/tbarr/ws/ecos-CVS/build/install/include
-I/export/home/tbarr/ws/ecos-CVS/packages/infra/current
-I/export/home/tbarr/ws/ecos-CVS/packages/infra/current/src
-I/export/home/tbarr/ws/ecos-CVS/packages/infra/current/tests -I.
-I/export/home/tbarr/ws/ecos-CVS/packages/infra/current/src/ -msoft-float
-mcpu=sparclite -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti
-fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/startup.tmp -o
src/infra_startup.o
/export/home/tbarr/ws/ecos-CVS/packages/infra/current/src/startup.cxx
In file included from
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/kernel/mlqueue.hxx:55,
                 from
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/kernel/sched.hxx:90,
                 from
/export/home/tbarr/ws/ecos-CVS/packages/infra/current/src/startup.cxx:61:
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:302:
syntax error before `<'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:302:
missing ';' before right brace
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:304:
syntax error before `*'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:310:
syntax error before `*'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:317:
syntax error before `*'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:324:
syntax error before `*'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:345:
syntax error before `<'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:345:
missing ';' before right brace
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:347:
syntax error before `*'
/export/home/tbarr/ws/ecos-CVS/build/install/include/cyg/infra/clist.hxx:348:
syntax error before `*'
make[1]: *** [src/startup.o.d] Error 1

The first offending line in clist.hxx is:

    Cyg_CList_T<T>() {};

I am not a C++ expert. Is this a configuration problem, do I need to update
the compiler or is this a problem in the source code? Any ideas how to fix this?

Thanks,

-- Terrence


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/



More information about the Ecos-discuss mailing list