* RE: [ECOS] Cannot apply patch in ecos
@ 2002-10-23 20:48 MAX Kuo
2002-10-23 21:41 ` Jonathan Larmour
0 siblings, 1 reply; 6+ messages in thread
From: MAX Kuo @ 2002-10-23 20:48 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: ecos-discuss
>===== Original Message From Jonathan Larmour <jifl@eCosCentric.com> =====
>MAX Kuo wrote:
>> i use the cygwin for
>> gunzip hal_at91.epk.gz to genertae the hal_at91.epk file about 70 k
>> and when i use windows administration toll to add the patches
>> it show something below:
>>
>>
>> Command exexution erroe:
>>
>> extracting pkgadd.db:
>> coundn't execute "gunzip": no such file or directory?
>
>This is a problem with ecosadmin.tcl on cygwin I've been intending to fix
>for a while and now finally got around to. Update your CVS repository and
>it should now work.
>
>Oh, and EPKs should already be gzipped, so you shouldn't need to gunzip
>them by hand first.
>
hello
I update the cvs by
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/ecos co -r last-rhepl -P ecos
under the folder of c:/program files/red hat
and i dowload the epk file again from the internet and NOt gunzip,
but i still get the error message before plus this one
Ecos configuration Tools Error
can't open file Ç:program Files\red hat\ecos\packages\pkgadd.txt"
(error 2: the system cannot find the files specified"
and when i build the test in 2.1 for eb40
i get some erroe message bwlow as well
this the last part i think has problem
1/ecos/packages/kernel/current/tests -I.
-I/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/kernel/current/src/sync/
-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/sync/flag.tmp -o src/sync/kernel_flag.o
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/kernel/current/src/sync/flag.cxx
make[1]: Leaving directory `/ecos-c/ecos_work/second_build/kernel/current'
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/kernel/current/src/sync/flag.cxx:62:
default
make: Leaving directory `/ecos-c/ecos_work/second_build'
argument given for parameter 1 of `Cyg_Flag::Cyg_Flag(unsigned int = 0)'
/ecos-c/ecos_work/second_install/include/cyg/kernel/flag.hxx:102: after
previous specification in `Cyg_Flag::Cyg_Flag(unsigned int = 0)'
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/kernel/current/src/sync/flag.cxx:125:
default
argument given for parameter 1 of `void Cyg_Flag::maskbits(unsigned int =
0)
'
/ecos-c/ecos_work/second_install/include/cyg/kernel/flag.hxx:110: after
previous specification in `void Cyg_Flag::maskbits(unsigned int = 0)'
/ecos-c/PROGRA~1/REDHAT~1/ecos/packages/kernel/current/src/sync/flag.cxx:149:
default
argument given for parameter 1 of `void Cyg_Flag::setbits(unsigned int =
-1)
'
/ecos-c/ecos_work/second_install/include/cyg/kernel/flag.hxx:106: after
previous specification in `void Cyg_Flag::setbits(unsigned int = -1)'
make[1]: *** [src/sync/flag.o.d] Error 1
make: *** [build] Error 2
thank you for the time
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cannot apply patch in ecos
2002-10-23 20:48 [ECOS] Cannot apply patch in ecos MAX Kuo
@ 2002-10-23 21:41 ` Jonathan Larmour
2002-10-24 5:49 ` max kuo
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Larmour @ 2002-10-23 21:41 UTC (permalink / raw)
To: MAX Kuo; +Cc: ecos-discuss
MAX Kuo wrote:
>>===== Original Message From Jonathan Larmour <jifl@eCosCentric.com> =====
>>MAX Kuo wrote:
>>
>>>i use the cygwin for
>>>gunzip hal_at91.epk.gz to genertae the hal_at91.epk file about 70 k
>>>and when i use windows administration toll to add the patches
>>>it show something below:
>>>
>>>
>>>Command exexution erroe:
>>>
>>>extracting pkgadd.db:
>>>coundn't execute "gunzip": no such file or directory?
>>
>>This is a problem with ecosadmin.tcl on cygwin I've been intending to fix
>>for a while and now finally got around to. Update your CVS repository and
>>it should now work.
>>
>>Oh, and EPKs should already be gzipped, so you shouldn't need to gunzip
>>them by hand first.
>>
>
> I update the cvs by
> cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/ecos co -r last-rhepl -P ecos
> under the folder of c:/program files/red hat
Oh, last-rhepl. That's different. Those sources are frozen and will never
change. You can make the change by hand instead. See
http://sources.redhat.com/ml/ecos-patches/2002-10/msg00080.html
> and i dowload the epk file again from the internet and NOt gunzip,
> but i still get the error message before plus this one
>
>
> Ecos configuration Tools Error
>
>
> can't open file Ã:program Files\red hat\ecos\packages\pkgadd.txt"
> (error 2: the system cannot find the files specified"
>
>
> and when i build the test in 2.1 for eb40
> i get some erroe message bwlow as well
> this the last part i think has problem
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.
This is the risk and penalty of using the older RHEPL sources, sorry.
Or you could revert to a 2.95.x series GCC.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cannot apply patch in ecos
2002-10-23 21:41 ` Jonathan Larmour
@ 2002-10-24 5:49 ` max kuo
2002-10-24 6:54 ` Jonathan Larmour
0 siblings, 1 reply; 6+ messages in thread
From: max kuo @ 2002-10-24 5:49 UTC (permalink / raw)
To: Jonathan Larmour, ecos-discuss
>
>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cannot apply patch in ecos
2002-10-24 5:49 ` max kuo
@ 2002-10-24 6:54 ` Jonathan Larmour
0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Larmour @ 2002-10-24 6:54 UTC (permalink / raw)
To: max kuo; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cannot apply patch in ecos
2002-10-22 20:38 MAX Kuo
@ 2002-10-23 20:19 ` Jonathan Larmour
0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Larmour @ 2002-10-23 20:19 UTC (permalink / raw)
To: MAX Kuo; +Cc: ecos-discuss, thomas.koeller
MAX Kuo wrote:
> i use the cygwin for
> gunzip hal_at91.epk.gz to genertae the hal_at91.epk file about 70 k
> and when i use windows administration toll to add the patches
> it show something below:
>
>
> Command exexution erroe:
>
> extracting pkgadd.db:
> coundn't execute "gunzip": no such file or directory?
This is a problem with ecosadmin.tcl on cygwin I've been intending to fix
for a while and now finally got around to. Update your CVS repository and
it should now work.
Oh, and EPKs should already be gzipped, so you shouldn't need to gunzip
them by hand first.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Cannot apply patch in ecos
@ 2002-10-22 20:38 MAX Kuo
2002-10-23 20:19 ` Jonathan Larmour
0 siblings, 1 reply; 6+ messages in thread
From: MAX Kuo @ 2002-10-22 20:38 UTC (permalink / raw)
To: ecos-discuss; +Cc: thomas.koeller
hello
I download the patches from Thomas Koeller at
http://sources.redhat.com/ml/ecos-patches/2002-10/msg00008.html
i get hal_at91.epk and hal_eb40.epk file in gz format about 9 k and 10 k
i use the cygwin for
gunzip hal_at91.epk.gz to genertae the hal_at91.epk file about 70 k
and when i use windows administration toll to add the patches
it show something below:
Command exexution erroe:
extracting pkgadd.db:
coundn't execute "gunzip": no such file or directory?
can anyone tell me how to solve the problem???
or if i use
tar xzft hal_ar91.epk.gz
it will henerated a folder comatin all the file
but how do i apply it into the ecos?
just directly cut and paste to the ecos folder??
thank you for your help
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-10-24 13:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 20:48 [ECOS] Cannot apply patch in ecos MAX Kuo
2002-10-23 21:41 ` Jonathan Larmour
2002-10-24 5:49 ` max kuo
2002-10-24 6:54 ` Jonathan Larmour
-- strict thread matches above, loose matches on Subject: below --
2002-10-22 20:38 MAX Kuo
2002-10-23 20:19 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).