[ECOS] compiling RedBoot for i386 target

Roman Mashak mrv@corecom.co.kr
Fri Jun 30 08:42:00 GMT 2006


I'm trying to compile RedBoot for i386 target following the procedure 
described in 
and getting the error:

/opt/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c: In 
function `do_exec':
warning: implicit declaration of function `cyg_hal_plf_screen_position'
warning: `eth_dsr' defined but not used
/opt/ecos/packages/hal/common/current/src/hal_stub.c: In function 
/opt/ecos/packages/hal/common/current/src/hal_stub.c:457: warning: 
comparison between pointer and integer
/opt/ecos/packages/redboot/current/src/net/tftp_client.c: In function 
/opt/ecos/packages/redboot/current/src/net/tftp_client.c:167: warning: 
assignment makes integer from pointer without a cast
/opt/ecos/packages/redboot/current/src/net/tftp_client.c:173: warning: 
passing arg 1 of `strcpy' from incompatible pointer type
/opt/ecos/packages/language/c/libc/string/current/src/memchr.cxx:71: `void*
   memchr(const void*, int, unsigned int)' defined both normally and as an
make[1]: *** [src/memchr.o.d] Error 1
make: *** [build] Error 2

I use RedHat 8.0 as development host and latest CVS version of Ecos. 
Actually I didn't compile toolchain, but using the native compiler. linker 
and assembler (just made symlinks 'i386-elf-*').

Where is the problem hidden? Thank you for clues.

With best regards, Roman Mashak.  E-mail: mrv@corecom.co.kr 

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

More information about the Ecos-discuss mailing list