Can't compile, ubuntu 18.04 + hwe 5.4.0-65
1.
Code
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=arch/x86/tools relocs
make[3]: *** No rule to make target 'arch/x86/tools/relocs_32.c', needed by 'arch/x86/tools/relocs_32.o'. Stop.
arch/x86/Makefile:232: recipe for target 'archscripts' failed
make[2]: *** [archscripts] Error 2
fixed by replacement
$(MAKE) V=1 -C $(KERNELPATH) SUBDIRDS=$(shell pwd) modules
on
$(MAKE) V=1 -C $(KERNELPATH) M=$(shell pwd) modules
in /utils/hdshm3/x86/driver/Makefile
2.
Code
In file included from ./include/linux/module.h:18:0,
from /usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver/hdshm.c:26:
/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver/hd_fb.h: At top level:
./include/linux/moduleparam.h:147:27: error: expected ')' before '&' token
param_check_##type(name, &(value)); \
^
./include/linux/moduleparam.h:127:2: note: in expansion of macro 'module_param_named'
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver/hd_fb.h:27:1: note: in expansion of macro 'module_param'
module_param(hd_dbg_mask, hexint, 0);
^~~~~~~~~~~~
./include/linux/moduleparam.h:148:25: error: 'param_ops_hexint' undeclared here (not in a function); did you mean 'param_ops_bint'?
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^
./include/linux/moduleparam.h:225:39: note: in definition of macro '__module_param_call'
= { __param_str_##name, THIS_MODULE, ops, \
^~~
./include/linux/moduleparam.h:148:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
./include/linux/moduleparam.h:127:2: note: in expansion of macro 'module_param_named'
module_param_named(name, name, type, perm)
^~~~~~~~~~~~~~~~~~
/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver/hd_fb.h:27:1: note: in expansion of macro 'module_param'
module_param(hd_dbg_mask, hexint, 0);
^~~~~~~~~~~~
scripts/Makefile.build:273: recipe for target '/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver/hdshm.o' failed
make[3]: *** [/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver/hdshm.o] Error 1
Makefile:1757: recipe for target '/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver' failed
make[2]: *** [/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-65-generic'
Makefile:37: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/ReelBoxNG/src-reelvdr/utils/hdshm3/x86/driver'
Makefile:47: recipe for target 'x86' failed
make: *** [x86] Error 1
Alles anzeigen
I haven't found how to fix it yet.