LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2003, 03:29 PM   #1
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
kernel compiling problem


Why, after using

make xconfig (and going through)
make dep
make clean
make bzImage

I get this error during the bzImage part:

make[2]: *** [ksyms.o] Error 1
make[2]: leaving directory '/usr/src/linux/2.4.21/kernel'
make[1]: *** [first_rule] Error 2
make[1]: leaving directory '/usr/src/linux/2.4.21/kernel'
make : *** [_dir_kernel] Error 2

I also get a lot of "warning this is the location of the previous definition" warnings during the bzImage process

I downloaded my kernel source from kernel.org as a bz2 file,
unark'd it to my /usr/src/, and did the above.
 
Old 08-23-2003, 03:44 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
did you first do a make mrproper? most downloaded sources arnt very clean to start with.

i reccomend

make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules_install
 
  


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
kernel compiling problem. Jakalx Debian 5 08-20-2005 11:42 AM
problem compiling kernel. Rarrum Debian 3 03-21-2005 08:57 PM
problem compiling kernel :( djh Slackware 13 11-14-2004 08:45 PM
problem for compiling kernel bush Linux - General 3 05-16-2003 08:06 AM
Problem after compiling the kernel niac Linux - General 3 10-14-2002 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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