Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Philippe Girolami" <girolami@eclia5.ec-lille.fr>
To: <axp-list@redhat.com>
Subject: compiling MILO on an avanti
Date: Sun, 29 Mar 1998 20:06:44 +0200	[thread overview]
Message-ID: <199803291809.UAA09290@lilserv.univ-lille1.fr> (raw)

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



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

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