hdparm-and-linux-2.4.25

Ken Moffat ken at kenmoffat.uklinux.net
Mon Mar 1 14:13:08 PST 2004


On Mon, 1 Mar 2004, David Jensen wrote:

> hdparm won't build with linux-2.4.25 headers (lfs-cvs):
>
> gcc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith
> -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings
> -Waggregate-return -Wnested-externs -Wtrigraphs    -c -o hdparm.o hdparm.c
> hdparm.c:55: error: 'readahead' redeclared as different kind of symbol
> /usr/include/bits/fcntl.h:185: error: previous declaration of 'readahead'
> hdparm.c:55: warning: 'readahead' was declared 'extern' and later 'static'
> make: *** [hdparm.o] Error 1
>
> I took a look, I didn't see a quick patch.  Something more to fix.
>
> David Jensen
>
>

 I posted one a few days ago (for hdparm-5.5).

Ken
-- 
 Hegel bemerkte irgendwo, daß alle großen weltgeschichtlichen Tatsachen
und Personen sich sozusagen zweimal ereignen.  Er hat vergessen,
hinzuzufügen: das eine Mal als Tragödie, das andere Mal als Farce

 Marx, "Der achtzehnte Brumaire des Louis Bonaparte"




More information about the blfs-dev mailing list