View previous topic :: View next topic |
Author |
Message |
muhsinzubeir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sat Apr 04, 2009 11:08 pm Post subject: gentoo-sources fails to compile{invalid see bug report ;)} |
|
|
Ok may be its a good to open a thread after a while of living with this.I am trying to upgrade my desktop from 2.6.25-r8 to something above with no luck...
Quote: | # make && make modules_install
CC kernel/configs.o
kernel/configs.c:60: error: expected ',' or ';' before 'static'
kernel/configs.c:71: error: 'ikconfig_read_current' undeclared here (not in a function)
make[1]: *** [kernel/configs.o] Error 1
make: *** [kernel] Error 2 |
Anyone faced similar issues.
P:S
Compile failures tested like 2 versions of gentoo-sources...so cant upgrade gentoo-sources.
I would not mind providing more informations...thanks. _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Last edited by muhsinzubeir on Tue Apr 07, 2009 11:10 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vaxbrat l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/The Jetsons/cartoon_the_jetsons_george.gif)
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Sun Apr 05, 2009 12:43 am Post subject: dumb question |
|
|
Can you do a make menuconfig or make xconfig? Since you're talking gentoo-sources I'm assuming that you at least go in and check to make sure that you are building everything you want/need. That whole make && make modules_install is a wee bit too automatic pilot for my taste. I usually go through the following discrete steps
make xconfig
(tweak options and save)
make bzImage
(set up /boot with .config system.map and copied bzimage/kernel-whatever)
make modules
make modules-install |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
muhsinzubeir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sun Apr 05, 2009 1:06 am Post subject: |
|
|
thanks...vaxbrat
Still fails with same errors....on make bzImage
... I normally do the lazzy way...here it goes:
Quote: | cd /usr/src/linux-2.6.27-gentoo-r8/
cp ../linux-2.6.25-gentoo-r8/.config .
make menuconfig |
Exit the menuconfig, I get prompt for saving the changes I say yes...now .config (old) is included in the new upgrade with new options merged as well...ready to compile the new kernel
Quote: | make && make modules_install |
Done....only copying the image to the boot and reboot...
But this time its failing..en with source code errors... weard enough..
Edit:
Thats pretty quick info's...ofcourse simlink should be pointing to the new refer to the official guide for details
Edit:
that .config compiles fine with 2.6.25-gentoo-r8 which can be considered old kernel in this case. _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
muhsinzubeir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sun Apr 05, 2009 5:35 pm Post subject: |
|
|
decided to run vanilla-sources...en upgraded smoothly.So I am wondering should I open a bug, somebody with an idea...not really sure, but to my knowledge this is not user errors...as the message pretty clearly talks source code errors...but I can be wrong..so ill wait for 2 days then if nothing i will open a bug
cheers _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
muhsinzubeir l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|