[ECOS] Cannot apply patch in ecos
Jonathan Larmour
jifl@eCosCentric.com
Thu Oct 24 06:54:00 GMT 2002
max kuo wrote:
>>
>>That is a known conflict between the sources you are using and newer GCCs.
>>That problem is fixed in the current sources, i.e. covered by the GPL, not
>>RHEPL. You could fix it by hand by removing the initializer in flag.cxx. (
>>i.e. change
>>Cyg_Flag::Cyg_Flag( Cyg_FlagValue init = 0 )
>>to
>>Cyg_Flag::Cyg_Flag( Cyg_FlagValue init )
>>
>>in flag.cxx, and similarly for the other functions that crop up (e.g.
>>maskbits and setbits in flag.cxx at least). Note that's just the .cxx file
>>you change, not the .hxx.
>>
>>
>
>
> hello
>
> after i remove three init value in the flag.cxx file.
> I still cannot appliy the epk file and it stillshow the same result.
As I said, you have to make a change to ecosadmin.tcl. The same change I
pointed you at.
> and when i try tu build the test for the eb40
> it have some error below [snip]
> /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src/memfixed.cxx
>
> /ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src/memfixed.cxx:150:
> default
> argument given for parameter 3 of `cyg_uint8*
> Cyg_Mempool_Fixed::resize_alloc(cyg_uint8*, int, cyg_int32* = 0)'
> /ecos-c/PROGRA~1/REDHAT~1/second_install/include/cyg/memalloc/memfixed.hxx:122:
> after
> previous specification in `cyg_uint8*
> Cyg_Mempool_Fixed::resize_alloc(cyg_uint8*, int, cyg_int32* = 0)'
> make[1]: Leaving directory
> `/ecos-c/PROGRA~1/REDHAT~1/second_build/services/memalloc/common/current'
> make[1]: *** [src/memfixed.o.d] Error 1
> make: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/second_build'
> make: *** [build] Error 2
Again as I said, you may have to make similar changes in other files. And
this (dlmalloc.cxx) is another one.
Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
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