Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: Compiling 2.0.30
Date: Fri, 11 Apr 1997 08:18:56 -0600 (MDT)	[thread overview]
Message-ID: <911178b68fca1e1e37bd19cee8124539.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.93.970410214515.6433B-100000@paris.users.spiritone.com>

> 
> I to was having the same problems that other people on the list was
> having. I tired all the hints that people gave and none of them seemed to
> work for me.

Random patching in a random order what not a list of hints, as far as
I recall.

> 1. I grabed linux-2.0.30.tar.gz from ftp.cs.helsinki.fi and applied the
> axp diff from 2.0.21.

You had to end up with rejects.  It means, in particular, that one
header was patched (include/linux/fs.h), but a corresponding patches
to a code were rejected.

> When I tried compiling it I got the same error that
> other people got. 

This is not surprising if you did not resolve collisions "by hand".

> 
> 2. Next, using the same linux-2.0.30.tar.gz, I applied then axp diff from
> 2.0.21, and then applied a patch that someone on the list sent out.

That "someone" probably would be me.  These patches were clearly
described as NOT for that situation.  You were bound to get rejects
once again.

> It puked the compile at the same spot. 

See above.

> 
> 4. I don't know why I thought this might work, but here's what I tried
> next. I had the linux-2.0.28.tar.gz. I untarted that, applied the patch to
> bring it up to linux 2.0.29.  Then I applied the axp diff patch.

There were no rejects this time, as the stuff which collides was
modified between 2.0.29 and 2.0.30

> Then I applied the patch to 2.0.30,

You got rejects once again.  Posted patches were exactly for this
situation (current 2.0.29-axp, patched to 2.0.30 and some leftovers had
to be fixed).  BTW - it is not hard to see from a posted patch contents
how modified code should look like if you had chosen a route like in
your attempt 1.

> This time it worked! 

It works without resolving remaining conflicts because, as luck has it,
what needs to be done is a removal of few variables which are not used
anymore in a patched code of block_dev.c and changes to a code miracuosly
survived.  So, if you left things alone, you got a few "dead variables"
in a kernel code and maybe some warnings from a compiler.  Other time,
when a "real code" will be involved, your luck may not hold.

Moral: random trials are not a substitute for paying attention to
'patch' warnings and error messages (and acting on a received
information).

  Mcihal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-04-11 14:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.93.970410214515.6433B-100000@paris.users.spiritone.com>
1997-04-11 14:18 ` Michal Jaegermann [this message]
1997-04-11  4:52 Compiling 2.0.30 David Paris
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox