|
发表于 2003-4-23 10:01:30
|
显示全部楼层
[quote:4343aa03fb="lbohr"]cd /usr/src/linux
make mrproper
make include/linux/version.h
make symlinks
这样生成version.h可以吗?
#define UTS_RELEASE "2.4.20-8custom"
^^^^^^^^^^是不是要改成2.4.20-8?
#define LINUX_VERSION_CODE 132116
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << + (c))[/quote]
u need not recompile kernel, this is enough. the two important ones are LINUX_VERSION_CODE and KERNEL_VERSION(a,b,c), u can check alsa source code to know why. be sure to add /usr/src/linux symbol link, otherwise ./configure --help to see how to explicitly set kernel include. |
|