From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2616 invoked from network); 29 Mar 1998 18:09:31 -0000 Received: from lilserv.univ-lille1.fr (134.206.1.15) by mail2.redhat.com with SMTP; 29 Mar 1998 18:09:31 -0000 Received: from lf325.rez.ec-lille.fr (lf325.rez.ec-lille.fr [193.49.179.80]) by lilserv.univ-lille1.fr (8.8.7/jtpda-5.1) with ESMTP id UAA09290 for ; Sun, 29 Mar 1998 20:09:29 +0200 (MET DST) Message-Id: <199803291809.UAA09290@lilserv.univ-lille1.fr> From: "Philippe Girolami" To: Subject: compiling MILO on an avanti Date: Sun, 29 Mar 1998 20:06:44 +0200 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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? Thanks, Philippe Girolami