[ECOS] Question about redboot

john albert johny122@hotmail.com
Thu Jun 20 10:59:00 GMT 2002



Hi,
I am trying to rebuild redboot. When I run the following command
ecosconfig new psim redboot, I got

U CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM, new inferred value 0
U CYGFUN_LIBC_STRING_BSD_FUNCS, new inferred value 0
U CYGPKG_NS_DNS_BUILD, new inferred value 0
C CYGBLD_BUILD_REDBOOT, "requires" constraint not satisfied: 
CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT

Then, I open hal.cdl and look for
"cdl_component CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT". Inside the component, 
there is the line "active_if  CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT". 
CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT is not defined in the same file.
To work around, I lock the line "active_if  
CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT", and type the command again, it seems to 
be OK. After building the tree and compiling, I receive these errors:
powerpc-ecos-eabi-gcc -c  -I/local/nam/redboot-psim/install/include 
-I/local/nam/ecos/packages/hal/common/current 
-I/local/nam/ecos/packages/hal/common/current/src 
-I/local/nam/ecos/packages/hal/common/current/tests -I. 
-I/local/nam/ecos/packages/hal/common/current/src/ -mcpu=603 -msoft-float 
-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_if.tmp -o 
src/hal_common_hal_if.o 
/local/nam/ecos/packages/hal/common/current/src/hal_if.c
/local/nam/ecos/packages/hal/common/current/src/hal_if.c: In function 
`reset':
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:186: warning: 
implicit
declaration of function `HAL_PLATFORM_RESET'
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:196:2: #error " no 
RESET_ENTRY"
/local/nam/ecos/packages/hal/common/current/src/hal_if.c: At top level:
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:244: 
`CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS' undeclared here (not in a 
function)
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:244: size of array 
`comm_channels' has non-integer type
/local/nam/ecos/packages/hal/common/current/src/hal_if.c: In function 
`hal_if_init':
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:904: 
`CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS' undeclared (first use in this 
function)
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:904: (Each 
undeclared identifier is reported only once
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:904: for each 
function
it appears in.)
/local/nam/ecos/packages/hal/common/current/src/hal_if.c:926: 
`CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL' undeclared (first use in this 
function)
make[1]: *** [src/hal_if.o.d] Error 1
make[1]: Leaving directory `/local/nam/redboot-psim/hal/common/current'
make: *** [build] Error 2

I dont know how to fix it. Please help.




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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