[ECOS] I cant use gdb stubs to load hello

Natarajan, Mekala (CTS) NMekala@CHN.CTS-CORP.COM
Mon Dec 11 21:13:00 GMT 2000


hi,
can u tell how to configure and build for redboot in ecos configuration
tools..
The steps which i followed is 
>From Configuration tool i selected the redboot template for i386pc target..
when i gave build library it reported the following error..
do i have to some more package to it..

make[1]: Entering directory `/d/redboot/red_build/hal/i386/pc/current'
i386-elf-gcc -c  -I//D/redboot/red_install/include
-I//d/eCos/packages/hal/i386/pc/current
-I//d/eCos/packages/hal/i386/pc/current/src
-I//d/eCos/packages/hal/i386/pc/current/tests -I.
-I//d/eCos/packages/hal/i386/pc/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/plf_misc.tmp -o src/hal_i386_pc_plf_misc.o
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c: In function
`hal_pc_fpe_dsr':
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:88: `cyg_handle_t'
undeclared (first use in this function)
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:88: (Each undeclared
identifier is reported only once
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:88: for each function
it appears in.)
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:88: parse error before
`me'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:103: `me' undeclared
(first use in this function)
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:103: warning: implicit
declaration of function `cyg_thread_self'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:109: warning: implicit
declaration of function `cyg_thread_get_stack_base'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:111: `cyg_addrword_t'
undeclared (first use in this function)
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c: At top level:
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:137: parse error before
`hal_pc_fpe_interrupt_object'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:137: warning: type
defaults to `int' in declaration of `hal_pc_fpe_interrupt_object'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:137: warning: data
definition has no type or storage class
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:138: parse error before
`hal_pc_fpe_interrupt'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:138: warning: type
defaults to `int' in declaration of `hal_pc_fpe_interrupt'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:138: warning: data
definition has no type or storage class
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c: In function
`hal_platform_init':
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:170: warning: implicit
declaration of function `cyg_interrupt_create'
//d/eCos/packages/hal/i386/pc/current/src/plf_misc.c:173: warning: implicit
declaration of function `cyg_interrupt_attach'
make[1]: *** [src/plf_misc.o.d] Error 1
make[1]: Leaving directory `/d/redboot/red_build/hal/i386/pc/current'
make: *** [build] Error 2

mekala
This e-mail and any files transmitted with it are for the sole use 
of the intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful...

		Visit us at http://www.cognizant.com



More information about the Ecos-discuss mailing list