LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

To all LVS-hackers: Compilation of ipvsadm.c aborts with errors

To: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: To all LVS-hackers: Compilation of ipvsadm.c aborts with errors
Cc: ratz@xxxxxx
From: Ratz <ratz@xxxxxx>
Date: Sat, 25 Sep 1999 11:27:54 +0200
Hi LVS-hackers

First off, I'm very sorry about my bad knowledge about
linux+kernel+programming but I will improve it. And since you seem to be
TCP/IP & linux-kernel-programming gurus I apologize to you for this
(maybe) simple problem. thanx!  

I got some problem compiling ipvsadm.c:  

gcc -I/usr/src/linux/include -o ipvsadm ipvsadm.c

In file included from ipvsadm.c:62:
/usr/src/linux/include/linux/ip_fw.h:121: field `fwp_iph' has incomplete
type
make: *** [ipvsadm] Error 1

My system is:

insmod version 2.1.121
gcc version 2.7.2.3
GNU ld version 2.9.1 (with BFD 2.9.1)
ldd: version 1.9.4
lrwxrwxrwx   1 root     root           13 Sep 25 01:32 /lib/libc.so.4 ->
libc.so.4.7.6
-rwxr-xr-x   1 root     root       634880 Sep 25  1999
/lib/libc.so.4.7.6
lrwxrwxrwx   1 root     root           12 Sep 25 01:33 /lib/libc.so.5 ->
libc.so.5.46
-rwxr-xr-x   1 bin      bin       1427975 Jun 20  1998
/lib/libc.so.5.4.46
-rwxr-xr-x   1 root     root      1820369 Sep 25  1999 /lib/libc.so.5.46
lrwxrwxrwx   1 root     root           16 Sep 24 18:20
/usr/lib/libg++.so.27 -> libg++.so.27.2.1
-r-xr-xr-x   1 root     root       953647 Jul 18  1996
/usr/lib/libg++.so.27.2.1

I upgraded from kernel 2.0.36 to kernel 2.2.12 of our distribution. So I
had to install new libc and some other stuff. All went pretty fine until
I wanted to compile ipvsadm. diff to ip_fw.h on a system where I can
compile ipvsadm shows now differences, so I think there is a libc or a
gcc or a linux/include problem. Can anyone of you make things clearer. I
would really appreciate, if I could solve this problem today, because on
Monday I have to install LVS + HA into a big network of a huge company
for testing purpose. 

Thanks in advance to any suggestions or clues.

Regards

       Roberto Nibali


terreActive AG      Rathausgasse 31      CH-5001 Aarau
Internet Security Engineering and Software Development
fon://++41 (0)62 823 93 55  fax://++41 (0)62 823 93 56
nat://++41 (0)79 333 38 81  http://www.terreActive.ch/

----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

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