Menu

#12 Build failure with 2.6.30-rc*

open
nobody
None
5
2009-05-03
2009-05-03
Darren Salt
No

/.../omnibook/init.c: In function ‘omnibook_init’:
/.../omnibook/init.c:294: error: ‘struct proc_dir_entry’ has no member named ‘owner’

Discussion

  • Darren Salt

    Darren Salt - 2009-05-03

    Fix build with 2.6.30-rc*

     
  • Nobody/Anonymous

    I have the same problem trying to compile the omnibook module.

    I have Fedora 11 with 2.6.30.5 kernel.

     
  • eigernorth

    eigernorth - 2009-11-17

    Hi,
    I have applied the patch and got past the error. But now I get this. Am I missing something?
    Thanks.

    /usr/src/omnibook-2.20070211/ac.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ac_driver'
    /usr/src/omnibook-2.20070211/ac.c: In function '__check_ac':
    /usr/src/omnibook-2.20070211/ac.c:57: error: 'ac_driver' undeclared (first use in this function)
    /usr/src/omnibook-2.20070211/ac.c:57: error: (Each undeclared identifier is reported only once
    /usr/src/omnibook-2.20070211/ac.c:57: error: for each function it appears in.)
    /usr/src/omnibook-2.20070211/ac.c: At top level:
    /usr/src/omnibook-2.20070211/ac.c:57: error: 'ac_driver' undeclared here (not in a function)
    /usr/src/omnibook-2.20070211/ac.c:57: warning: type defaults to 'int' in declaration of 'type name'
    make[2]: *** [/usr/src/omnibook-2.20070211/ac.o] Error 1
    make[1]: *** [_module_/usr/src/omnibook-2.20070211] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.31.5'
    make: *** [omnibook.ko] Error 2

     
  • eigernorth

    eigernorth - 2009-11-18

    this might be helpful:
    kernel: 2.6.31.5

    Do I need certain drivers enabled as modules for the omnibook module to compile?

     
  • Anonymous

    Anonymous - 2009-12-15

    Fedora 11:
    I had the same problem with compiling "ac.c" (after applying this patch).
    The solution is - compile from suse sources - ftp://ftp5.gwdg.de/pub/opensuse/update/11.1/rpm/src/omnibook-20080627-1.1.6.src.rpm
    Just extract rpm, apply patch and compile!

     
  • Nobody/Anonymous

    LSjAN4 Major thanks for the blog.Much thanks again. Really Cool.

     

Log in to post a comment.