From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id CB58E21F7BB for ; Thu, 8 Oct 2015 05:49:20 -0700 (PDT) Received: by pacex6 with SMTP id ex6so54617352pac.0 for ; Thu, 08 Oct 2015 05:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Sl9dWRcxG/neiHzzU+qnSSwhC0owIAt3kIeD9u5rbUs=; b=yNF103baPW2HJHyu6vJfz2zyuImA5qGZxP12xUh4+YCubgM5W5nX1aJvBFM6iswi8J fyDTRcpif88C3sZoIUxQuj6NVZJbDxDK425HnohD2UhfMbeky08PbhPv2mJMI1Heepbi i8BgQoelcKQxbudbgNRlp1uuU2tKDj/YTUBJBCjX9pKkSqr3VaH5+0dx80TMKTZybq+9 mMsHY0rJ5SQT+EZeZj1+LWN53Nagf9vsXqVgUx6UYWqvoUqQjPaF0zjEprVG7iIAWUF7 bZKuHZwH4YKFt1Fov8aq2+EMXhGnTgyRiGmrGyxyCsP71f5oH1BsIN/mkX2Yr3aybbRy 228A== MIME-Version: 1.0 X-Received: by 10.66.159.66 with SMTP id xa2mr8209201pab.28.1444308559974; Thu, 08 Oct 2015 05:49:19 -0700 (PDT) Received: by 10.66.23.38 with HTTP; Thu, 8 Oct 2015 05:49:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Oct 2015 16:49:19 +0400 Message-ID: From: Loganaden Velvindron To: cake@lists.bufferbloat.net Content-Type: multipart/alternative; boundary=047d7bacbde6a9dcbe0521974ac8 Subject: Re: [Cake] CAKE build failure on Linux 4.2.2 X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 12:49:43 -0000 --047d7bacbde6a9dcbe0521974ac8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have a patch brewing. I will ask for a pull-request in a few hours :) On Thu, Oct 8, 2015 at 10:57 AM, Loganaden Velvindron wrote: > Hi guys, > > It appears that there are issues with building CAKE on a Linux kernel > 4.2.2, due to relying on API that weren't released for the 4.2.2 release. > Perhaps the solution would be to either not support the 4.2.2 release or > use #ifdefs. > > Here are the errors: > > make -C /lib/modules/4.2.2-1-ARCH/build SUBDIRS=3D/home/logan/sch_cake > modules > make[1]: Entering directory '/usr/lib/modules/4.2.2-1-ARCH/build' > CC [M] /home/logan/sch_cake/sch_cake.o > /home/logan/sch_cake/sch_cake.c: In function =E2=80=98cake_hash=E2=80=99: > /home/logan/sch_cake/sch_cake.c:253:8: error: > =E2=80=98FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL=E2=80=99 undeclared (first u= se in this > function) > FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL); > ^ > /home/logan/sch_cake/sch_cake.c:253:8: note: each undeclared identifier i= s > reported only once for each function it appears in > /home/logan/sch_cake/sch_cake.c:252:2: error: too many arguments to > function =E2=80=98skb_flow_dissect_flow_keys=E2=80=99 > skb_flow_dissect_flow_keys(skb, &keys, > ^ > In file included from include/linux/skbuff.h:37:0, > from /home/logan/sch_cake/sch_cake.c:46: > include/net/flow_dissector.h:173:20: note: declared here > static inline bool skb_flow_dissect_flow_keys(const struct sk_buff *skb, > ^ > scripts/Makefile.build:264: recipe for target > '/home/logan/sch_cake/sch_cake.o' failed > make[2]: *** [/home/logan/sch_cake/sch_cake.o] Error 1 > Makefile:1386: recipe for target '_module_/home/logan/sch_cake' failed > make[1]: *** [_module_/home/logan/sch_cake] Error 2 > make[1]: Leaving directory '/usr/lib/modules/4.2.2-1-ARCH/build' > Makefile:7: recipe for target 'default' failed > --047d7bacbde6a9dcbe0521974ac8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have a patch brewing. I will ask for a pull-request in a= few hours :)



On Thu, Oct 8, 2015 at 10:57 AM, Loganaden = Velvindron <loganaden@gmail.com> wrote:
Hi guys,

It appears tha= t there are issues with building CAKE on a Linux kernel 4.2.2, due to relyi= ng on API that weren't released for the 4.2.2 release. Perhaps the solu= tion would be to either not support the 4.2.2 release or use #ifdefs.
=

=C2=A0Here are the errors:

make -C /lib/modules/4.2.2-1-ARCH/build SUBDIRS=3D/home/logan/sch_cake mo= dules
make[1]: Entering directory '/usr/lib/modules/4.2.2-1-A= RCH/build'
=C2=A0 CC [M] =C2=A0/home/logan/sch_cake/sch_cake.= o
/home/logan/sch_cake/sch_cake.c: In function =E2=80=98cake_hash= =E2=80=99:
/home/logan/sch_cake/sch_cake.c:253:8: error: =E2=80= =98FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL=E2=80=99 undeclared (first use in th= is function)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 FLOW_DISSECTOR_F_STOP_AT= _FLOW_LABEL);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
/home/logan= /sch_cake/sch_cake.c:253:8: note: each undeclared identifier is reported on= ly once for each function it appears in
/home/logan/sch_cake/sch_= cake.c:252:2: error: too many arguments to function =E2=80=98skb_flow_disse= ct_flow_keys=E2=80=99
=C2=A0 skb_flow_dissect_flow_keys(skb, &= ;keys,
=C2=A0 ^
In file included from include/linux/skb= uff.h:37:0,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0from /home/logan/sch_cake/sch_cake.c:46:
include/net/fl= ow_dissector.h:173:20: note: declared here
=C2=A0static inline bo= ol skb_flow_dissect_flow_keys(const struct sk_buff *skb,
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
= scripts/Makefile.build:264: recipe for target '/home/logan/sch_cake/sch= _cake.o' failed
make[2]: *** [/home/logan/sch_cake/sch_cake.o= ] Error 1
Makefile:1386: recipe for target '_module_/home/log= an/sch_cake' failed
make[1]: *** [_module_/home/logan/sch_cak= e] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.2.2= -1-ARCH/build'
Makefile:7: recipe for target 'default'= ; failed

--047d7bacbde6a9dcbe0521974ac8--