Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, when i try do a 'make menuconfig' or 'make bzImage' in kernel dir it give these lines:
Code:
root@Aerius:/usr/src/linux-2.6.10# make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/include/limits.h:11,
from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:201: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:201: error: for each function it appears in.)
scripts/basic/fixdep.c:201: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:297: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Try copying .config out of the way (ie. cp .config ..) and run
make mrproper
then copy .config back (ie. cp ../.config .) and try
make menuconfig again.
I'm not sure if this will fix your problem, but it will eliminate a lot of possibilities.
Originally posted by uberNUT69 Try copying .config out of the way (ie. cp .config ..) and run
make mrproper
then copy .config back (ie. cp ../.config .) and try
make menuconfig again.
I'm not sure if this will fix your problem, but it will eliminate a lot of possibilities.
Originally posted by uberNUT69 If you copy the defconfig in and 'make oldconfig' works then make sure you
have the ncurses and libc development packages.
there's your problem you might as well start over and reinstall next time read the upgrade.txt on the cd.
So, but I have exactly the same problem on CentOS 4.3, and I have installed only original packages and update from distribution sources...
Is there any Idea to solve this problem without reinstalling?
So, but I have exactly the same problem on CentOS 4.3, and I have installed only original packages and update from distribution sources...
Is there any Idea to solve this problem without reinstalling?
OK i have solved it by reinstalling glibc-kernelheaders package.
I have used:
1. yum remove <package>
2. save names of removing packages
3. yum install <package package ..> because of reinstaling all depended packages.
ALLERRT! be carful with this kind of action - read carefully list of removed packages at first step (yum should have to ask you first) before continuing uninstallation
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.