From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (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 A9E2E21F524 for ; Wed, 7 Oct 2015 23:57:37 -0700 (PDT) Received: by pabve7 with SMTP id ve7so5025086pab.2 for ; Wed, 07 Oct 2015 23:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=f+SvP76lSNiN6GWhjhMzWJ5u4+ndnKuuTbUUPm+N1Eg=; b=i8URPg9HrQSMvhdQZsDRUOjFgkGrwedeDl72yPiiwhqdpNiIvVFU0Imx6YuUoQfoDD WbCawUCbJ+N9weyO6Wlf136Ih73QjDfhEJklNTS3pVVHYUX1gy1OcCQ2uVZw9aSVH6jt /7SLHgJzosYbvzLQmNea3VLDPn0rR9PvSUIuEh0e72qWnBwhOlhgmjPOKzduaXdKm8yf I/4BuxdOBcdEFlJLqR1tgna8NQtc2vlYbaVxJZUhksMSn5vW1EDhoVahX0XvWzwGOCf7 cGXCGw5s8sn21MdrdNJcqrEoUUwdg6HgQJnRZQ6Vw5+kPSc7wgaRDtjuAgUXhfGHyvYU u2tQ== MIME-Version: 1.0 X-Received: by 10.68.104.66 with SMTP id gc2mr6151194pbb.21.1444287455837; Wed, 07 Oct 2015 23:57:35 -0700 (PDT) Received: by 10.66.23.38 with HTTP; Wed, 7 Oct 2015 23:57:35 -0700 (PDT) Date: Thu, 8 Oct 2015 10:57:35 +0400 Message-ID: From: Loganaden Velvindron To: cake@lists.bufferbloat.net Content-Type: multipart/alternative; boundary=047d7b5d6596c2496e0521926074 Subject: [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 06:57:59 -0000 --047d7b5d6596c2496e0521926074 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 modu= les 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 use= in this function) FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL); ^ /home/logan/sch_cake/sch_cake.c:253:8: note: each undeclared identifier is 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 --047d7b5d6596c2496e0521926074 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi guys,

It appears that there are issu= es with building CAKE on a Linux kernel 4.2.2, due to relying on API that w= eren'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.

<= div>=C2=A0Here are the errors:

make -C /lib/m= odules/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'
=C2=A0 CC [M] =C2=A0/home/logan/sch_cake/sch_cake.o
/hom= e/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 this 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 only once for each f= unction it appears in
/home/logan/sch_cake/sch_cake.c:252:2: erro= r: too many arguments to function =E2=80=98skb_flow_dissect_flow_keys=E2=80= =99
=C2=A0 skb_flow_dissect_flow_keys(skb, &keys,
= =C2=A0 ^
In file included from include/linux/skbuff.h:37:0,
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from /ho= me/logan/sch_cake/sch_cake.c:46:
include/net/flow_dissector.h:173= :20: note: declared here
=C2=A0static inline bool skb_flow_dissec= t_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' fail= ed
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
<= div>make[1]: Leaving directory '/usr/lib/modules/4.2.2-1-ARCH/build'= ;
Makefile:7: recipe for target 'default' failed
--047d7b5d6596c2496e0521926074--