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]

new to Ecos ... pb building Redboot under Linux


I just installed Ecos on my Redhat 8.0 box and I am trying to build Redboot.

I have been using the wx-windows "configtool" and tried to follow all given 
instructions :

- installed gcc/binutils/gdb as specified on the Ecos Web page

- specified an i386-pc target

- imported redboot-FLOPPY.ecm

... then tried to compile. Here I get this compile error :

make[1]: Entering directory 
`/home/philippe/ecos_build/redboot/redboot_build/hal/i386/arch/current'
i386-elf-gcc -c  -I/home/philippe/ecos_build/redboot/redboot_install/include 
-I/home/philippe/ecos/ecos/packages/hal/i386/arch/current 
-I/home/philippe/ecos/ecos/packages/hal/i386/arch/current/src 
-I/home/philippe/ecos/ecos/packages/hal/i386/arch/current/tests -I. 
-I/home/philippe/ecos/ecos/packages/hal/i386/arch/current/src/ -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/hal_misc.tmp -o src/hal_i386_arch_hal_misc.o 
/home/philippe/ecos/ecos/packages/hal/i386/arch/current/src/hal_misc.c
In file included from 
/home/philippe/ecos/ecos/packages/hal/i386/arch/current/src/hal_misc.c:56:
/home/philippe/ecos_build/redboot/redboot_install/include/cyg/infra/cyg_type.h:257: 
Invalid token in expression
make[1]: *** [src/hal_misc.o.d] Error 1
make[1]: Leaving directory 
`/home/philippe/ecos_build/redboot/redboot_build/hal/i386/arch/current'
make: *** [build] Error 2

Seems it doesn't like the cyg_type.h :-( 


Can we compile Redboot under Linux or should it be done under Cygwin only ?

Thanks

Philippe

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