给系统打LVS补丁的问题?摆脱了,谢谢您
linux 9系统
ipvs-1.0.9目录
make patchkernel、make installsource后
进入/usr/src/linux
make menuconfig
make bzImage
make modules出现如下错误?谁知道是什么问题?出在那里,我是新手,不太会看这些东西 :(
- [root@spy linux]# make modules
- make -r -f tmp_include_depends all
- make[1]: Entering directory `/usr/src/linux-2.4.20-8'
- make[1]: Circular /usr/src/linux-2.4.20-8/include/asm/smplock.h <- /usr/src/linu
- x-2.4.20-8/include/linux/interrupt.h dependency dropped.
- make[1]: Circular /usr/src/linux-2.4.20-8/include/linux/netfilter_ipv4/ip_conntr
- ack.h <- /usr/src/linux-2.4.20-8/include/linux/netfilter_ipv4/ip_conntrack_helpe
- r.h dependency dropped.
- make[1]: Nothing to be done for `all'.
- make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
- make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Ws
- trict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-fram
- e-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
- -include /usr/src/linux-2.4.20-8/include/linux/modversions.h" MAKING_MODULES=1 m
- odules
- make[1]: Entering directory `/usr/src/linux-2.4.20-8/kernel'
- gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wn
- o-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpr
- eferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/li
- nux-2.4.20-8/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUIL
- D_BASENAME=cpufreq -DEXPORT_SYMTAB -c cpufreq.c
- In file included from cpufreq.c:15:
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:83: `get_option_R_ver_str' declar
- ed as function returning a function
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:83: warning: parameter names (wit
- hout types) in function declaration
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:84: invalid suffix on integer con
- stant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:84: parse error before numeric co
- nstant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:84: `get_options_R_ver_str' decla
- red as function returning a function
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:84: warning: function declaration
- isn't a prototype
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:85: invalid suffix on integer con
- stant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:85: parse error before numeric co
- nstant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:85: `memparse_R_ver_str' declared
- as function returning a function
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:85: warning: function declaration
- isn't a prototype
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:91: invalid suffix on integer con
- stant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:91: parse error before numeric co
- nstant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:92: `printk_R_ver_str' declared a
- s function returning a function
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:92: warning: function declaration
- isn't a prototype
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:108: parse error before numeric c
- onstant
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:108: warning: function declaratio
- n isn't a prototype
- /usr/src/linux-2.4.20-8/include/linux/kernel.h:109: warning: parameter names (wi
- thout types) in function declaration
- In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
- from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
- from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
- from cpufreq.c:16:
- /usr/src/linux-2.4.20-8/include/asm/processor.h:82: invalid suffix on integer co
- nstant
- /usr/src/linux-2.4.20-8/include/asm/processor.h:82: parse error before numeric c
- onstant
- /usr/src/linux-2.4.20-8/include/asm/processor.h:82: warning: function declaratio
- n isn't a prototype
- /usr/src/linux-2.4.20-8/include/asm/processor.h:265: invalid suffix on integer c
- onstant
- /usr/src/linux-2.4.20-8/include/asm/processor.h:265: parse error before numeric
- constant
- /usr/src/linux-2.4.20-8/include/asm/processor.h:265: warning: function declarati
- on isn't a prototype
- /usr/src/linux-2.4.20-8/include/asm/processor.h:269: warning: parameter names (w
- ithout types) in function declaration
- cpufreq.c: In function `cpufreq_proc_init':
- cpufreq.c:327: warning: implicit declaration of function `printk_R1b7d4074'
- cpufreq.c: At top level:
- cpufreq.c:192: warning: `cpufreq_setup' defined but not used
- make[1]: *** [cpufreq.o] Error 1
- make[1]: Leaving directory `/usr/src/linux-2.4.20-8/kernel'
- make: *** [_mod_kernel] Error 2
复制代码
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论