Linux - SoftwareThis 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
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.
I'm suddenly unable to make menuconfig on my kernel 2.6.15 after removing my kernel 2.4.31 sources (removepkg kernel-generic-2.4.31).
here's the error msg:
Code:
make: *** No rule to make target `menuconfig'. Stop.
root@z71v:/home/pj# cd /usr/src/linux
root@z71v:/usr/src/linux# 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.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/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
socket.h exists in asm directory. so how do i fix this?
try reinstalling kernel source files. also try to check how to solve problem by checking scripts/basic/fixdep.c file and header files location in kernel sourcecode.
i don't quite understand. /usr/src/linux is a symlink to /usr/src/linux-2.6.15.1 which is where i unpacked the compressed kernel source. what should i do?
ive tried doing make menuconfig both under /usr/src/linux and /usr/src/linux-2.6.15.1. i've also tried to rm -rf /usr/src/linux-2.6.15.1 and then rm -f /usr/src/linux then unpack the source to /usr/src/linux-2.6.15.1 and then rebuild the symlink. but no dice.
could the fact that i just rebuilt the other kernel have an effect on this, somehow?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.