You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make -C module install
make[1]: Entering directory '/home/fcarreno/Baixades/rdisk/rapiddisk-master/module'
make -C /lib/modules/6.8.0-45-lowlatency/build M=/home/fcarreno/Baixades/rdisk/rapiddisk-master/module
make[2]: Entering directory '/usr/src/linux-headers-6.8.0-45-lowlatency'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using: gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
CC [M] /home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.o
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:166:5: warning: no previous prototype for ‘dm_io_async_bvec’ [-Wmissing-prototypes]
166 | int dm_io_async_bvec(unsigned int num_regions, struct dm_io_region *where,
| ^~~~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c: In function ‘dm_io_async_bvec’:
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:202:16: error: too few arguments to function ‘dm_io’
202 | return dm_io(&iorq, num_regions, where, NULL);
| ^~~~~
In file included from /home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:46:
./include/linux/dm-io.h:82:5: note: declared here
82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions,
| ^~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c: At top level:
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:257:6: warning: no previous prototype for ‘rc_io_callback’ [-Wmissing-prototypes]
257 | void rc_io_callback(unsigned long error, void *context)
| ^~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:373:5: warning: no previous prototype for ‘rc_do_complete’ [-Wmissing-prototypes]
373 | int rc_do_complete(struct kcached_job *job)
| ^~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:415:6: warning: no previous prototype for ‘kcached_client_destroy’ [-Wmissing-prototypes]
415 | void kcached_client_destroy(struct cache_context *dmc)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:823:5: warning: no previous prototype for ‘rc_map’ [-Wmissing-prototypes]
823 | int rc_map(struct dm_target *ti, struct bio *bio)
| ^~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:1263:12: warning: no previous prototype for ‘rc_init’ [-Wmissing-prototypes]
1263 | int __init rc_init(void)
| ^~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:1283:6: warning: no previous prototype for ‘rc_exit’ [-Wmissing-prototypes]
1283 | void rc_exit(void)
| ^~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c: In function ‘dm_io_async_bvec’:
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:203:1: error: control reaches end of non-void function [-Werror=return-type]
203 | }
| ^
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:243: /home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.8.0-45-lowlatency/Makefile:1925: /home/fcarreno/Baixades/rdisk/rapiddisk-master/module] Error 2
make[2]: *** [Makefile:240: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-45-lowlatency'
make[1]: *** [Makefile:37: all] Error 2
make[1]: Leaving directory '/home/fcarreno/Baixades/rdisk/rapiddisk-master/module'
make: *** [Makefile:29: module] Error 2
The text was updated successfully, but these errors were encountered:
fcarreno-git
changed the title
Build error with kernel 6.0
Build error with kernel 6.8
Sep 22, 2024
make -C module install
make[1]: Entering directory '/home/fcarreno/Baixades/rdisk/rapiddisk-master/module'
make -C /lib/modules/6.8.0-45-lowlatency/build M=/home/fcarreno/Baixades/rdisk/rapiddisk-master/module
make[2]: Entering directory '/usr/src/linux-headers-6.8.0-45-lowlatency'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using: gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
CC [M] /home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.o
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:166:5: warning: no previous prototype for ‘dm_io_async_bvec’ [-Wmissing-prototypes]
166 | int dm_io_async_bvec(unsigned int num_regions, struct dm_io_region *where,
| ^~~~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c: In function ‘dm_io_async_bvec’:
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:202:16: error: too few arguments to function ‘dm_io’
202 | return dm_io(&iorq, num_regions, where, NULL);
| ^~~~~
In file included from /home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:46:
./include/linux/dm-io.h:82:5: note: declared here
82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions,
| ^~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c: At top level:
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:257:6: warning: no previous prototype for ‘rc_io_callback’ [-Wmissing-prototypes]
257 | void rc_io_callback(unsigned long error, void *context)
| ^~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:373:5: warning: no previous prototype for ‘rc_do_complete’ [-Wmissing-prototypes]
373 | int rc_do_complete(struct kcached_job *job)
| ^~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:415:6: warning: no previous prototype for ‘kcached_client_destroy’ [-Wmissing-prototypes]
415 | void kcached_client_destroy(struct cache_context *dmc)
| ^~~~~~~~~~~~~~~~~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:823:5: warning: no previous prototype for ‘rc_map’ [-Wmissing-prototypes]
823 | int rc_map(struct dm_target *ti, struct bio *bio)
| ^~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:1263:12: warning: no previous prototype for ‘rc_init’ [-Wmissing-prototypes]
1263 | int __init rc_init(void)
| ^~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:1283:6: warning: no previous prototype for ‘rc_exit’ [-Wmissing-prototypes]
1283 | void rc_exit(void)
| ^~~~~~~
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c: In function ‘dm_io_async_bvec’:
/home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.c:203:1: error: control reaches end of non-void function [-Werror=return-type]
203 | }
| ^
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:243: /home/fcarreno/Baixades/rdisk/rapiddisk-master/module/rapiddisk-cache.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.8.0-45-lowlatency/Makefile:1925: /home/fcarreno/Baixades/rdisk/rapiddisk-master/module] Error 2
make[2]: *** [Makefile:240: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-45-lowlatency'
make[1]: *** [Makefile:37: all] Error 2
make[1]: Leaving directory '/home/fcarreno/Baixades/rdisk/rapiddisk-master/module'
make: *** [Makefile:29: module] Error 2
The text was updated successfully, but these errors were encountered: