[ECOS] problem with cyg/kernel/kapi.h

Alexander Popov s_popov@prosyst.bg
Fri Oct 17 14:31:00 GMT 2003


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



More information about the Ecos-discuss mailing list