I am trying to install ipvs version ipvs-1.24 on slackware linux version
2.6.10 and I'm getting the following errors while running make.
root@unknown:/tmp/ipvsadm-1.24# make
make -C libipvs
make[1]: Entering directory `/tmp/ipvsadm-1.24/libipvs'
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
libipvs.c: In function `ipvs_get_services':
libipvs.c:167: error: invalid application of `sizeof' to an incomplete type
libipvs.c: In function `ipvs_cmp_services':
libipvs.c:189: error: dereferencing pointer to incomplete type
libipvs.c:189: error: dereferencing pointer to incomplete type
libipvs.c:193: error: dereferencing pointer to incomplete type
libipvs.c:193: error: dereferencing pointer to incomplete type
libipvs.c:197: error: dereferencing pointer to incomplete type
libipvs.c:197: error: dereferencing pointer to incomplete type
libipvs.c:201: error: dereferencing pointer to incomplete type
libipvs.c:201: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_sort_services':
libipvs.c:209: error: invalid application of `sizeof' to an incomplete type
libipvs.c: In function `ipvs_get_dests':
libipvs.c:218: error: invalid application of `sizeof' to an incomplete type
libipvs.c:218: error: dereferencing pointer to incomplete type
libipvs.c:224: error: dereferencing pointer to incomplete type
libipvs.c:225: error: dereferencing pointer to incomplete type
libipvs.c:226: error: dereferencing pointer to incomplete type
libipvs.c:227: error: dereferencing pointer to incomplete type
libipvs.c:228: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_cmp_dests':
libipvs.c:243: error: dereferencing pointer to incomplete type
libipvs.c:243: error: dereferencing pointer to incomplete type
libipvs.c:247: error: dereferencing pointer to incomplete type
libipvs.c:247: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_sort_dests':
libipvs.c:254: error: invalid application of `sizeof' to an incomplete type
libipvs.c: In function `ipvs_get_service':
libipvs.c:264: error: dereferencing pointer to incomplete type
libipvs.c:270: error: dereferencing pointer to incomplete type
libipvs.c:271: error: dereferencing pointer to incomplete type
libipvs.c:272: error: dereferencing pointer to incomplete type
libipvs.c:273: error: dereferencing pointer to incomplete type
make[1]: *** [libipvs.o] Error 1
make[1]: Leaving directory `/tmp/ipvsadm-1.24/libipvs'
make: *** [libs] Error 2
P.S. - Sorry about my english, I'm brazilian.
|