kernel 2.0.9 compile error ide.c

kernel 2.0.9 compile error ide.c

Post by Robert Staszewsk » Sun, 28 Jul 1996 04:00:00



With the 2.0.9 kernel patch and IDE HD configured I get the following
error while compiling

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/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0/drivers/block'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0/drivers'
make: *** [linuxsubdirs] Error 2

Anyone else having as much fun?

 
 
 

kernel 2.0.9 compile error ide.c

Post by Chuck F » Sun, 28 Jul 1996 04:00:00


: > 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.)
:
: move the definition of hd_status out of the ifdef
: at the beginning of this function.  I'm typing this from 2.0.9...

I just ftp'd the whole linux-2.0.9.tar.gz kernel source and this problem
went away. It appeared for me only after applying the patch.

--chuck

 
 
 

kernel 2.0.9 compile error ide.c

Post by Mark Ha » Sun, 28 Jul 1996 04:00:00


Quote:> 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.)

move the definition of hd_status out of the ifdef
at the beginning of this function.  I'm typing this from 2.0.9...

regards, mark hahn.
--

                                        http://neurocog.lrdc.pitt.edu/~hahn/

 
 
 

1. SLS Kernel 1.2.8: New IDE driver Compile Error

On compile with  the new ide.c driver, I  am getting a  HDIO_GET_CHIPSET not
found definition  (also on HDIO_SET_CHIPSET) when  I try to  compile the new
IDE driver (block/ide.c).  Where would this constant be defined?  I tried to
grep almost everything, but without success.  Any idea what this is?


PS: please respond to my email account.  our news server is somewhat flaky.

2. Modern signal handling reference?

3. 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c

4. AOL email from Linux?

5. 2.1.85 bugs: umsdos compile errors, ide-disk insmod errors

6. Microsoft fights Sun's Java injunction

7. IDE status errors (IDE/SCSI conflict or buggy ide driver?)

8. Web site for Solaris security

9. Kernel Compile Errors - Error 2

10. kernel error when compiling kernel on 4-stable (after make dep, during make)

11. kernel error when compiling kernel on 4-stable (after make dep, d

12. kernel error when compiling kernel on 4-stable (after make dep, durin

13. kernel/swsusp.c doesn't compile with modular IDE