This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build ecos with TCP/IP/i82559 for i386 pc



On Wed, 14 Mar 2001 19:52:40 +0800
"John" <john@imining.com.tw> wrote:

> Hi all,
> 
> I want to build ecos with TCP/IP/i82559 for i386 pc.
> I think someone has already succesfully tried it.
> Which method below should I use or all are not correct?
> 
> 1. [...]
> 2. [...]
> 3. [...]
> 4. [...]

None of them.

These patches are unmainted so, may not apply AS IS, by any method.

First, you shouldn't need the HAL patch for the ethernet driver.
Second, you should use a cvs.
Third, you should apply the patch by hand when it fails, eventually
you will have to patch the patch.

But even with this I can't guarantee you will succeed.

> But I think the path is right.

No, in fact there is a problem, i should have corrected it (and now I
won't), but you can do it very easily. The problem is (was?) that the
RedHat cvs server had a bug so that I produced incomplete filenames in
the patch. 

You can apply the attached perl script to fix a first problem

(
You can apply directly with something like:
  tr -d '\r' < hal-i386-pc.patch | FixPath.pl | patch -p0  -d
  /d/john/ecos/packages
)

Regards,

-- 
Fabrice Gautier <gautier@email.enstfr>

FixPatch.pl


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]