Hello,
I guess that the compiling warning is caused by the different version of
popt, but you can use ipvsadm, right?
Regards,
Wensong
On Thu, 20 Dec 2001, Daniel Martin Legazpe wrote:
Hello, I've got this error message when I try to compile ipvs-0.8.2 for
kernel 2.4.12:
[root@iolab ipvs]# make
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_conn.c -o ip_vs_conn.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_core.c -o ip_vs_core.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_ctl.c -o ip_vs_ctl.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_sched.c -o
ip_vs_sched.o
gcc -D__KE
RNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_timer.c -o
ip_vs_timer.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_app.c -o ip_vs_app.o
ld -r ip_vs_conn.o ip_vs_core.o ip_vs_ctl.o ip_vs_sched.o ip_vs_timer.o
ip_vs_app.o -o ip_vs.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_lc.c -o ip_vs_lc.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_rr.c -o ip_vs_rr.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-
Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_wlc.c -o ip_vs_wlc.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_wrr.c -o ip_vs_wrr.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_lblc.c -o ip_vs_lblc.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_lblcr.c -o
ip_vs_lblcr.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_dh.c -o ip_vs_dh.o
gcc -D__KERNEL__ -DMODULE
-DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_sh.c -o ip_vs_sh.o
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS -O2 -Wall
-Wstrict-prototypes -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -c ip_vs_ftp.c -o ip_vs_ftp.o
[root@iolab ipvs]# make -C ipvsadm
make: Entering directory
`/root/ecedml_root/LVS/Kernel_2.4.12_LVS/ipvs-0.8.2/ipvs/ipvsadm'
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-I.. -DVERSION=\"1.17\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|dh|sh"\"
-DHAVE_POPT -c config_stream.c
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-I.. -DVERSION=\"1.17\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|dh|sh"\"
-DHAVE_POPT -c dynamic_array.c
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-I.. -DVERSION=\"1.17\" -DSCHE
DULERS=\""rr|wrr|lc|wlc|lblc|dh|sh"\"
-DHAVE_POPT -c ipvsadm.c
ipvsadm.c: In function `parse_options':
ipvsadm.c:355: warning: passing arg 3 of `poptGetContext' from
incompatible pointer type
ipvsadm.c:418: warning: passing arg 3 of `poptGetContext' from
incompatible pointer type
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -o ipvsadm config_stream.o
dynamic_array.o ipvsadm.o -L/usr/lib -lpopt
make: Leaving directory
`/root/ecedml_root/LVS/Kernel_2.4.12_LVS/ipvs-0.8.2/ipvs/ipvsadm'
[root@iolab ipvs]#
Could you help me ??
BR. Daniel/
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to
http://www.in-addr.de/mailman/listinfo/lvs-users
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users