/.../omnibook/init.c: In function ‘omnibook_init’:
/.../omnibook/init.c:294: error: ‘struct proc_dir_entry’ has no member named ‘owner’
Fix build with 2.6.30-rc*
I have the same problem trying to compile the omnibook module.
I have Fedora 11 with 184.108.40.206 kernel.
I have applied the patch and got past the error. But now I get this. Am I missing something?
/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: *** [/usr/src/omnibook-2.20070211/ac.o] Error 1
make: *** [_module_/usr/src/omnibook-2.20070211] Error 2
make: Leaving directory `/usr/src/linux-220.127.116.11'
make: *** [omnibook.ko] Error 2
this might be helpful:
Do I need certain drivers enabled as modules for the omnibook module to compile?
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!
You seem to have CSS turned off.
Please don't fill out this field.
LSjAN4 Major thanks for the blog.Much thanks again. Really Cool.
Log in to post a comment.
Sign up for the SourceForge newsletter: