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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fix build with 2.6.30-rc*
I have the same problem trying to compile the omnibook module.
I have Fedora 11 with 2.6.30.5 kernel.
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
this might be helpful:
kernel: 2.6.31.5
Do I need certain drivers enabled as modules for the omnibook module to compile?
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
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!
LSjAN4 Major thanks for the blog.Much thanks again. Really Cool.