LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Error building 2.6.10 kernel with ip_vs_nfct patch - doesanyone else

To: "Vince W." <listacct1@xxxxxxxxxx>
Subject: Re: Error building 2.6.10 kernel with ip_vs_nfct patch - doesanyone else get this?
Cc: LVS List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 5 Feb 2005 20:21:09 +0200 (EET)
        Hello,

On Fri, 4 Feb 2005, Vince W. wrote:

> http://www.ssi.bg/~ja/nfct/ipvs-nfct-2.6.10-1.diff
> http://www.ssi.bg/~ja/nfct/ip_nat_ftp-2.6.9-1.diff
>
> The patches apply cleanly, with a couple lines of offset here and
> there.  When building the kernel modules, I get the following output:
>
>
>   CC [M]  net/ipv4/ipvs/ip_vs_conn.o
>   CC [M]  net/ipv4/ipvs/ip_vs_core.o
>   CC [M]  net/ipv4/ipvs/ip_vs_ctl.o
>   CC [M]  net/ipv4/ipvs/ip_vs_sched.o
>   CC [M]  net/ipv4/ipvs/ip_vs_xmit.o
>   CC [M]  net/ipv4/ipvs/ip_vs_app.o
>   CC [M]  net/ipv4/ipvs/ip_vs_sync.o
>   CC [M]  net/ipv4/ipvs/ip_vs_est.o
>   CC [M]  net/ipv4/ipvs/ip_vs_proto.o
>   CC [M]  net/ipv4/ipvs/ip_vs_proto_icmp.o
>   CC [M]  net/ipv4/ipvs/ip_vs_proto_tcp.o
>   CC [M]  net/ipv4/ipvs/ip_vs_proto_udp.o
>   CC [M]  net/ipv4/ipvs/ip_vs_proto_esp.o
>   CC [M]  net/ipv4/ipvs/ip_vs_proto_ah.o
>   CC [M]  net/ipv4/ipvs/ip_vs_nfct.o
>
> net/ipv4/ipvs/ip_vs_nfct.c: In function `ip_vs_nfct_conn_drop':
> include/linux/netfilter_ipv4/ip_conntrack.h:248: sorry, unimplemented:
> inlining failed in call to 'ip_conntrack_put': function body not available
> net/ipv4/ipvs/ip_vs_nfct.c:385: sorry, unimplemented: called from here
> make[3]: *** [net/ipv4/ipvs/ip_vs_nfct.o] Error 1
> make[2]: *** [net/ipv4/ipvs] Error 2

        It is a compiler issue with extern inlines, you can try by
removing the "inline" from include/linux/netfilter_ipv4/ip_conntrack.h:

/* decrement reference count on a conntrack */
extern inline void ip_conntrack_put(struct ip_conntrack *ct);

        You can also try with older compiler.

> Has anyone else seen this, using this patch?
>
> Thanks,
> Vince

Regards

--
Julian Anastasov <ja@xxxxxx>

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