From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.tohojo.dk (mail2.tohojo.dk [77.235.48.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 4C39D21FC31 for ; Wed, 29 Jul 2015 15:48:23 -0700 (PDT) X-Virus-Scanned: amavisd-new at mail2.tohojo.dk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=201310; t=1438210095; bh=fefH1WUMnu5FKCA2nzN0VZles/eVzQyePDDLOynzwuM=; h=From:To:Subject:Date; b=nFSQq5lQi/dxlDgqKUhpz7Hl8uI6TTyF91jf2/c3kki1f3ODzJB1GdSbEj7+Ewvyb rwza3SWBoYzDQl9DopwkmGMwUpWQtg4S3fJ3QfuYMAaLlyX/CV4a/sAzM3ptpWIYwS +WGY50t6TJJC0Dja4GUj26Y6uJkxC0QhmuSHTZvc= Sender: toke@toke.dk Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 8881041CF2; Thu, 30 Jul 2015 00:48:14 +0200 (CEST) From: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= To: cake@lists.bufferbloat.net Date: Thu, 30 Jul 2015 00:48:14 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87vbd27f81.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Cake] Cake doesn't build against net-next 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: Wed, 29 Jul 2015 22:48:53 -0000 $ make KERNEL_VERSION=3D4.1.0-v4.1-12265-g14fe22e+ make -C /lib/modules/4.1.0-v4.1-12265-g14fe22e+/build SUBDIRS=3D/home/alrua= /sch_cake modules make[1]: Entering directory `/home/alrua/net-next' CC [M] /home/alrua/sch_cake/sch_cake.o /home/alrua/sch_cake/sch_cake.c:53:27: fatal error: net/flow_keys.h: No suc= h file or directory compilation terminated. make[2]: *** [/home/alrua/sch_cake/sch_cake.o] Error 1 make[1]: *** [_module_/home/alrua/sch_cake] Error 2 make[1]: Leaving directory `/home/alrua/net-next' make: *** [default] Error 2 $ find ../net-next/ -name flow_keys.h $ grep -R 'struct flow_keys' ../net-next/include/ ../net-next/include/linux/skbuff.h: struct flow_keys keys; ../net-next/include/net/flow_dissector.h:struct flow_keys { ../net-next/include/net/flow_dissector.h: offsetof(struct flow_keys, FLOW_K= EYS_HASH_START_FIELD) ../net-next/include/net/flow_dissector.h:__be32 flow_get_u32_src(const stru= ct flow_keys *flow); ../net-next/include/net/flow_dissector.h:__be32 flow_get_u32_dst(const stru= ct flow_keys *flow); ../net-next/include/net/flow_dissector.h: struct flow_keys *flow) ../net-next/include/net/flow_dissector.h:static inline bool skb_flow_dissec= t_flow_keys_buf(struct flow_keys *flow, ../net-next/include/net/flow_dissector.h:u32 flow_hash_from_keys(struct flo= w_keys *keys); ../net-next/include/net/flow_dissector.h: const struct flow_keys *keys,= int hlen); ../net-next/include/net/flow_dissector.h:/* struct flow_keys_digest: ../net-next/include/net/flow_dissector.h:struct flow_keys_digest { ../net-next/include/net/flow_dissector.h:void make_flow_keys_digest(struct = flow_keys_digest *digest, ../net-next/include/net/flow_dissector.h: const struct flow_keys *flow= ); ../net-next/include/net/ipv6.h:static inline void iph_to_flow_copy_v6addrs(= struct flow_keys *flow, ../net-next/include/net/ipv6.h: struct flow_keys keys; ../net-next/include/net/ip.h:static inline void iph_to_flow_copy_v4addrs(st= ruct flow_keys *flow, ../net-next/include/net/ip.h: struct flow_keys keys; Including flow_dissector.h instead doesn't work either: $ make KERNEL_VERSION=3D4.1.0-v4.1-12265-g14fe22e+ make -C /lib/modules/4.1.0-v4.1-12265-g14fe22e+/build SUBDIRS=3D/home/alrua= /sch_cake modules make[1]: Entering directory `/home/alrua/net-next' CC [M] /home/alrua/sch_cake/sch_cake.o /home/alrua/sch_cake/sch_cake.c: In function =E2=80=98cake_fqcd_hash=E2=80= =99: /home/alrua/sch_cake/sch_cake.c:214:2: warning: passing argument 2 of =E2= =80=98skb_flow_dissect=E2=80=99 from incompatible pointer type [enabled by = default] In file included from include/linux/skbuff.h:37:0, from /home/alrua/sch_cake/sch_cake.c:46: include/net/flow_dissector.h:146:60: note: expected =E2=80=98struct flow_di= ssector *=E2=80=99 but argument is of type =E2=80=98struct flow_keys *=E2= =80=99 /home/alrua/sch_cake/sch_cake.c:214:2: error: too few arguments to function= =E2=80=98skb_flow_dissect=E2=80=99 In file included from include/linux/skbuff.h:37:0, from /home/alrua/sch_cake/sch_cake.c:46: include/net/flow_dissector.h:146:60: note: declared here /home/alrua/sch_cake/sch_cake.c:217:7: error: =E2=80=98struct flow_keys=E2= =80=99 has no member named =E2=80=98ip_proto=E2=80=99 /home/alrua/sch_cake/sch_cake.c:218:14: error: incompatible types when assi= gning to type =E2=80=98struct flow_dissector_key_ports=E2=80=99 from type = =E2=80=98int=E2=80=99 /home/alrua/sch_cake/sch_cake.c:221:8: error: =E2=80=98struct flow_keys=E2= =80=99 has no member named =E2=80=98src=E2=80=99 /home/alrua/sch_cake/sch_cake.c:224:8: error: =E2=80=98struct flow_keys=E2= =80=99 has no member named =E2=80=98dst=E2=80=99 /home/alrua/sch_cake/sch_cake.c:227:32: error: =E2=80=98struct flow_keys=E2= =80=99 has no member named =E2=80=98dst=E2=80=99 /home/alrua/sch_cake/sch_cake.c:228:17: error: =E2=80=98struct flow_keys=E2= =80=99 has no member named =E2=80=98src=E2=80=99 /home/alrua/sch_cake/sch_cake.c:228:28: error: =E2=80=98struct flow_keys=E2= =80=99 has no member named =E2=80=98ip_proto=E2=80=99 /home/alrua/sch_cake/sch_cake.c:229:7: error: aggregate value used where an= integer was expected /home/alrua/sch_cake/sch_cake.c: In function =E2=80=98cake_enqueue=E2=80=99: /home/alrua/sch_cake/sch_cake.c:430:126: warning: comparison of distinct po= inter types lacks a cast [enabled by default] make[2]: *** [/home/alrua/sch_cake/sch_cake.o] Error 1 make[1]: *** [_module_/home/alrua/sch_cake] Error 2 make[1]: Leaving directory `/home/alrua/net-next' make: *** [default] Error 2 -Toke