Problems compiling 2.4.19 Kernel using Mandrake 8.2
Hi Folks,
been using Mandrake 8.2 for some time now, so now out of curiosity I wanted to update my kernel und install the new Kernel 2.4.19...I read the Kernel Howto, I read different newsgroups posts and thought i was ready for the show..who thought it would turn into such a nightmare :-( First of all, I downloaded the sources from www.kernel.org and untarred them to my home directory..then moved them to the /usr/src directory..renamed the directory to linux-2.4.19 . Entered the linux-2.4.19 directory , made "su root" and started "make xconfig" I carefully went throught the different options and saved the result as "first-2.4.19"...exited the xconfig programme..back at the shell i went for "make dep" , followed by "make clean"...i didn't set up any modules during xconfig, so i skipped "make modules" and "make modules_install". So, to finish the process i wanted to create a bootable, co mpressed Kernel Image..so i typed "make bzimage"..but the only output was a german error message which said the following: "make: *** Keine Regel, um "bzimage" zu erstellen which, translated to English, means "make *** No Rule to create "bzimage" The same happened when i tried to create an uncompressed image with "make zimage". Well..that was it, no spectacular blue screen of death or a complete system crash, that was all the output i got, great :-( My last idea was to create a boot image and copy it to floppy..so i did a "make zdisk"..and to my surprise the compilation process started..the exitement lasted for about half an hour when suddenly the compilation process stopped with the following error message: drivers/char/drm/drm.o: In function 'sis_fb_alloc': drivers/char/drm/drm.o(.text+0x224a3): undefined reference to 'sis_malloc' drivers/char/drm/drm.o(.text+0x224e6): undefined reference to 'sis_free' drivers/char/drm/drm.o: In function 'sis_fb_free': drivers/char/drm/drm.o(.text+0x225d8): undefined reference to 'sis_free' drivers/char/drm/drm.o: In function 'sis_final_context': drivers/char/drm/drm.o(.text+0x22a5e): undefined reference to 'sis_free' make *** [vmlinux] Fehler1 I am sorry this post ended up being so long, but i wanted to put as much information into it as possible so that maybe some of you Linux Gods can help me with this mess.. Thanks in Advance, Dominik |
get a better compiler, gcc 2.96 in Mandrake 8.x (9.0 Beta has 3.1.1) is a broken compiler:(
|
it's not bzimage
it is bzImage (with capital i) |
Thanks for your suggestions, I think Ill try a new gcc compiler...about bzimage, I made a typo in my post, sorry! Anyway, comiling didn't work with make zdisk either, so i think it has something to do with that broken compiler.
|
Also make a sym link in /usr/src, linux --> linux-2.4.19
|
Here's how you make a sym-link anyway:
Type the follwoing Quote:
|
Hey! Did you ever get 4.2.19 installed on mdk 8.2? I'm having similar probs :(
Help the :newbie: ;) |
Yeah, i didn't have any problems compiling the 2.4.19 kernel once i upgraded my gcc compiler to version 3.0.4 . If you expereince similar problems and still have gcc 2.96 installed drop it and install 3.0.4 from the mandrake installation cd's instead, worked fine for me!
|
Don't symlink /usr/src/linux!
|
Quote:
|
All times are GMT -5. The time now is 11:23 AM. |