Announcement

Collapse
No announcement yet.

Can't compile Omnibook module

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't compile Omnibook module

    Hi everybody.
    First of all, sorry for my English.

    I'm using Kubuntu Gutsy Beta on my Toshiba Satellite M70, which is not supported by the kernel module "Toshiba" and "Toshiba__acpi".
    I've found a module called omnibook (omnibook.sf.net), it helps Linux to correctly recognize my notebook's hardware (ie: bluetooth, battery, ecc ecc).
    With Feisty I was able to compile and run the module but now it does not compile...
    The result of make is:

    Code:
    root@ubuntu-laptop:/home/omnibook-2.20070211# make
    make -C /lib/modules/2.6.22-12-generic/build SUBDIRS=/home/omnibook-2.20070211 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.22-12-generic'
     CC [M] /home/omnibook-2.20070211/init.o
     CC [M] /home/omnibook-2.20070211/lib.o
     CC [M] /home/omnibook-2.20070211/ec.o
     CC [M] /home/omnibook-2.20070211/kbc.o
     CC [M] /home/omnibook-2.20070211/pio.o
     CC [M] /home/omnibook-2.20070211/compal.o
     CC [M] /home/omnibook-2.20070211/acpi.o
     CC [M] /home/omnibook-2.20070211/nbsmi.o
    /home/omnibook-2.20070211/nbsmi.c:396: warning: initialization from incompatible pointer type
     CC [M] /home/omnibook-2.20070211/ac.o
     CC [M] /home/omnibook-2.20070211/battery.o
     CC [M] /home/omnibook-2.20070211/blank.o
     CC [M] /home/omnibook-2.20070211/bluetooth.o
     CC [M] /home/omnibook-2.20070211/cooling.o
     CC [M] /home/omnibook-2.20070211/display.o
     CC [M] /home/omnibook-2.20070211/dock.o
     CC [M] /home/omnibook-2.20070211/dump.o
     CC [M] /home/omnibook-2.20070211/fan.o
     CC [M] /home/omnibook-2.20070211/fan_policy.o
     CC [M] /home/omnibook-2.20070211/hotkeys.o
     CC [M] /home/omnibook-2.20070211/info.o
     CC [M] /home/omnibook-2.20070211/lcd.o
    /home/omnibook-2.20070211/lcd.c:37: error: unknown field ‘owner’ specified in initializer
    /home/omnibook-2.20070211/lcd.c:37: warning: initialization makes integer from pointer without a cast
    /home/omnibook-2.20070211/lcd.c:38: error: unknown field ‘get_brightness’ specified in initializer
    /home/omnibook-2.20070211/lcd.c:38: warning: initialization makes integer from pointer without a cast
    /home/omnibook-2.20070211/lcd.c:39: error: unknown field ‘update_status’ specified in initializer
    /home/omnibook-2.20070211/lcd.c:39: warning: initialization makes integer from pointer without a cast
    /home/omnibook-2.20070211/lcd.c: In function ‘omnibook_set_backlight’:
    /home/omnibook-2.20070211/lcd.c:58: error: invalid type argument of ‘->’
    /home/omnibook-2.20070211/lcd.c: In function ‘omnibook_brightness_init’:
    /home/omnibook-2.20070211/lcd.c:131: warning: passing argument 4 of ‘backlight_device_register’ from incompatible pointer type
    make[2]: *** [/home/omnibook-2.20070211/lcd.o] Error 1
    make[1]: *** [_module_/home/omnibook-2.20070211] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-12-generic'
    make: *** [omnibook.ko] Error 2
    This is a big problem for me because my notebook needs that module...
    What can I do?

    Thanks, Martino.
Working...
X