[Bloat] CAKE and Kernel 4.16-bpo debian

Carlos R. Pasqualini pasqualinic at fcal.uner.edu.ar
Mon Jun 25 15:04:42 EDT 2018


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!



More information about the Bloat mailing list