I install kernel package from
http://www.kernel.org/pub/linux/kernel/v2.6/
as the default installation kinda leave the /usr/src/ directory empty. [btw i use fedora c3]
The only .config file i found is from /lib/modules/2.6.9-1.667/build/.config and after i copy it to the /usr/src/linux-2.6.9 , there is no error message of not found .config but the rest still remain the same.
=========beginning portion error message==============
make -C /usr/src/linux-2.6.9 SUBDIRS=/root/ide modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /root/ide/iteraid.o
In file included from include/linux/module.h:9,
from /root/ide/iteraid.c:233:
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from include/linux/module.h:10,
from /root/ide/iteraid.c:233:
include/linux/sched.h:4:36: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ide/iteraid.c:233:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ide/iteraid.c:233:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /root/ide/iteraid.c:233:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t'
include/linux/types.h:22: warning: data definition has no type or storage class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t'
include/linux/types.h:23: warning: data definition has no type or storage class
=========================================