LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ktcpvs compile problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ktcpvs compile problem
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 22 Oct 2003 11:01:02 +0900
On Tue, Oct 21, 2003 at 11:10:23AM -0700, Mike wrote:
> I can't seem to get ktcpvs compiled here for the life of me.
> 
> So far I have the following compiled installed and working:
> 
> linux-2.4.22
> ipvs-1.0.10
> heartbeat-1.0.3
> 
> I'm trying to install ktcpvs-0.0.15. When I follow the instructions in
> the readme, I get stuck on 'make install'.  The output is as follows:
> 
> rmmod ktcpvs
> rmmod: module ktcpvs is not loaded
> make: [install] Error 1 (ignored)
> insmod ktcpvs.o
> ktcpvs.o: unresolved symbol tcp_sync_mss
> ktcpvs.o: unresolved symbol tcp_write_xmit
> ktcpvs.o: unresolved symbol tcp_openreq_cachep
> ktcpvs.o: unresolved symbol tcp_v4_lookup_listener
> ktcpvs.o: unresolved symbol tcp_cwnd_application_limited
> make: *** [install] Error 1
> 
> Sure enough, when I do an lsmod, I don't see ktcpvs.o anywhere in the
> list.  Has anyone come across this problem?  Is there a fix, or should I
> be using an older version? Any help is greatly appreciated.

>From examining net/netsyms.c in the kernel source you would have
noticed that the export of each of these symbols is surrounded by

#if defined (CONFIG_IPV6_MODULE) || defined (CONFIG_KHTTPD) || defined 
(CONFIG_KHTTPD_MODULE)

I would suggest reconfiguring your kernel with one of these options
enabled or removing the #if ... #endif. Whichever takes your fancy.

In either case you will need to rebuild your kernel.

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