LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 617|回复: 0

难以置信::我的内核编译问题

[复制链接]
发表于 2005-10-13 13:05:11 | 显示全部楼层 |阅读模式
the lirc-0.7.1 directory is my packet that used for Linux Infrard Remote Control project, I have configured it with complete fineshed.

OS: update from Fedora core 2 with kernel is 2.4.22 to kernel is  2.6.8.
Machine: DELL dimension 3000

[root@root lirc-0.7.1]# make
make  all-recursive
make[1]: Entering directory `/home/lirc-0.7.1'
Making all in drivers
make[2]: Entering directory `/home/lirc-0.7.1/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/lirc-0.7.1/drivers/lirc_dev'
Makefile:8: **************************************************
Makefile:8: *** Makefile trick not undone, trying to recover *
Makefile:8: **************************************************
mv Makefile.automake Makefile
make all
make[4]: Entering directory `/home/lirc-0.7.1/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux-2.4.22-1.2115.nptl/ SUBDIRS=/home/lirc-0.7.1/drivers/lirc_dev modules \
        KBUILD_VERBOSE=1
make[5]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[5]: *** [modules] Error 1
make[5]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[4]: *** [lirc_dev.o] Error 2
make[4]: Leaving directory `/home/lirc-0.7.1/drivers/lirc_dev'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/lirc-0.7.1/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lirc-0.7.1/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lirc-0.7.1'
make: *** [all] Error 2
[root@root lirc-0.7.1]#vi /usr/src/linux-2.6.8/myconfig(here is my kernel config) as follow:
...........
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
                                                                                       
#
# Loadable module support
#
CONFIG_MODULES=y      ------------------LOOK AT THIS !!!!
# CONFIG_MODULE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y  
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
                                                                                       
#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set

.....................
help please ! thanks!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表