Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-26-2006, 04:35 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
kernel upgrade

I am trying to upgrade kernel of my old firewall (Slackware 9.1, 2.4.22) to new kernel.
After deflating tar, and after I changed the link, I tried make menuconfig, make xconfig and make oldconfig, always obtaining this answer.

I am a user, trying to learn some more, so I tried to find limits.h file, and I found it.

HOSTCC scripts/fixdep
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.1/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.1/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.1/include/limits.h:11,
from scripts/fixdep.c:105:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/netinet/in.h:212, from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
scripts/fixdep.c: In function `use_config':
scripts/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: error: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: error: for each function it appears in.)
scripts/fixdep.c:193: warning: unused variable `s'
scripts/fixdep.c: In function `parse_dep_file':
scripts/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:289: warning: unused variable `s'
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2

Can someone help me?

Old 07-26-2006, 09:02 AM   #2
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
If I understand correctly, you wish to upgrade your firewall machine to a 2.6.x kernel - just guessing - is that correct?

Extract the tar file (tar.gz - I am guessing) to your preferred directory and then cd into the newly created directory. You can do this as user.
You should then be able to do make menuconfig or make xconfig if you are using kde.
Old 08-01-2006, 03:17 AM   #3
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,937

Rep: Reputation: 128Reputation: 128
Would it be asking too much for you to post the directory and command you issued to get these errors? Or would you rather we play "20 Questions" until someone guesses the answers?
Old 08-01-2006, 03:57 AM   #4
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
I am a user, trying to learn some more, so I tried to find limits.h file, and I found it.
But it might not be the right one (as in the right (a 2nd) limits.h *might* be somewhere else that it hasn't looked yet.

I don't know if that's the case with you. But I got driven nuts a bunch of times due to the exact issue I said (with different file(s) though, not limits.h)


I suggest you search this forum using relevant terms also at google groups the group alt.os.linux.slackware

At that latter I know there's huge volumes of answered kernel compile questions (and info about two of _name-here_ files and it finding the wrong one until someone points it to the right one.

And, how late of a kernel can Slackware 9.1 run?



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 Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 09:32 AM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 10:53 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 05:59 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration