Subject: Re: Compiling (was: Re: Serial port)
To: None <port-arm32@NetBSD.ORG>
From: Alexander Hayward <alexander.hayward@lady-margaret-hall.oxford.ac.uk>
List: port-arm32
Date: 01/04/1997 14:38:42
On Sat, 4 Jan 1997, Markus Baeurle wrote:
> in message <Pine.OSF.3.91.970102191231.8738A-100000@sable.ox.ac.uk>
>           Alexander Hayward <alexander.hayward@lady-margaret-hall.oxford.ac.uk>
> wrote:
> 
> > > Well you have to use a current make due to recent changes, ie. you must also
> > > sup the "release" bmake and compile and install that.
> >
> > Hmm, it seemed to compile OK... Its just that it would hang whilst booting
> > (a panic due to a bad return value from kmem_suballoc, I think).
> 
> I'm not sure about it, but I got errors while the compat library was compiled.
> If yours was up to date you might not experience the problem now but the next
> time it changes.

Ah, yes, it probably wasn't...

> And try getting more recent sources and recompile again, as I said before mine
> crashes while probing the Cumana card, so it seems to be OK otherwise.

I got it to work with newer sources eventually. I grabbin some even newer 
ones now...

> > Right, OK... I haven't actually been able to get sup working, though...
> 
> What's the problem? Maybe I can help, I've been using sup regularly for several
> months now.

The main problem seems to be getting down to reading the documentation :-)

If I knew which files I needed to grab and put where and what to type to 
set it going that'd be great...

OTOH perhaps I ought to read them again (I don't htink they made much 
sense last time I tried).

> > ATM I tend to just grab the whole lot in to a .tgz file and copy
> > it to floppy when I'm at Uni, and get individual files that seem
> > important and are out of date when I'm here.
> 
> Eek!

Actually, since my machine is not on the network there thats the only way 
of doing it. I'm still able to grab them pretty much as fast as a floppy 
disc goes :-)

> I think the clean way is to change the relevant line in
> /sys/arch/arm32/conf/files.arm32 from netinet/in_cksum.c to
> arch/arm32/arm32/in_cksum.S and put in_cksum.S in there.
> If anybody knows better, please correct me.

Yes, you're probablyt right. It was just easier to hack the Makefile than 
work out what I'm really supposed to change :-)