LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-19-2004, 03:30 PM   #1
verify_reality
LQ Newbie
 
Registered: May 2004
Location: Detroit, USA
Posts: 4

Rep: Reputation: 0
quick q about kernel recompile


well, it all started when i wanted to get my ATI fglrx drivers installed.... many people seem to support the idea that recompiling the kernel with **** helps out getting the drivers working.

But, the question:

I have downloaded the src (2.4.26) that i want and did a make xconfig. That seemed okay. i saved that configuation as 2.4.26-newer or something like that . before that I moved my old "/usr/src/linux-2.4.26" to "linux-2.4.26-old" first.

now, i run make dep and it doesnt take long (<1 sec) and there is some errors and i know errors are bad at this stage.... I am looking for some help as to what this means:

================

root@darkstar:/usr/src/linux-2.4.26# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: error: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: error: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: error: for each function it appears in.)
scripts/mkdep.c:221: warning: unused variable `resolved_path'
make: *** [scripts/mkdep] Error 1
root@darkstar:/usr/src/linux-2.4.26#

=================

thanks for any help. oh, and if it helps: i am running slack 10 w/ kde
 
Old 07-19-2004, 11:50 PM   #2
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
Did you save your configuration without choose another name? You need to have a file named ".config" at the end of the configuration. If you do not have this file copy your saved configuration as .config and try make dep again.
 
  


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
Very quick kernel recompile geomatt Linux - Software 4 02-22-2005 06:15 PM
recompile kernel niteshg Linux - General 9 01-02-2005 12:25 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Kernel recompile ethernet0 Solaris / OpenSolaris 2 09-24-2003 02:21 AM
Quick Kernel Recompile Question PrimaryDataLoop Linux - Newbie 1 07-18-2003 04:10 AM


All times are GMT -5. The time now is 11:44 PM.

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