General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: "Carlos R. Pasqualini" <pasqualinic@fcal.uner.edu.ar>
To: bloat <bloat@lists.bufferbloat.net>
Subject: [Bloat] CAKE and Kernel 4.16-bpo debian
Date: Mon, 25 Jun 2018 16:04:42 -0300	[thread overview]
Message-ID: <1529953482.28758.122.camel@fcal.uner.edu.ar> (raw)

Hi list!


Can someone tell me how to compile cake?
I'm running 4.16.5-1~bpo9+1 amd64 (Debian stretch-backports kernel)

I'm doing:

git clone https://github.com/dtaht/sch_cake.git

make
make -C /lib/modules/4.16.0-0.bpo.1-amd64/build
SUBDIRS=/usr/src/sch_cake modules LDFLAGS_MODULE="--build-
id=0xdfb2f6ccfbea7c413acec97d8440e344b94ca8e7" CFLAGS_MODULE="-
DCAKE_VERSION=\\\"dfb2f6ccfbea7c413acec97d8440e344b94ca8e7\\\""
make[1]: se entra en el directorio '/usr/src/linux-headers-4.16.0-
0.bpo.2-amd64'
  CC [M]  /usr/src/sch_cake/sch_cake.o
/usr/src/sch_cake/sch_cake.c:1978:11: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
  .init  = cake_init,
           ^~~~~~~~~
/usr/src/sch_cake/sch_cake.c:1978:11: note: (near initialization for
‘cake_qdisc_ops.init’)
/usr/src/sch_cake/sch_cake.c:1981:13: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
  .change  = cake_change,
             ^~~~~~~~~~~
/usr/src/sch_cake/sch_cake.c:1981:13: note: (near initialization for
‘cake_qdisc_ops.change’)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.16.0-0.bpo.2-
common/scripts/Makefile.build:335: fallo en las instrucciones para el
objetivo '/usr/src/sch_cake/sch_cake.o'
make[4]: *** [/usr/src/sch_cake/sch_cake.o] Error 1
/usr/src/linux-headers-4.16.0-0.bpo.2-common/Makefile:1578: fallo en
las instrucciones para el objetivo '_module_/usr/src/sch_cake'
make[3]: *** [_module_/usr/src/sch_cake] Error 2
Makefile:146: fallo en las instrucciones para el objetivo 'sub-make'
make[2]: *** [sub-make] Error 2
Makefile:8: fallo en las instrucciones para el objetivo 'all'
make[1]: *** [all] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-4.16.0-0.bpo.2-
amd64'
Makefile:8: fallo en las instrucciones para el objetivo 'default'
make: *** [default] Error 2



Thanks!


             reply	other threads:[~2018-06-25 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 19:04 Carlos R. Pasqualini [this message]
2018-06-25 19:44 ` Toke Høiland-Jørgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1529953482.28758.122.camel@fcal.uner.edu.ar \
    --to=pasqualinic@fcal.uner.edu.ar \
    --cc=bloat@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox