|
make -C /lib/modules/2.6.37.6-smp/build M=/tmp/tp_smapi-0.40 O=/lib/modules/2.6.37.6-smp/build modules
make[1]: Entering directory `/usr/src/linux-2.6.37.6'
CC [M] /tmp/tp_smapi-0.40/thinkpad_ec.o
/tmp/tp_smapi-0.40/thinkpad_ec.c:91:8: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
/tmp/tp_smapi-0.40/thinkpad_ec.c:91:1: warning: parameter names (without types) in function declaration
/tmp/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_lock’:
/tmp/tp_smapi-0.40/thinkpad_ec.c:108:28: error: ‘thinkpad_ec_mutex’ undeclared (first use in this function)
/tmp/tp_smapi-0.40/thinkpad_ec.c:108:28: note: each undeclared identifier is reported only once for each function it appears in
/tmp/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_try_lock’:
/tmp/tp_smapi-0.40/thinkpad_ec.c:122:23: error: ‘thinkpad_ec_mutex’ undeclared (first use in this function)
/tmp/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_unlock’:
/tmp/tp_smapi-0.40/thinkpad_ec.c:134:6: error: ‘thinkpad_ec_mutex’ undeclared (first use in this function)
/tmp/tp_smapi-0.40/thinkpad_ec.c: At top level:
/tmp/tp_smapi-0.40/thinkpad_ec.c:91:8: warning: ‘DECLARE_MUTEX’ declared ‘static’ but never defined
/tmp/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_try_lock’:
/tmp/tp_smapi-0.40/thinkpad_ec.c:123:1: warning: control reaches end of non-void function
make[3]: *** [/tmp/tp_smapi-0.40/thinkpad_ec.o] Error 1
make[2]: *** [_module_/tmp/tp_smapi-0.40] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37.6'
make: *** [modules] Error 2
要不要重编內核? |
|