Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources fails to compile{invalid see bug report ;)}
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Sat Apr 04, 2009 11:08 pm    Post subject: gentoo-sources fails to compile{invalid see bug report ;)} Reply with quote

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
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Sun Apr 05, 2009 12:43 am    Post subject: dumb question Reply with quote

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
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Sun Apr 05, 2009 1:06 am    Post subject: Reply with quote

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.. :P

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
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Sun Apr 05, 2009 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Tue Apr 07, 2009 9:10 pm    Post subject: Reply with quote

I opened a bug report
https://bugs.gentoo.org/show_bug.cgi?id=265381
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum