Chyba pri kompilovani

Sekcia: Hardware a Drivery 07.06.2009 | 12:45
Avatar omdzor #!  Používateľ
Zdravim, mam laptop (thinkpad) sl 500 a chcel som skompilovat modul na ovladanie jasu a hotkeys od tetronima(ti co maju sl radu, vedia asi o com je rec), len mi to pri kompilacii v debiane lenny vyhadzauje chybu a ja sa neviem dopatrat, preco:

make -C /lib/modules/2.6.26-2-686/build M=/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
CC [M] /usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.o
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c: In function ‘bluetooth_get_radiosw’:
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:227: error: ‘RFKILL_STATE_HARD_BLOCKED’ undeclared (first use in this function)
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:227: error: (Each undeclared identifier is reported only once
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:227: error: for each function it appears in.)
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:233: error: ‘RFKILL_STATE_UNBLOCKED’ undeclared (first use in this function)
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:233: error: ‘RFKILL_STATE_SOFT_BLOCKED’ undeclared (first use in this function)
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c: In function ‘bluetooth_update_rfk’:
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:246: error: implicit declaration of function ‘rfkill_force_state’
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c: In function ‘bluetooth_enable_show’:
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:291: error: ‘RFKILL_STATE_UNBLOCKED’ undeclared (first use in this function)
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c: In function ‘bluetooth_rfk_set’:
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:335: error: ‘RFKILL_STATE_UNBLOCKED’ undeclared (first use in this function)
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c: In function ‘lensl_new_rfkill’:
/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.c:356: error: ‘struct rfkill’ has no member named ‘get_state’
make[2]: *** [/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377/lenovo-sl-laptop.o] Error 1
make[1]: *** [_module_/usr/tetromino-lenovo-sl-laptop-c594820b5ca36b73b311ee4cbace54f223be2377] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [all] Error 2

vie niekto poradit? mam kernel verzie 2.6.26-2-686 pre debian a zodpovedajuce kenel headers...
#! /usr/bin/env python
    • Re: Chyba pri kompilovani 07.06.2009 | 13:16
      Avatar m4jkl   Používateľ
      ahoj,

      skus kuknut sem:
      http://michalzuber.blogspot.com/2009/05/nastavenie-lenovo-thinkpad-sl-klaves.html

      je to sice navod pre ubuntu, ale mozno aspon nasmeruje.
      • Re: Chyba pri kompilovani 07.06.2009 | 17:04
        Avatar omdzor #!  Používateľ
        ja viem ako ten modul zprevadzkovat, podarilo sami to uz v ubuntu aj fedore, len teraz v debiane mi vyhodi chybu pri make all... asi skusim zkompilovat novsie jadro..
        #! /usr/bin/env python