LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-05-2003, 07:59 AM   #1
GJoz
Member
 
Registered: Jan 2003
Distribution: Redhat 9.0 Shrike
Posts: 37

Rep: Reputation: 15
error compiling kernel


hello
i had to compile my kernel for my modem
i have done the following(kernel source is install):

cd /usr/src/linux-2.4.18-19.8.0
make mrproper
cp /usr/src/linux-2.4.18-19.8.0/configs/kernel-2.4.i686.config /usr/src/linux-2.4.18-19.8.0/.config
make oldconfig
make dep
make modules_install

and at make modules_install it gives me error 2 at drivers
and this way its not working correctly,cause its not finished
any ideeas?
 
Old 02-05-2003, 08:05 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
you have to compile the kernel and install it
if you want to install a new set of modules.
 
Old 02-05-2003, 08:08 AM   #3
GJoz
Member
 
Registered: Jan 2003
Distribution: Redhat 9.0 Shrike
Posts: 37

Original Poster
Rep: Reputation: 15
how to install it?
ps: the error is: it doesnt recognize vfat either now,and gives many errors on startup

Last edited by GJoz; 02-05-2003 at 08:11 AM.
 
Old 02-05-2003, 08:31 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
generally, it's
make dep
make bzImage
make modules
make install
make modules_install

if your kernel has some missing stuff, though,
you may not be able to boot, after.
 
Old 02-05-2003, 08:35 AM   #5
GJoz
Member
 
Registered: Jan 2003
Distribution: Redhat 9.0 Shrike
Posts: 37

Original Poster
Rep: Reputation: 15
ok
thanks
let me try
 
Old 02-05-2003, 02:30 PM   #6
lopoetve
Member
 
Registered: Aug 2001
Distribution: Too many.
Posts: 102

Rep: Reputation: 15
you can't install the modules without compiling them first.

And I for one dont use make install. Just copy the kernel (bzImage) from /usr/src/linux/arch/i386/boot (might have that wrong) and add to lilo.conf by hand.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling kernel. Royle Debian 8 08-25-2005 03:42 PM
Error compiling the kernel Hungry ghost Fedora 4 04-27-2005 11:15 AM
Error Compiling Kernel kurin Linux - Software 1 12-01-2004 05:08 PM
kernel compiling error draker Linux - Newbie 0 08-19-2003 01:05 AM
kernel compiling error johncla Linux - General 0 05-28-2001 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:30 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