LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2004, 07:12 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
Question Error compliling kernel


hi,
i want to compile the new kernel linux-2.6.1,i tried the both commands"make config"and "make menuconfig" in the directory /usr/src/linux,but there is long list of errror messages one sample of the error messages
with the last two one are described bellow:
Scripts/fixdep.c:220:warning:iplicite declaration of function 'ntohl'.
make(1):***[scripts/fixdip]Error1
make:***[scripts/fixdip]Error2.
plz guide me to solve this problem.
 
Old 02-11-2004, 07:18 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Is it possible for you to give us more of the output? That warning shouldn't have caused the process to error out.
 
Old 02-13-2004, 07:13 PM   #3
shams
Member
 
Registered: Jan 2004
Posts: 537

Original Poster
Rep: Reputation: 30
hi linus
thanks for reply,i copied the new kernel linux-2.6.1.tar.gz to the /usr/src,before decompressing the new kernel i rename the old one to linux-old then,decompressed the new one and made a link "ln -s /usr/src/linux-2.6.1 /usr/src/linux"then,opened the "cd linux", and start to compile the new kernel with command "make menuconfig" also after i tried the "make config",the output is so long that passes the srceen so quickly, just i can read the last lines on the screen and don't know how to get the beging of the error messages that passed the screen, the end few lines are as bellow:
script/fixdip.c:391:'PROT_READ'undecleared (first use in this funcion)
script/fixdip.c:341:'MAp_PRIVATE'undecleared(first use in this funtcionscript/fixdip.c:325:warning:unused variable (st)
bash:command substitution:line1:unexpexted EOF while looking for matching"
bash:command looking for matching line3:syntax error:unexpected end of file.
bash:script/fixdip.c:341::no such file or directory.
make(1)***(script/fixdip)error1
bash:make(1) command not found.

Last edited by shams; 02-13-2004 at 07:17 PM.
 
Old 02-14-2004, 12:30 AM   #4
stacky_boy
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
I Think the module-init-tools-3.0-pre.tar.bz2 has not been installed before you compile the kernel 2.6
-----------------------------------------------------------------------------------

Hi..., Linus. i'am very very Surprised Because you a Guru and Master Member here
I always dream meet you and codink together
 
Old 02-14-2004, 12:46 AM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you need to do only one of
make menuconfig or make config

if make menuconfig did not result in errors, you can proceed with
make bzImage
make modules
make modules_install
make install
 
  


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
what is "compliling a kernel"? markw8500 Linux - Newbie 24 08-26-2005 05:56 PM
Compliling problems amw2320 Slackware 4 02-09-2004 10:40 PM
compliling giFT scottie Linux - Software 1 11-16-2003 08:03 PM
compliling the kernel to make it non-versioned manu_s Linux - Software 5 09-24-2003 08:22 PM
Question about compliling gravel Linux - General 6 08-26-2000 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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