djensen at inebraska.com
Mon Mar 1 14:02:25 PST 2004
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.
More information about the blfs-dev