This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
compiling RedBoot for i386 target
- From: "Roman Mashak" <mrv at corecom dot co dot kr>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 30 Jun 2006 17:42:04 +0900
- Subject: [ECOS] compiling RedBoot for i386 target
- Fl-build: Fidolook 2002 (SL) 6.0.2800.86 - 14/6/2003 22:16:25
Hello.
I'm trying to compile RedBoot for i386 target following the procedure
described in
http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html
and getting the error:
/opt/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c: In
function `do_exec':
/opt/ecos/packages/hal/i386/arch/current/src/redboot_linux_exec.c:261:
warning: implicit declaration of function `cyg_hal_plf_screen_position'
/opt/ecos/packages/devs/eth/intel/i82559/current/src/if_i82559.c:2714:
warning: `eth_dsr' defined but not used
/opt/ecos/packages/hal/common/current/src/hal_stub.c: In function
`handle_exception_cleanup':
/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
`tftp_error_ack':
/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
alias
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