General list for discussing Bufferbloat
 help / color / mirror / Atom feed
* [Bloat] CAKE and Kernel 4.16-bpo debian
@ 2018-06-25 19:04 Carlos R. Pasqualini
  2018-06-25 19:44 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos R. Pasqualini @ 2018-06-25 19:04 UTC (permalink / raw)
  To: bloat

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!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-25 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-25 19:04 [Bloat] CAKE and Kernel 4.16-bpo debian Carlos R. Pasqualini
2018-06-25 19:44 ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox