LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-22-2003, 04:55 PM   #1
ganvar
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
Unhappy Slackware 9 kernel compile problem


First off, I installed Slackware 9 from the ISO, which does not include the kernel source. I downloaded the kernel source packages, installed them using pkgtool, and then configured the kernel. When I do make dep, I get the following error:

blah@darkstar:/usr/src/linux# 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/i386-slackware-linux/3.2.2/include/limits.h:132,
from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/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: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: for each function it appears in.)
scripts/mkdep.c:221: warning: unused variable `resolved_path'
make: *** [scripts/mkdep] Error 1

I was wondering which packages I need to install to correct this error. Comments are much appereciated.
 
Old 03-23-2003, 04:06 AM   #2
mandeltuete
Member
 
Registered: Mar 2003
Location: Switzerland
Distribution: Fedora 3
Posts: 75

Rep: Reputation: 15
I suggest you to download the tar.gz or tar.bz2 from http://ftp.kernel.org.
Then untar/bzip it in your home directory and things should work. Don't compile the kernel in /usr/src/linux as described in the README.

HTH
mandeltuete
 
Old 03-23-2003, 11:24 AM   #3
ganvar
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I found the problem. Something messed up when I downloaded the slack 9.0 iso. I redownloaded the ISO, and reinstalled slack, and now everything works fine. Doh
 
  


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
Unable to compile kernel-2.6.x on Slackware 10.1 Basel Slackware 21 09-01-2005 11:02 AM
slackware 10.1 kernel compile errors... jonc Linux - General 2 03-04-2005 02:44 PM
recompiled kernel on slackware 10.0, still can't compile new one salviadud Linux - Newbie 2 02-09-2005 03:08 AM
bttv + slackware 2.4.20 kernel compile neenee Linux - General 3 05-25-2003 04:40 PM
Slackware 9.0 Kernel Source and Compile PrimaryDataLoop Slackware 7 05-19-2003 09:32 PM


All times are GMT -5. The time now is 07:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration