[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel compile warnings?



I downloaded (through dselect) a fresh copy of the 2.4.22 kernel source,
untarred it, copied a .config from another copy of the 2.4.22 source, ran
make oldconfig, and when i try to build, i get all sorts of warnings like:

hp_psaux.c:41:26: asm/hardware.h: No such file or directory

Sure enough, my /usr/src/linux/drivers/char/hp_psaux.c has a line, not
surrounded by #ifdefs or anything, reading:

#include <asm/hardware.h>


However, 

 find /usr/include | grep hardware\\.h

turns up nothing and 
 
 find /usr/src/linux | grep hardware\\.h

only finds stuff in asm-arm/ and asm-sh64/

The Google search at http://tinyurl.com/2rfkg turns up many results of
people having this problem, but after reading through all those messages,
i never found an answer.

Where is this asm/hardware.h supposed to be found? If i'm not supposed to
have it, why does that file #include it?

Oh, and as long as i'm posting -- is http://lists.debian.org/users.html
truncated?

Thanks



Reply to: