LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: IP: Netfilter & IP: Virtual Server Configuration During Kernel Compi

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: IP: Netfilter & IP: Virtual Server Configuration During Kernel Compilation
From: "linux loader" <irwan@xxxxxxxxxxxx>
Date: Thu, 29 May 2003 01:11:50 -0700
I install all the patch accordingly to this howto:
http://www.linuxvirtualserver.org/Joseph.Mack/mini-HOWTO/LVS-mini-HOWTO.html#inst

all_general

here is my error when i want to install the ipvsadm:
root@lvs-director:/tmp/ipvsadm# make install
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include 
-DVERSION=\"1.15\" -DHAVE_POPT -c ipvsadm.c
ipvsadm.c:110:57: linux/ip_fw.h: No such file or directory
ipvsadm.c:111:61: linux/ip_masq.h: No such file or directory
ipvsadm.c:112:25: net/ip_masq.h: No such file or directory
ipvsadm.c:113:23: net/ip_vs.h: No such file or directory
In file included from config_stream.h:13,
                 from ipvsadm.c:121:
dynamic_array.h:125: parse error before numeric constant
dynamic_array.h:126: parse error before ')' token
ipvsadm.c:206: warning: `struct ip_masq_ctl' declared inside parameter list
ipvsadm.c:206: warning: its scope is only this definition or declaration, which 
is probably not what you want
ipvsadm.c: In function `parse_options':
ipvsadm.c:356: dereferencing pointer to incomplete type
ipvsadm.c:356: `IP_MASQ_CMD_ADD' undeclared (first use in this function)
ipvsadm.c:356: (Each undeclared identifier is reported only once
ipvsadm.c:356: for each function it appears in.)
ipvsadm.c:360: dereferencing pointer to incomplete type
ipvsadm.c:360: `IP_MASQ_CMD_SET' undeclared (first use in this function)
ipvsadm.c:364: dereferencing pointer to incomplete type
ipvsadm.c:364: `IP_MASQ_CMD_DEL' undeclared (first use in this function)
ipvsadm.c:368: dereferencing pointer to incomplete type
ipvsadm.c:368: `IP_MASQ_CMD_ADD_DEST' undeclared (first use in this function)
ipvsadm.c:372: dereferencing pointer to incomplete type
ipvsadm.c:372: `IP_MASQ_CMD_SET_DEST' undeclared (first use in this function)
ipvsadm.c:376: dereferencing pointer to incomplete type
ipvsadm.c:376: `IP_MASQ_CMD_DEL_DEST' undeclared (first use in this function)
ipvsadm.c:377: dereferencing pointer to incomplete type
ipvsadm.c:377: `IP_MASQ_TARGET_VS' undeclared (first use in this function)
ipvsadm.c:381: dereferencing pointer to incomplete type
ipvsadm.c:381: `IP_MASQ_CMD_FLUSH' undeclared (first use in this function)
ipvsadm.c:386: dereferencing pointer to incomplete type
ipvsadm.c:386: `IP_MASQ_CMD_LIST' undeclared (first use in this function)
ipvsadm.c:432: dereferencing pointer to incomplete type
ipvsadm.c:434: dereferencing pointer to incomplete type
ipvsadm.c:436: dereferencing pointer to incomplete type
ipvsadm.c:439: dereferencing pointer to incomplete type
ipvsadm.c:440: dereferencing pointer to incomplete type
ipvsadm.c:441: dereferencing pointer to incomplete type
ipvsadm.c:447: dereferencing pointer to incomplete type
ipvsadm.c:449: dereferencing pointer to incomplete type
ipvsadm.c:455: dereferencing pointer to incomplete type
ipvsadm.c:459: dereferencing pointer to incomplete type
ipvsadm.c:460: dereferencing pointer to incomplete type
ipvsadm.c:465: dereferencing pointer to incomplete type
ipvsadm.c:467: `IP_MASQ_TNAME_MAX' undeclared (first use in this function)
ipvsadm.c:467: dereferencing pointer to incomplete type
ipvsadm.c:467: dereferencing pointer to incomplete type
ipvsadm.c:467: dereferencing pointer to incomplete type
ipvsadm.c:470: dereferencing pointer to incomplete type
ipvsadm.c:470: `IP_VS_SVC_F_PERSISTENT' undeclared (first use in this function)
ipvsadm.c:474: dereferencing pointer to incomplete type
ipvsadm.c:485: dereferencing pointer to incomplete type
ipvsadm.c:486: dereferencing pointer to incomplete type
ipvsadm.c:487: dereferencing pointer to incomplete type
ipvsadm.c:493: dereferencing pointer to incomplete type
ipvsadm.c:493: dereferencing pointer to incomplete type
ipvsadm.c:499: dereferencing pointer to incomplete type
ipvsadm.c:499: `IP_MASQ_F_VS_TUNNEL' undeclared (first use in this function)
ipvsadm.c:505: dereferencing pointer to incomplete type
ipvsadm.c:505: `IP_MASQ_F_VS_DROUTE' undeclared (first use in this function)
ipvsadm.c:511: dereferencing pointer to incomplete type
ipvsadm.c:514: dereferencing pointer to incomplete type
ipvsadm.c:516: dereferencing pointer to incomplete type
ipvsadm.c:569: dereferencing pointer to incomplete type
ipvsadm.c:571: dereferencing pointer to incomplete type
ipvsadm.c: In function `process_options':
ipvsadm.c:808: storage size of `ctl' isn't known
ipvsadm.c:813: sizeof applied to an incomplete type
ipvsadm.c:813: sizeof applied to an incomplete type
ipvsadm.c:813: sizeof applied to an incomplete type
ipvsadm.c:813: sizeof applied to an incomplete type
ipvsadm.c:813: sizeof applied to an incomplete type
ipvsadm.c:813: sizeof applied to an incomplete type
ipvsadm.c:814: `IP_MASQ_TARGET_VS' undeclared (first use in this function)
ipvsadm.c:818: `IP_MASQ_F_VS_DROUTE' undeclared (first use in this function)
ipvsadm.c:825: `IP_MASQ_CMD_LIST' undeclared (first use in this function)
ipvsadm.c:830: `IP_MASQ_CMD_ADD' undeclared (first use in this function)
ipvsadm.c:830: `IP_MASQ_CMD_SET' undeclared (first use in this function)
ipvsadm.c:836: `IP_VS_SVC_F_PERSISTENT' undeclared (first use in this function)
ipvsadm.c:852: `IP_MASQ_CMD_ADD_DEST' undeclared (first use in this function)
ipvsadm.c:853: `IP_MASQ_CMD_SET_DEST' undeclared (first use in this function)
ipvsadm.c:853: `IP_MASQ_CMD_DEL_DEST' undeclared (first use in this function)
ipvsadm.c:873: `IP_MASQ_F_VS_TUNNEL' undeclared (first use in this function)
ipvsadm.c:884: `IP_FW_MASQ_CTL' undeclared (first use in this function)
ipvsadm.c:906: `IP_MASQ_CMD_DEL' undeclared (first use in this function)
ipvsadm.c:808: warning: unused variable `ctl'
ipvsadm.c: In function `parse_timeout':
ipvsadm.c:1051: `IP_VS_TEMPLATE_TIMEOUT' undeclared (first use in this 
function)
ipvsadm.c: In function `version':
ipvsadm.c:1157: warning: implicit declaration of function `NVERSION'
ipvsadm.c:1157: `IP_VS_VERSION_CODE' undeclared (first use in this function)
ipvsadm.c:1157: warning: too few arguments for format
make: *** [ipvsadm.o] Error 1

here is my error when i'm issueing depmod command:
root@lvs-director:/tmp/ipvsadm# depmod
/lib/modules/2.4.20/kernel/net/ipv4/ipip.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_dh.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_ftp.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_lblc.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_lblcr.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_lc.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_nq.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_rr.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_sed.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_sh.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_wlc.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/ipvs/ip_vs_wrr.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_conntrack_irc.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_nat_ftp.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_nat_irc.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_nat_snmp_basic.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_queue.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_DSCP.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_ECN.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_LOG.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_MARK.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_MIRROR.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_REJECT.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_TCPMSS.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_TOS.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_ULOG.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_conntrack.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_ecn.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_limit.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_mac.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_owner.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_tcpmss.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_ttl.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/ipt_unclean.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/iptable_filter.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/iptable_mangle.o
depmod: *** Unresolved symbols in 
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/iptable_nat.o





----------------------------------------------------------------------

    -no feeling no regret-

------------------------------------------------------------
Your Free Email from http://www.linux.com.my (Malaysia Linux Portal)


---------------------------------------------------------------------
Express yourself with a super cool email address from BigMailBox.com.
Hundreds of choices. It's free!
http://www.bigmailbox.com
---------------------------------------------------------------------
<Prev in Thread] Current Thread [Next in Thread>