lkml.org 
[lkml]   [1996]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectError while compiling 2.0.9
Hi,

as I trie to compile linux-2.0.9, I've got following message:

gcc -D__KERNEL__ -I/usr/src/linux-2.0.9/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m386 -DCPU=386 -c -o
ide.o ide.c
ide.c: In function `try_to_identify':
ide.c:2404: `hd_status' undeclared (first use this function)
ide.c:2404: (Each undeclared identifier is reported only once
ide.c:2404: for each function it appears in.)
make[3]: *** [ide.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.9/drivers/block'

Then I looked into the ide.c, and found followin:

#ifdef CONFIG_BLK_DEV_CMD640
int retry = 0;
int hd_status;
try_again:
#endif

...
}
else
hd_status = IDE_ALTSTATUS_REG;
^^^^^^^^^--------------------------> of course here it isn't
known if not defined CONFIG_BLK_DEV_CMD640..

My question: Is it a bug or is it an error I did? I compile now with
CONFIG_BLK_DEV_CMD640, but I don't need it I think, I don't have this
chipset......

Hope to get some answers...

Rajko





\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.020 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site