为什么我 make clean moudles 时总是出错The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled
出错信息里面写的很清楚:
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
在编译内核的时候,里面有一个选项:loadable module support将他选中,编译之后使用新的内核登录再安装即可。
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
ops2008 于 2008-08-30 22:25:44发表:
你好,我不明白为什么升级内核,是说为什么我装网卡驱动是要编译内核
ops2008 于 2008-08-30 22:09:53发表:
/usr/src/linux-2.4-20-81/src 没有这个目录或文件,是什么意思?
原来里面是不是就没有啊
deepwhite 于 2008-08-28 09:30:12发表:
你自己不明白为什么不想升级内核?我就更不明白了……(你是不是写错字了?发帖前最好好歹改改,让大家看的明白……)
系统安装的时候安装的内核是早就编译好的,没有听说过安装的时候再编译的。
最后多说一句:如果你不做嵌入式,如果不是你用的嵌入式板子的厂家声称:”你不用Redhat 9就不给出技术支持!“,如果不是这两种情况的话,你换个发行版吧,Redhat虽然经典,但是老了。很多的软件不能用,很多硬件不支持。如果你用一个新些的发行版的话我估计你提得这个问题不会出现,网卡驱动应该会自动安装好。
ops2008 于 2008-08-27 21:58:32发表:
你好,我不明白为什么我不想升级内核,只是安装驱动也要编译它。安装操作系统时候,它为什么不自动编译呢
deepwhite 于 2008-08-27 11:49:35发表:
是在那个目录下,但是应该执行menuconfig。
关于内核编译的具体步骤你可以找个教程来看看,我这里只是告诉你应该在配制的时候更改什么东西。
ops2008 于 2008-08-27 09:45:57发表:
你好。因为我刚学LINUX,所以请说得稍微具体一点,是不是在/usr/src/linux-2.4中make config
deepwhite 于 2008-08-25 23:16:40发表:
你没有编译过内核吧?应该是这样。
出错信息里面写的很清楚:
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
在编译内核的时候,里面有一个选项:loadable module support将他选中,编译之后使用新的内核登录再安装即可。
ops2008 于 2008-08-25 21:58:45发表:
再详细说说,希望有人帮忙
我装的redhat 9 内核是2.4 从网上下的8169的驱动 按着说明安装可是
在make clean modules 时出现
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers
make -C /lib/modules/2.4.20-8/build SUBDIRS=/tmp/driver/r8168-8.003.00/src/src modules
make[1]: Entering directory `/usr/src/linux-2.4.20-8'
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
好像说内核有问题(5ty(