Bug 180320 - hdparm doesn't rebuild
Summary: hdparm doesn't rebuild
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: hdparm
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-07 09:32 UTC by Bastien Nocera
Modified: 2015-01-08 00:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-07 09:55:25 UTC
Target Upstream Version:
Embargoed:


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

Description Bastien Nocera 2006-02-07 09:32:19 UTC
hdparm-5.4-1

$ 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 09:32:19 UTC
Created attachment 124308 [details]
hdparm-readahead.patch

Comment 2 Karsten Hopp 2006-02-07 09:55:25 UTC
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.