I've compiled and rebooted to 2.4.24 (ftp.kernel.org).
/usr/src/linux/include/net/ip_vs.h has a date of 1 Jan 2004.
compiling ipvsadm-1.24 (from
http://www.linuxvirtualserver.org/software/ipvs.html)
with gcc-3.3, libc-2.3.2
I get (typing by hand, code is on different machine and can't swipe with mouse)
libipvs.c:140: error: `IP_VS_SO_SET_TIMEOUT' undeclared
looking for the missing declaration...
grep -r IP_VS_SO_SET_TIMEOUT /usr/src/linux/include
shows that IP_VS_SO_SET_TIMETOUTS
^
(ie plural) is declared but not IP_VS_SO_SET_TIMEOUT
changing IP_VS_SO_SET_TIMEOUT to IP_VS_SO_SET_TIMEOUT and
trying again, I get
libipvs.c:167: error: invalid application of `sizeof' to an incomplete type
going to gcc-2.95.3 doesn't change anything.
What have I done wrong?
Thanks
Joe
--
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
|