#23 can't compile kernel 2.6.21.1

open
nobody
None
5
2007-05-01
2007-05-01
hairdayl
No

When i try to compile, i get this messages:

CC [M] /home/jorge/omnibook-2.20070211/lcd.o
/home/jorge/omnibook-2.20070211/lcd.c:37: error: unknown field ‘owner’ specified in initializer
/home/jorge/omnibook-2.20070211/lcd.c:37: warning: initialization makes integer from pointer without a cast
/home/jorge/omnibook-2.20070211/lcd.c:38: error: unknown field ‘get_brightness’ specified in initializer
/home/jorge/omnibook-2.20070211/lcd.c:38: warning: initialization makes integer from pointer without a cast
/home/jorge/omnibook-2.20070211/lcd.c:39: error: unknown field ‘update_status’ specified in initializer
/home/jorge/omnibook-2.20070211/lcd.c:39: warning: initialization makes integer from pointer without a cast
/home/jorge/omnibook-2.20070211/lcd.c: In function ‘omnibook_set_backlight’:
/home/jorge/omnibook-2.20070211/lcd.c:58: error: invalid type argument of ‘->’
/home/jorge/omnibook-2.20070211/lcd.c: In function ‘omnibook_brightness_init’:
/home/jorge/omnibook-2.20070211/lcd.c:131: warning: passing argument 4 of ‘backlight_device_register’ from incompatible pointer type

Discussion

  • Logged In: NO

    I have the same problem tring to compile module on 2.6.21 kernel with ck e bootsplash patch!!

     
  • Logged In: NO

    Please use the svn version. It fixes the compilation problem ..

     
  • Yamane
    Yamane
    2007-05-22

    Logged In: YES
    user_id=1544588
    Originator: NO

    I compile omnibook (get by svn in 20/May/2007) in Kernel 2.6.21.1 without problems.