This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem with cyg/kernel/kapi.h
- From: Alexander Popov <s_popov at prosyst dot bg>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 17 Oct 2003 17:44:00 +0300
- Subject: Re: [ECOS] problem with cyg/kernel/kapi.h
- References: <3F8FFD49.5090606@prosyst.bg>
I can't find cyg_handlg_t in the header files for the target.
What am I doing wrog - can I use cyg/kernel/kapi.h that way?
Alexander Popov wrote:
Hi,
I am trying to port Wonka to ecos/i386 and I came to this problem when
ytrying to include <target>_install/include/cyg/kernel/kapi.h:
[long@popov delme]$i386-elf-gcc
-I/opt/ecos/ecos-2.0/tools/bin/default-i386_install/include -nostdlib
-Ttarget.ld -static -o delme delme.c
In file included from delme.c:1:
/opt/ecos/ecos-2.0/tools/bin/default-i386_install/include/cyg/kernel/kapi.h:481:
parse error before "mbox"
[long@popov delme]$ cat delme.c
#include
"/opt/ecos/ecos-2.0/tools/bin/default-i386_install/include/cyg/kernel/kapi.h"
#include <stdio.h>
int main(){
printf("Echo World!\n");
}
Any hints?
Best Regards,
--
Alexander Popov ProSyst Bulgaria Inc.
RTOS Leader 48 Vladajska Str.
RTOS and JVM Dept. Sofia 1606, Bulgaria
Phone: +359 2 952 3581/203 http://www.prosyst.com
Mobile: +359 887 663 193 OSGi Technology Leaders
----------------------------------------------------------
The wonderful thing about Linux is that there is always at
least one more undiscovered way to do almost anything.
Lewin A.R.W. Edwards (comp.os.linux.embedded)
----------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss