Ronald Hummelink maillist at hummelink.xs4all.nl
Mon Mar 1 14:08:26 PST 2004

On Mon, 2004-03-01 at 23:02, 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.

You should :)


This says to be for a libc issue, but it is about readahead, don't have
a proper system to test.

> David Jensen
Linux is like a small snowball rolling downhill. Microsoft is just
waiting down the mountain...

More information about the blfs-dev mailing list