Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Brian E.W. Wood" <beww@intac.com>
To: axp-list@redhat.com
Subject: Re: compiling MILO on an avanti
Date: Sun, 29 Mar 1998 14:43:11 -0400	[thread overview]
Message-ID: <351E963F.41C6@intac.com> (raw)
In-Reply-To: 199803291809.UAA09290@lilserv.univ-lille1.fr

Philippe Girolami wrote:
> 
> Ok, now I'm desperatly trying to compile MILO so I can try to find out why
> it won't reboot the alpha I'm working on.
> I'm using a 2.0.33 kernel with the 2.0.33 patches.  I'm using the
> milo2.0.30 sources, I've made config everything.
> 
> When I make milo I get the following error:
> 
> devices.c:903 : conflicting types for 'block_read'
> /usr/src/linux/include/linux/fs.h:691: previous declaration of 'block_read'
> and the same for 'block_write'.
> 
> So I checked out the source and found that 'block_read' and 'block_write'
> return an 'int' in one and a 'long' in the other.
> Also a pointer to a buffer is passed without a 'const' in devices.c and a
> counter is an 'unsigned long' instead of an 'int'.
> So I changed devices.c to match fs.h but that still doesn't work because
> now I still get the previous declaration and it says
> 
> passing arg 1 of '__memcpy' discards 'const' from pointer target type.
> 
> So I'd like to know if anyone's run into this ?!?.  Can I assume the
> block_read and block_write subroutines in devices.c
> can be renamed to something else if I rename all the calls in the milo
> source?

I set up an avanti yesterday for a co-worker. Didn't use Milo, booted
from SRM using the avanti-s image and installed aboot according to the
FAQ on the RedHat site. Seems to be working OK but I've not tested it
extensively.

-- 
Brian E.W. Wood  beww@intac.com


  reply	other threads:[~1998-03-29 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-29 18:06 compiling MILO on an avanti Philippe Girolami
1998-03-29 18:43 ` Brian E.W. Wood [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-03-29 22:31 Philippe Girolami
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