LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-16-2005, 12:22 PM   #1
1newbie2
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 libc.so.6 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 libc.so link which points to libc-2.3.1.so as well as a libc.so.6 link which points to the same spot. I created the libc.so 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 libc.so -> libc-2.3.1.so*
lrwxrwxrwx 1 root root 13 Jan 14 2005 libc.so.6 -> libc-2.3.1.so*



Thanks!

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

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:

http://easyurpmi.zarb.org/

and follow the instructions.

Whenever I bypassed the RPM system in Mandrake I had problems.
 
Old 10-16-2005, 04:34 PM   #3
1newbie2
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
tkedwards
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
dexter11
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:00 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
Open Source Consulting | Domain Registration