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]

problem in twothreads program


Hi all,
I am trying to run the simple twothreads program. But I am getting some
error, it is as follows

d:/cygwin/opt/ecos-2.0/examples/twothreads.c:1:29: cyg/kernel/kapi.h : No
such file or directory
d:/cygwin/opt/ecos-2.0/examples/twothreads.c:9: warning: data definition has
no type or storage class

Actually I am trying to run this program as given in the ecos-user-guide.
giving the command like this
arm-elf-gcc -g -Itest_install/install/include
d:/cygwin/opt/ecos-2.0/examples/twothreads.c -Ltest_install/install/lib -Tta
rget.ld -nostdlib

If I try to change the path for kapi.h in the twothreads.c , it prompt for
not able to find kernel.h.
Does I need to give manually the proper path for each file or its a linker
problem.
Thanks in advance
Ashutosh


-- 
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]