Trying to recompile kernel but config's not working.
Well, I'm trying to recompile the kernel so that I can get rivafb support so that I couls have a bootsplash. However, when I try to run make xconfig, it didn't work. same for make menuconfig. Here's what I got:
Code:
user@hostname:/usr/src/kernel-source-2.6.8$ make xconfig |
Try going into this file:
/usr/src/kernel-source-2.6.8/scripts/kconfig/mconf.c and commenting out line 91. Then run it again. If that doesn't work - uncomment 91 - and comment 63. BTW - to "comment" is to put a hash (#) at the beginning of the line |
Thanks, though now I see that it's quite an obvious solution. Maybe I should of looked at the error before posting.
EDIT: Well, Ok, now I'm getting this when I actually try to compile the kernel: Code:
make[1]: Entering directory `/usr/src/kernel-source-2.6.8' Code:
/* P.S. You can really use the hash mark for commenting instead of /*foo*/ in a C file? |
I would download another source package and try again. I've never been one for fixing other peoples coding errors. Do report this, though - and let them figure out if it is a valid bug - instead of just something on your machine (gcc version - etc) - unless you are pretty adventurous...
|
Starting over is always a nice idea.
Ok, I think I will start over. Maybe I messed up somewhere and because of it caused this to happen. I might try using that guide to recompiling that's a sticky in the Debian forum here.
Of course, I first have to fix my messed up lilo. conf:rolleyes: |
BTW, a # is not a comment for C source code as it would be for Perl or bash, which is part of the reason why that didn't work. Instead you would enclose the line as follows /* line */.
What version of gcc are you using? If you're using gcc 4 try installing an older version, as gcc 4 does some things differently and has a few issues since it's quite a bit stricter about enforcing some language rules than gcc 3 was. |
Yep, the problem was that gcc was too new of a version, so I found a way to fix it so it uses the old one. So yes, my kernel was compiled. However, I still don't have a bootsplash. I checked and vesafb did load. Is it because I made the options in lilo.conf wrong? Here's my lilo.conf now:
Code:
boot=/dev/hda |
Ok, I'm bumping this up now, for I think I added the last comment way too late at night.
|
install=/boot/boot.b ?
Going Graphical |
SonicGT,
i'm having the same problem you were having, and when i last tried to downgrade my gcc i managed to delete gnome and left quite a few packages in my system unusable. how did you manage to do it? TimmyP |
Wonder how that happened...all I jused was Synaptic's Force Version feature to downgrade and from there it worked fine...
At least that's what I think I did.:D |
ah, i'm mostly an aptitude guy...i'll have to give synaptec another try. what i did though was to go to debian.org and download the lower version .deb package and install it with dpkg.
i don't remember what i did before... it seems to me though that etch seems to be a bit more unstable than sid right now. there are a lot of packages (like alsa-utils for example) that the current version in testing is not compatable with other major testing software (like alsa-utils and gnome) |
All times are GMT -5. The time now is 11:28 AM. |