LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems compiling 2.4.19 Kernel using Mandrake 8.2 (https://www.linuxquestions.org/questions/linux-newbie-8/problems-compiling-2-4-19-kernel-using-mandrake-8-2-a-27435/)

Doalwa 08-07-2002 05:15 PM

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

rverlander 08-07-2002 08:56 PM

get a better compiler, gcc 2.96 in Mandrake 8.x (9.0 Beta has 3.1.1) is a broken compiler:(

neo77777 08-07-2002 11:59 PM

it's not bzimage
it is bzImage (with capital i)

Doalwa 08-08-2002 02:03 AM

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.

Aussie 08-08-2002 08:52 AM

Also make a sym link in /usr/src, linux --> linux-2.4.19

X11 08-08-2002 09:02 AM

Here's how you make a sym-link anyway:

Type the follwoing
Quote:

ln -s /usr/src/linux-2.4.19 /usr/src/linux

hopinator 08-30-2002 09:58 AM

Hey! Did you ever get 4.2.19 installed on mdk 8.2? I'm having similar probs :(

Help the :newbie:

;)

Doalwa 08-30-2002 02:30 PM

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!

rverlander 09-01-2002 04:43 AM

Don't symlink /usr/src/linux!

Aussie 09-01-2002 04:58 AM

Quote:

Originally posted by rverlander
Don't symlink /usr/src/linux!
Do symlink...as of kernel-2.4.19 when you untar the package it untars to linux-2.4.19......so you'll need the linux-->linux-version symlink to compile packages that need kernel stuff.


All times are GMT -5. The time now is 11:23 AM.