This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Cannot apply patch in ecos
- From: max kuo <cyk12 at ext dot canterbury dot ac dot nz>
- To: Jonathan Larmour <jifl at eCosCentric dot com>, ecos-discuss at sources dot redhat dot com
- Date: Thu, 24 Oct 2002 22:49:39 +1000
- Subject: Re: [ECOS] Cannot apply patch in ecos
- References: <3DB4B7E9@webmail> <3DB77A0C.1080501@eCosCentric.com>
>
>
> 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.
and when i try tu build the test for the eb40
it have some error below
arm-elf-gcc -c -I/ecos-c/PROGRA~1/REDHAT~1/second_install/include
-I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current
-I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src
-I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/tests
-I. -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src/
-mcpu=arm7tdmi -mno-short-load-words -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/dlmalloc.tmp -o
src/services_memalloc_common_dlmalloc.o
/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src/dlmalloc.cxx
arm-elf-gcc -c -I/ecos-c/PROGRA~1/REDHAT~1/second_install/include
-I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current
-I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src
-I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/tests
-I. -I/ecos-c/PROGRA~1/REDHAT~1/eCos/packages/services/memalloc/common/current/src/
-mcpu=arm7tdmi -mno-short-load-words -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/memfixed.tmp -o
src/services_memalloc_common_memfixed.o
/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
what willi do to solve the problem??
max
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss