Error! Bad return status for module build on kernel: 4.13.0-38-generic (x86_64)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tp-smapi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Setting up tp-smapi-dkms (0.41-1) ...
Creating symlink /var/lib/
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=
Error! Bad return status for module build on kernel: 4.13.0-38-generic (x86_64)
Consult /var/lib/
-------
DKMS make.log for tp-smapi-0.41 for kernel 4.13.0-38-generic (x86_64)
Sat Apr 14 13:44:42 IST 2018
make: Entering directory '/usr/src/
AR /var/lib/
CC [M] /var/lib/
In file included from ./include/
/var/lib/
./include/
static inline type __always_unused *__check_
./include/
#define param_check_
./include/
param_
^
/var/lib/
module_
^
/var/lib/
/var/lib/
}
^
cc1: some warnings being treated as errors
scripts/
make[1]: *** [/var/lib/
Makefile:1550: recipe for target '_module_
make: *** [_module_
make: Leaving directory '/usr/src/
Hello, me affected of this bug too... see the make.log of mine below...
------------- linux-headers- 4.13.0- 43-generic“ wird betreten dkms/tp- smapi/0. 41/build/ built-in. o dkms/tp- smapi/0. 41/build/ thinkpad_ ec.o linux/module. h:18:0,
from /var/lib/ dkms/tp- smapi/0. 41/build/ thinkpad_ ec.c:33: dkms/tp- smapi/0. 41/build/ thinkpad_ ec.c: In function ‘__check_force_io’: linux/modulepar am.h:346: 67: error: return from incompatible pointer type [-Werror= incompatible- pointer- types] ##name( void) { return(p); }
^ linux/modulepar am.h:398: 35: note: in expansion of macro ‘__param_check’ bool(name, p) __param_check(name, p, bool)
^ linux/modulepar am.h:148: 2: note: in expansion of macro ‘param_check_bool’ check_# #type(name, &(value)); \ dkms/tp- smapi/0. 41/build/ thinkpad_ ec.c:100: 1: note: in expansion of macro ‘module_ param_named’ param_named( force_io, force_io, bool, 0600); dkms/tp- smapi/0. 41/build/ thinkpad_ ec.c: In function ‘check_dmi_for_ec’: dkms/tp- smapi/0. 41/build/ thinkpad_ ec.c:469: 1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe- larger- than=] Makefile. build:323: die Regel für Ziel „/var/lib/ dkms/tp- smapi/0. 41/build/ thinkpad_ ec.o“ scheiterte dkms/tp- smapi/0. 41/build/ thinkpad_ ec.o] Fehler 1 /var/lib/ dkms/tp- smapi/0. 41/build“ scheiterte /var/lib/ dkms/tp- smapi/0. 41/build] Fehler 2 linux-headers- 4.13.0- 43-generic“ wird verlassen
DKMS make.log for tp-smapi-0.41 for kernel 4.13.0-43-generic (x86_64)
Do 24. Mai 18:52:49 CEST 2018
make: Verzeichnis „/usr/src/
AR /var/lib/
CC [M] /var/lib/
In file included from ./include/
/var/lib/
./include/
static inline type __always_unused *__check_
./include/
#define param_check_
./include/
param_
^
/var/lib/
module_
^
/var/lib/
/var/lib/
}
^
cc1: some warnings being treated as errors
scripts/
make[1]: *** [/var/lib/
Makefile:1550: die Regel für Ziel „_module_
make: *** [_module_
make: Verzeichnis „/usr/src/
------- ------- ---model - T530i-- ------- ------- ------- ------- -----