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: Thu, 27 Dec 2001 09:33:40 +0100
Hello Wensong,

    At last I downloaded the popt libraries (popt-1.6.3-1.03.6x.i386.rpm). I installed it
and the compilations worked fine. No errors. But, when I 'make install' I've got the
following new error:

    [root@eceiolab ipvs]# insmod ip_vs.o
                    ip_vs.o: unresolved symbol buffermem_pages
                    ip_vs.o: unresolved symbol nr_free_pages
                    ip_vs.o: unresolved symbol page_cache_size
                    ip_vs.o:
                    Hint: You are trying to load a module without a GPL compatible license
                          and it has unresolved symbols.  Contact the module supplier for
                          assistance, only they can help you.

Any idea ??

BR/Dani.



Wensong Zhang wrote:

Hello Daniel,

Popt is a C library for parsing command line parameters. Popt has more
powerful/flexible parsing functions than the getopt() and getopt_long()
functions. Please see "man popt" for more information, popt package should
be installed in every Linux distribution.

That warning shows that your popt version is probably old, maybe you need
upgrade to popt-1.6.3-1.03.

Merry Christmas,

Wensong


On Fri, 21 Dec 2001, Daniel Martin Legazpe wrote:

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 __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_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< br>-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__ -DMO DULE -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\" -D SCHEDULERS=\""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 g o 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




_______________________________________________
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>