hello.
ok, i'm done with creating the softlink for the kernel:
root@lvs-director:~# ls -l /usr/src/
total 8
lrwxrwxrwx 1 root root 13 May 29 17:52 linux -> linux-2.4.20//
drwxr-xr-x 15 573 573 4096 May 30 10:16 linux-2.4.20/
drwxr-xr-x 7 root root 4096 Dec 13 04:23 rpm/
nevertheless, is still got the same error when issueing "depmod" command.
here is my error when i want to install the ipvsadm:
root@lvs-director:/usr/src/linux-2.4.20/ipvsadm# make install
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-DVERSION=\"1.15\" -DHAVE_POPT -c config_stream.c
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-DVERSION=\"1.15\" -DHAVE_POPT -c dynamic_array.c
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: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: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: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)
make: *** [ipvsadm.o] Error 1
about the iptables, should i install/remove/disable it?
----------------------------------------------------------------------
-no feeling no regret-
------------------------------------------------------------
Your Free Email from http://www.linux.com.my (Malaysia Linux Portal)
|