[ECOS] Cannot apply patch in ecos
Jonathan Larmour
jifl@eCosCentric.com
Wed Oct 23 21:41:00 GMT 2002
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
More information about the Ecos-discuss
mailing list