LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2002, 06:15 PM   #1
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Rep: Reputation: 15
Unhappy 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
 
Old 08-07-2002, 09:56 PM   #2
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
get a better compiler, gcc 2.96 in Mandrake 8.x (9.0 Beta has 3.1.1) is a broken compiler
 
Old 08-08-2002, 12:59 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
it's not bzimage
it is bzImage (with capital i)
 
Old 08-08-2002, 03:03 AM   #4
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 08-08-2002, 09:52 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Also make a sym link in /usr/src, linux --> linux-2.4.19
 
Old 08-08-2002, 10:02 AM   #6
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

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

Type the follwoing
Quote:
ln -s /usr/src/linux-2.4.19 /usr/src/linux
 
Old 08-30-2002, 10:58 AM   #7
hopinator
LQ Newbie
 
Registered: Aug 2002
Posts: 8

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

Help the

 
Old 08-30-2002, 03:30 PM   #8
Doalwa
LQ Newbie
 
Registered: Apr 2002
Location: Germany
Distribution: Mandrake Linux 8.2
Posts: 22

Original Poster
Rep: Reputation: 15
Thumbs up

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!
 
Old 09-01-2002, 05:43 AM   #9
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Don't symlink /usr/src/linux!
 
Old 09-01-2002, 05:58 AM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling New Kernel in Mandrake Malice132 Mandriva 6 10-09-2004 12:21 PM
Help with kernel compiling under Mandrake Linux 8.1 RJARRRPCGP Linux - Newbie 5 08-27-2004 03:32 PM
Compiling kernel on Mandrake 9.2 vincebs Mandriva 2 04-04-2004 05:56 PM
compiling the kernel with mandrake 9.2 Zvi Linux - Software 1 12-03-2003 08:10 AM
Mandrake kernel 2.4.21 compiling phaestos Linux - Newbie 1 07-15-2003 09:41 AM


All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration