Trendane Posted January 5, 2005 Report Share Posted January 5, 2005 Following the instructions on this site for kernel recompile, I've urpmi'd the kernel source linux-2.4.27-0.pre2.1mdk, did the make mrproper, went through the make menuconfig.... ...and then while doing the make modules modules_install it errored out with this : make[2]: *** [cpqarray.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.27-0.pre2.1mdk/drivers/block' make[1]: *** [_modsubdir_block] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.27-0.pre2.1mdk/drivers' make: *** [_mod_drivers] Error 2 Any clues as to what could be causing this? Thanks, in advance. [moved from Installing Mandrake by spinynorman] Quote Link to comment Share on other sites More sharing options...
devries Posted January 5, 2005 Report Share Posted January 5, 2005 Try make oldconfig instead of menuconfig. (are you using mandrake9.x?) Quote Link to comment Share on other sites More sharing options...
Trendane Posted January 5, 2005 Author Report Share Posted January 5, 2005 (edited) Try make oldconfig instead of menuconfig. (are you using mandrake9.x?) <{POST_SNAPBACK}> Oh. Sorry. I thought I had included that info. MDK 10.1 Official. I tried oldconfig and it looks to have finished....but I'm not seeing a bzImage in /usr/src/ linux-2.4.27-0.pre2.1mdk/ as most of the directions I have found would seem to indicate I should. There is a /usr/src/linux-2.6.3-13mdk/arch/i386/boot/bzImage but that's not the kernel-source I pulled down with urpmi. Edited January 5, 2005 by Trendane Quote Link to comment Share on other sites More sharing options...
Trendane Posted January 5, 2005 Author Report Share Posted January 5, 2005 *chuckle* That's one thing I hate about my system....it neveer works the way I want it to and all the directions I find on howl to fix it.....never work. Quote Link to comment Share on other sites More sharing options...
devries Posted January 5, 2005 Report Share Posted January 5, 2005 The make bzImage && make modules && make modules_install commands just make things, they do not install the kernel. For that you need to do make install :) However be care full with that. If your new kernel doesn't work you will have to reinstall. Not that there is much chance of that since you build exactly the same kernel that you had :). To be sure install the new kernel by hand: http://madpenguin.org/cms/?m=show&id=306 This howto works. Any reason why you need to build your own kernel? And why such an old one? Mandrake 10.1 comes standard with 2.6.8.xx. Quote Link to comment Share on other sites More sharing options...
Trendane Posted January 5, 2005 Author Report Share Posted January 5, 2005 The make bzImage && make modules && make modules_install commands just make things, they do not install the kernel. For that you need to do make install :) However be care full with that. If your new kernel doesn't work you will have to reinstall. Not that there is much chance of that since you build exactly the same kernel that you had :). To be sure install the new kernel by hand: http://madpenguin.org/cms/?m=show&id=306 This howto works. Any reason why you need to build your own kernel? And why such an old one? Mandrake 10.1 comes standard with 2.6.8.xx. <{POST_SNAPBACK}> That's the one I was trying to compile...well, 2.6.7 something, I think. But urmpi pulled down 2.6.3-13 for some reason. I'll try pulling it down from a different site and see if it gets a more recent kernel. The sole reason I'm trying to do this is because, as I stated in the Games forum, I want to get Neverwinter Nights working again. The Nvidia drivers won't compile because it says the kernel-source is wrong. So, if I can get one kernel compiled, installed, and working with the Nvidia drivers...NWN should work again just fine. Quote Link to comment Share on other sites More sharing options...
Trendane Posted January 5, 2005 Author Report Share Posted January 5, 2005 Well...I was following the instructions on the site you listed the link for, and about 2-3 minutes into the make dep && make bzImage && make modules && make modules_install It errored out with this message" In file included from /usr/src/linux-2.4.21/include/linux/unistd.h:9, from init/main.c:17: /usr/src/linux-2.4.21/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit' make: *** [init/main.o] Error 1 Quote Link to comment Share on other sites More sharing options...
devries Posted January 5, 2005 Report Share Posted January 5, 2005 You're still trying to build a 2.4 kernel. I don't think that will run on a Mandrake 10.1 installation. Do uname -r to see what kernel you have installed. Use http://rpm.pbone.net/ this site to find the kernel-source. Then try again. Quote Link to comment Share on other sites More sharing options...
Trendane Posted January 5, 2005 Author Report Share Posted January 5, 2005 $ uname -r 2.6.3-4mdk I looked on pbone....but none of the packages coming up in the search. A friend of mine is trying to help me with this now. I'll let you know the results. Quote Link to comment Share on other sites More sharing options...
Trendane Posted January 5, 2005 Author Report Share Posted January 5, 2005 Okay. Problem solved....at least, the kernel part of it. As it happens, MCC listed 2.6.8.1-12mdk in the software packages....so I updated to that. Now I go back to the Games forum to continue trying to get Neverwinter Nights working. Thanks, everybody!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.