View previous topic :: View next topic |
Author |
Message |
dingfelder Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Dr_Evil.gif)
Joined: 27 Jun 2007 Posts: 162 Location: New Zealand
|
Posted: Fri Jul 06, 2007 3:42 am Post subject: kernel config error: expected specifier before acpi_integer |
|
|
did a make menuconfig on linux-2.6.21-gentoo-r3
changed nothing except some sound card stuff
then make && make make && make modules_install
failed with:
In file included from arch/i386/kernel/acpi/cstate.c:16:
include/acpi/processor.h:88: error: expected specifier-qualifier-list before 'acpi_integer'
include/acpi/processor.h:106: error: expected specifier-qualifier-list before 'acpi_integer'
include/acpi/processor.h:167: error: expected specifier-qualifier-list before 'acpi_handle'
include/acpi/processor.h:274: warning: 'struct acpi_device' declared inside parameter list
include/acpi/processor.h:274: warning: its scope is only this definition or declaration, which is probably not what you want
include/acpi/processor.h:277: warning: 'struct acpi_device' declared inside parameter list
make[2]: *** [arch/i386/kernel/acpi/cstate.o] Error 1
make[1]: *** [arch/i386/kernel/acpi] Error 2
make: *** [arch/i386/kernel] Error 2
ACPI is not enabled in menuconfig, so what could be wrong? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Fri Jul 06, 2007 3:55 am Post subject: Re: kernel config error: expected specifier before acpi_inte |
|
|
dingfelder wrote: |
then make && make make && make modules_install
|
make && make? Why? Is that correct? Ok, save the .config file to somewhere, run make mrproper, put the .config file back into /usr/src/linux, then try a single 'make'. Oh, and check .config for any ACPI variables. _________________ Thomas S. Howard
Last edited by didymos on Fri Jul 06, 2007 4:05 am; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Jul 06, 2007 3:58 am Post subject: |
|
|
"make make"? Compile the kernel properly:
Code: | make clean bzImage modules modules_install |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dingfelder Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Dr_Evil.gif)
Joined: 27 Jun 2007 Posts: 162 Location: New Zealand
|
Posted: Fri Jul 06, 2007 4:14 am Post subject: |
|
|
sorry, that was a typo here, I did it right on my system:
Code: | make && make modules_install |
(which is how the handbook says to bo it by the way)
just for curiosity's sake, where is
Code: | make clean bzImage modules modules_install |
from?
now, back to the issue at hand, I re-ran menuconfig and determined that there is a second section within the power settings section that referrs to ACPI
I commented it out and all is good.
Thanks for the assistance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Jul 06, 2007 4:17 am Post subject: |
|
|
It's from:
Code: | cd /usr/src/linux
make help |
And finally getting reliable kernel recompilations ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Fri Jul 06, 2007 4:38 am Post subject: |
|
|
Really, all you need is "make clean && make", since make includes the vmlinux, modules, and bzImage targets. And, if it's just a new module or two, you probably don't need to run clean, but better safe and all that. _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Jul 06, 2007 4:55 am Post subject: |
|
|
Wrong. "make modules_install" is needed, to:
Quote: | Install all modules to INSTALL_MOD_PATH (default: /) |
From "make help".
And don't forget the subtlety of recompiling the same kernel, rather than compiling a kernel for the first time. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
didymos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1790706086435438446060f.jpg)
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Fri Jul 06, 2007 5:20 am Post subject: |
|
|
I was leaving out the install stuff. I'm only talking about the compilation. _________________ Thomas S. Howard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|