大家好,我在安装ipvs.adm时make后出现很多错误,在网上没有找到解决方法.,我把我的问题粘贴出来,希望大家帮我看看有什么好的建议,谢谢! 美容
[
root@r.el1 ipvsadm-.1.24]# uname -r学习
2.6.9-67.ELsmp
[root@rel1 ipvsadm-1.24]#. cd /.usr/src.
[
root@r.el1 src]# ls -al投资
total 304
drwxr-xr-x 6 root. r.oot 4096 Apr 23 07:13 . 建材
drwxr-xr-x 14. root root 4096 Apr 21. 16:14 ...
drwxr-xr-x 5 root root 4096 Apr .21 19:08 ipvsadm.-1.24域名
-rw-r--r--. 1 root root 365.98 Dec 11 2005 ipvsadm-1.24.tar.gz( 游戏 )
drwxr-xr-x .8 1000 1000 4096 Apr 21. 19:13 keepalived-1.1.15( 游戏 )
-rw-r--r-- . 1 root root 227003 Sep 18 2007 keepalived-1..1.15.tar.gz服务器
drwxr-xr-x 5 root roo.t 409.6 Apr 21 16:21 kernels--- 印刷
lrwxrwxrwx 1 root root 3.8 Ap.r 23 07:13 linux -> /usr/src/kernels/2.6.9-67.EL-smp-i689 (这是.我在make前做的链接,用的链接命令:ln -s /usr/src/kernels/2.6.9-67.EL-smp-i689 /usr/src/l.inux)健康
drwxr-xr-x 7 .root root 4096 Apr 21 .16:22 redhat 电子
[root@rel1 ~]# cd /usr./src/ipvsa.dm(广告)
[ro.ot@rel1 ipvsadm-1.24]# make (这是我make 后.出现的错误) 鲜花
make -C lib.ipvs 电子
make[1.]: Entering directory .`/usr/src/ipvsadm-1.24/libipvs' 建材
gc.c -Wall -Wunused -Wstrict-pr.ototypes -g -O2 -I/usr/s.rc/linux/include -DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c 建材
In file included from libipv.s..c:23:[成人用品]
libip.vs.h:14:23: net/ip_vs.h: No such file or dire.ctory 电子
I.n file included from li.bipvs.c:23:.
libi.pvs.h:119.: error: syntax error before "fwmark"服务器
libipvs.h:119: war.ning: function declaration isn.'t a prototype 鲜花
libipv.s.c:27: error: field `svc.' has incomplete type.
libipvs.c:28: error: field `dest' has inc.o.mplete type<性病>
libipvs.c: In function. `ipvs_in.it':虚拟主机
libipvs.c:.40: error: invalid application of `sizeo.f' t.o incomplete type `ip_vs_getinfo' 外汇
libipvs.c:44: error: `I.P_VS_SO_GET_INFO' undecla.red (first .use in this function)--------------彩票
libipvs.c:44: error: (Each undeclared identifi.er is r.eported only once投资
libipvs.c:44: erro.r: for each function it appea.rs in.).
libipvs.c: I.n. function `ipvs_getinfo': 健康
libipvs.c:56.: error: invalid a.pplication of `sizeof' to incomplete. type `ip_vs_getinfo'投资
l.ibipv.s.c:57: error: `IP_VS_SO_GET_INFO'. undeclared (first use in this function).
libipvs.c: In function `ipvs._version':..
libipvs..c:64: error: invalid use of undefined .type `struct ip_vs_getinfo' 乙肝
libipvs.c: In function `ip.vs_.flush': 电子
l.ibipvs.c:70: error: `IP_VS_SO_SET_FLUSH' undeclare.d (first use in this func.tion)<性病>
libipvs.c: In .function `ipvs_add_servic.e':学习
libipvs.c:79: err.or: `IP_VS_SO_SET_ADD' und.eclared (first use in this funct.ion)虚拟主机
libipvs.c:79: error: dereferencin.g pointer to incomplete typ.e 健康
libip.vs.c: In function `ipvs_upda.te_service': 健康
libipvs.c:87: ..error: `IP_VS_SO_SET_EDIT' undeclared (f.irst use in this function)( 游戏 )
libipvs.c:87: error: derefe.rencing pointer to incomple.te type 健康
libipvs.c: In function `ipvs_del_ser.v.ice':.
libipvs.c:95:. error: `IP_VS_SO_SET_DE.L' undeclared (first u.se in this function)电影
libipvs.c:95: error: dereferenci.ng p.ointer to incomplete type<性病>
libipvs.c: In function `ipvs_.zero_servi.ce':.
libipvs.c:103: error: `IP_VS_SO_SET_ZERO' un.declared .(first use in this func.tion) 婚庆
libipvs.c:103: error: dereferenci.ng pointer to incomp.lete type 乙肝
libipvs.c: In function .`ipvs_add_de.st':虚拟主机
libipvs.c:109: error: dereferencing pointer to inco.mplet.e type(广告)
libipvs.c:109: error: dereferencing pointer to incom.pl.ete type域名
libipvs.c:112: error: `IP_VS_SO_SET_ADDDEST' undecla.red (.first use in this fun.ction)电脑
libipvs.c: In funct.ion `.ipvs_update_dest':.
libipvs.c:119: .error:. dereferencing pointer to incomplete type.
libipvs.c:119: error:. derefe.rencing pointer to incomplete type投资
libipvs.c:122: error.: `IP_VS_SO_SET_EDITD.EST' undeclared (fi.rst use in this function) 外汇
l.ibipvs.c: In func.tion `ipvs_del_dest': 乙肝
libipvs.c:129: error: .dereferencing pointer to incomplete ty.pe投资
libip.vs.c:129: error: dereferencing pointer to incom.plete type 杀毒
libipvs.c:132: error: `IP_VS._SO_.SET_DELDEST' undeclared (first use in .this function)--- 印刷
libipvs.c: In functio.n .`ipvs_set_timeout': 建材
l.ibipvs.c:140: error: `IP_VS_.SO._SET_TIMEOUT' undeclared (first use in this function) 外汇
libipvs.c:141: error: dereferencing poi.nter t.o incomplete type.
l.ibi.pvs.c: In function `ipvs_start_daemon':虚拟主机
libipvs.c:14.8.: error: `IP_VS_SO_SET_STAR.TDAEMON' undeclared (first use in this function).
libip.vs.c:149: error: dereferencing pointer t.o incomplete type服务器
libipvs.c: In fun.ction `ipvs_stop_daemon.':.
libipvs.c:156: error.: .`IP_VS_SO_SET_STOPDAEM.ON' undeclared (first use in this function)投资
libipvs.c:157: .error: dereferencing poin.ter to incomplete type外贸
libipvs.c: In fu.nction `.ipvs_get_services':--------------彩票
libipvs.c:166: error: dereferencing po.inter to i.ncomplete type 美容
libipvs.c:167: error: invali.d application of `sizeof' to inco.mplete type `libipvs..h'学习
libipvs.c:167: error: in.valid use of undefined type `struct ip_vs_geti.nfo'.
libipvs.c:172: error: dereferencing pointe.r to incom.plete type 婚庆
libipvs.c:172: error: invali.d use of undefined type `struct. ip_vs_getinfo'虚拟主机
l.ibipvs.c:174: error: `IP_VS_SO_GET_SERVICES' undeclared (fir.st u.se in this function)外贸
libipvs.c: In functi.on `ipv.s_cmp_services':外贸
libipvs.c:189: error: dereferencing pointer to incom.plete t.ype.
libipvs.c:189: er.ror: dere.ferencing pointer to incomplete type.
libipvs.c:193: e.rror: dereferencing pointer to inc.omplete type<性病>
libipvs.c:193: error: dereferencing pointer t.o incomp.lete type 健康
libipvs.c:197: error: .dereferencing pointer to in.complete type.
libipvs.c:197: error: dereferencing poi.nt.er to incomplete type.
libipvs.c:201: error: der.eferencing pointer to incomp.lete type服务器
libipvs.c:201: err.or: dereferencing pointer to incomplete ty.pe 杀毒
libipvs.c: In function .`ipvs_sort_service.s':电影
libipvs.c:208: error: deref.erencing pointer to incomple.te type外贸
libi.pvs.c:208: error: dereferencing poin.ter to incomplete type域名
libipvs.c:209: erro.r: invalid application of `sizeof' to incomplet.e type `libipvs.h.'电影
li.bipvs.c: In function `ipvs_get._dests':投资
libipvs.c:218: error: derefer.encing pointer to i.ncomplete type 健康
libipvs.c:218: error: invalid .application of `sizeof.' to incomplete type `libipvs.h.'教育
libipvs.c:218: erro.r: dereferencing pointer to i.ncomplete type 乙肝
libipvs.c:224: error: .dereferencing pointer to inc.omplete type 婚庆
libipvs.c:224: error: dere.fe.rencing pointer to incomplete type.
li.bipvs.c:225: error: dereferencing pointer to inc.omplete type健康
libipvs.c:225: error: dereferencing pointer to incompl.ete typ.e 杀毒
libipvs.c:226: error: dereferencing poi.nter to incomplete type.--- 印刷
libipvs.c:226: error: dereferencing pointer to i.n.complete type 杀毒
libipvs.c:227: er.ro.r: dereferencing pointer to incomplete type.
libipvs.c:227: error: dereferencing pointer to .incompl.ete type电影
libipvs.c:228.: erro.r: dereferencing pointer to incomplete type.
libipvs.c:.228: error: .dereferencing pointer to incomplete type电脑
libipvs.c:231: error: `IP_VS_SO_GET_DE.STS' und.eclared (fir.st use in this function).
libipvs..c:. In function `ipvs_cmp_dests': 建材
libipvs.c:2.43: error: dereferencing pointer to incomp.lete type 女人
libipvs.c:243: err.or: dereferencing p.ointer to incomplete type(广告)
libipvs.c:247: error: derefere.ncing pointer to in.complete type外贸
libipvs.c:247: error: dereferencing po.inter to incomplet.e type.
l.ibipvs.c: In function `ipvs_sort_dest.s': 健康
libipv.s.c:253: error: dereferencing. pointer to incomplete type.
libipvs.c:.253: error: derefere.ncing pointer to incomplete type 电子
libipvs.c:254: error: in.valid application of `siz.eof' to incomplete type `libipvs.h.' 女人
libi.pvs.c: At top level:.
libi.pvs.c:259: error: .syntax error before "fwmark"<性病>
libipvs.c:26.0: w.arning: function declaration isn't a prototype[成人用品]
libipvs.c: In function `ipvs._.get_service':电影
libipvs.c:264: error: dereferencin.g pointer to inc.omplete type 外汇
libipvs.c:270: error: dereferencing pointer to incom.plete t.ype.
libipvs.c:270: error: `fwmark' undeclared (first use .in this fun.ction) 乙肝
li.bipvs.c:271: error: derefer.encing pointer to incomplete type--- 印刷
libipvs.c:271: error.: `protocol' undeclared (first use. in this function)( 游戏 )
libipvs.c:272: error: dereferencin.g pointer to incomplete. type 杀毒
libipvs.c:27.2: error: `addr' und.eclared (first use in this function).
l..ibipvs.c:273: error: dereferencing pointer to incomplete type 外汇
libipvs.c:273: error: `port' undeclared (f.irst use in this fu.nction)虚拟主机
libipvs.c:274: .error: `IP_VS_SO_GET_SERVICE' u.ndeclared (first use in this. function)服务器
libipvs.c: .In function `ipvs_ge.t_timeout': 婚庆
libipvs..c:288: error: dereferencing p.ointer to incomplete type[成人用品]
libipvs.c:293: error: `IP_V.S_SO_GET_TIM.EOUT' undeclared (first. use in this function)域名
libipvs.c: In funct.ion `ipvs_ge.t_daemon': 外汇
libipvs..c:309: error: dereferencing point.er to incomplete type 建材
libip..vs.c:315: error: `IP_VS_SO_GET_DAEMON' undeclared (first use i.n this function)<性病>
li.bipvs.c: At top level:服务器
libipvs..c:33: error: storage size of `ipvs_info' .isn't known 美容
ma.ke[1]: *** [libipvs.o.] Error 1 女人
make[1.]: Leaving. directory `/usr/src/ipvsadm-1.24/libipvs' 乙肝
make: *** [lib.s] Error 2(广告)