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]

Problems in compiling examples


I just passed from the CVS version of eCos2 to the stable distribution (by
downloading  ecos-2.0.cygwin.tar.bz2 and configtool-2.11-setup.exe, I'm in
Win98 with Cygwin).
Probelm is I cannot even compile the simple examples! I use the LEON
template and the CVS version worked just fine (it compiled and executed
well).

For instance when I type "make INSTALL_DIR= <dir> hello" I get:
sparc-rtems-gcc -c -o
hello.o -I/leonecos/prova_install//include -msoft-float -Wall -Wpointer-arit
h -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunctio
n-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-prio
rity hello.c
In file included from
/leonecos/prova_install/include/cyg/libc/stdio/stdio.h:62,

                 from /leonecos/prova_install/include/stdio.h:74,
                 from hello.c:2:
/leonecos/prova_install/include/cyg/infra/cyg_type.h:257: Invalid token in
expression
make: *** [hello.o] Error 1

It is not a problem of libraries because I receive it regardless to the
configuration, even with the themplate "LEON-all".
What is it?

Michele Portolan

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


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