You are not logged in.
after "makepkg PKGBUILD" I'm running make install and this is what I get:
make -C /lib/modules/2.6.38-ARCH/build M=/home/pshkadko/downloads/tp_smapi-0.40 O=/lib/modules/2.6.38-ARCH/build modules
make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH'
CC [M] /home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.o
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:91:8: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ [-Wimplicit-int]
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:91:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_lock’:
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:108:28: error: ‘thinkpad_ec_mutex’ undeclared (first use in this function)
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:108:28: note: each undeclared identifier is reported only once for each function it appears in
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_try_lock’:
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:122:23: error: ‘thinkpad_ec_mutex’ undeclared (first use in this function)
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_unlock’:
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:134:6: error: ‘thinkpad_ec_mutex’ undeclared (first use in this function)
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c: At top level:
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:91:8: warning: ‘DECLARE_MUTEX’ declared ‘static’ but never defined [-Wunused-function]
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c: In function ‘thinkpad_ec_try_lock’:
/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.c:123:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [/home/pshkadko/downloads/tp_smapi-0.40/thinkpad_ec.o] Error 1
make[2]: *** [_module_/home/pshkadko/downloads/tp_smapi-0.40] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH'
make: *** [modules] Error 2
I'm running Lenovo Thinkpad EDGE 13 AMD Turion x2 64
Can't figure out what went wrong? Any ideas?
Last edited by tasty_minerals (2011-05-04 19:43:39)
lenovo thinkpad EDGE 13'
Offline
Insatll kernel26-headers and any other dependencies. The message is quite clear.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
oh, sorry, I thought it was a kernel version mismatch, stupid.
lenovo thinkpad EDGE 13'
Offline