Bug 180320 - hdparm doesn't rebuild
hdparm doesn't rebuild
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: hdparm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2006-02-07 04:32 EST by Bastien Nocera
Modified: 2015-01-07 19:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-07 04:55:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
hdparm-readahead.patch (2.52 KB, patch)
2006-02-07 04:32 EST, Bastien Nocera
no flags Details | Diff

  None (edit)
Description Bastien Nocera 2006-02-07 04:32:19 EST

$ make
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: `readahead' redeclared as different kind of symbol
/usr/include/bits/fcntl.h:200: previous declaration of `readahead'
hdparm.c:55: warning: `readahead' was declared `extern' and later `static'
make: *** [hdparm.o] Error 1

The "readahead" variable clashes with the readahead function. Patch attached.
Comment 1 Bastien Nocera 2006-02-07 04:32:19 EST
Created attachment 124308 [details]
Comment 2 Karsten Hopp 2006-02-07 04:55:25 EST
This obviously doesn't qualify for inclusion in a quarterly update, but I'll
keep it around as DEFERRED just in case an erratum needs to be done.

Note You need to log in before you can comment on or make changes to this bug.