From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25602 invoked from network); 29 Mar 1998 18:41:20 -0000 Received: from unknown (HELO axe.intercall.com) (root@208.5.199.1) by mail2.redhat.com with SMTP; 29 Mar 1998 18:41:20 -0000 Received: from [207.77.26.50] (ts7-50.intercall.com [207.77.26.50]) by axe.intercall.com (8.8.7/8.6.9) with SMTP id NAA29287 for ; Sun, 29 Mar 1998 13:40:58 -0500 (EST) Sender: beww@axe.intercall.com Message-ID: <351E963F.41C6@intac.com> Date: Sun, 29 Mar 1998 14:43:11 -0400 From: "Brian E.W. Wood" Organization: Unix Dilletante X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.30 alpha) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: compiling MILO on an avanti References: <199803291809.UAA09290@lilserv.univ-lille1.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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