Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 10-16-2005, 12:22 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
Trying to update to 2.6 kernel

Hi there,

I am trying to upgrade from 2.4 to 2.6 kernel and have been following several usefull 'cookbook's i've found on-line. I run into problems when I try to upgrade the module-init-tools -->

This is what I have done:
1.get the module-init-tools-3.2-pre9.tar.gz package (also tried with 3.1 with same results)
2. tar -zxvf module-init-tools-3.2-pre9.tar.gz
3. cd module-init-tools-3.2-pre9/
4. ./configure --prefix=""
5. make moveold (get message that old has already been moved)
6. make

--> get error here:[root@linux191huron module-init-tools-3.2-pre9]# make
gcc -g -O2 -Wunused -Wall -o insmod.static -static insmod.o
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [insmod.static] Error 1

I have searched around but can't seem to find anything related. The one topic I found mentioned that perhaps libc.a is missing. Now I don't have a libc.a but I do have in my lib/ dir and my lib/i686 dir ...

I am relatively new to linux .. can anyone please help? I am currently on Mandrake 9.1 (if that helps)

Other Notes: My $LIBRARY_PATH points to /lib and /lib.i686 where there is a link which points to as well as a link which points to the same spot. I created the link as i thought perhaps it was requried (other posts read) but it did not help!

lrwxrwxrwx 1 root root 13 Oct 16 13:56 ->*
lrwxrwxrwx 1 root root 13 Jan 14 2005 ->*


Last edited by 1newbie2; 10-16-2005 at 12:54 PM.
Old 10-16-2005, 02:20 PM   #2
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 844

Rep: Reputation: 45
Your problem could be due to bypassing the RPM system. I suggest you try and get the tools as rpms.

The best way to set up more repositories if you need them is to go to:

and follow the instructions.

Whenever I bypassed the RPM system in Mandrake I had problems.
Old 10-16-2005, 04:34 PM   #3
LQ Newbie
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the response. looking at the urpmi website ... I can't really tell what this does?? (seems that it is uploading any new packages ... but what do i do once they are uploaded? How do i know what new packages are being uploaded? ie what does main include? etc ...)

I appologize for my ignorance .. if there is documentation you can point me to i'll be happy to read it!

Also, it does not have any options for i689 which is what my kernel is currently set up for.
Old 10-16-2005, 11:35 PM   #4
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
RPM packages are arranged into repositories. Main, jpackage, contrib and PLF (free and non-free) are the main software repositories for Mandrake/Mandriva. With Mandriva/Mandrake you install software using either urpmi at the command line or GUI-frontend the Software section in the Mandrake Control Centre. When you try to install a package with urpmi it searches these repositories for the package you want to install and any depedencies that package has, making installation painless and easy

What version of Mandrake do you have? generally you don't just update to the latest kernel - if you want a distro with the 2.6 kernel then get the latest version of Mandrake/Mandriva, which is 2005LE (2006 will be released to the public in early november).
Old 10-17-2005, 03:09 AM   #5
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
Mandrake 9.1 is really old you better upgrade to a newer 2005LE (which is 10.2) or 2006 (ISOs are not public currently so you can only do a network install).
Libraries with the extension .a are for static linking while .so libs are for dynamic linking. You should install libc.a if you want to use it.


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
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:57 AM.

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