LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems compiling ipvs-0.8.2

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Problems compiling ipvs-0.8.2
From: Daniel Martin Legazpe <daniel.martin-legazpe@xxxxxxxxxxxxxxx>
Date: Fri, 21 Dec 2001 09:19:48 +0100
Hello Wensong, how are you ?

First of all, what popt is ??
And .... I don't know what you mean with using ipvsadm.... what I'm trying to compile
is exactly that, ipvsadm, is it not right ? If you mean that the ipvsadm executable works
anyway the answer is 'no'.

Thanx & happy chrismas.

BR. Dani/

Wensong Zhang wrote:

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


<Prev in Thread] Current Thread [Next in Thread>