SlackwareThis Forum is for the discussion of Slackware Linux.
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 got this error on my slack 9.0 compiling 2.6 stable after make mrproper:
#make xconfig
HOSTCC scripts/fixdep
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from scripts/kconfig/mconf.c:12:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
scripts/kconfig/mconf.c: In function `exec_conf':
scripts/kconfig/mconf.c:243: `EINTR' undeclared (first use in this function)
scripts/kconfig/mconf.c:243: (Each undeclared identifier is reported only once
scripts/kconfig/mconf.c:243: for each function it appears in.)
scripts/kconfig/mconf.c:243: `EAGAIN' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2
..Same launching gconfig or menuconfig..
I got qt, gtk and ncurses lib installed...
Are you logged into Xterminal?
If yes....
I cannot understand why you removed/symlinked those files.
Just configure the kernel as necessary according to your hardware configuration and build the compressed kernel.
Make mrproper is necessary if you already have compiled the kernel at least once and removal of unnecessary/confusionary building files is required.
My suggestion is you go straight to /usr/src/linux.... and from there you compile your kernel per "readme file".
Please also note module_init_tools are required to correctly compile the modules.
Install and run the script before kernel compiling.
Slack 9.0 differently from 9.1 doesn't support the new tools by default
Originally posted by urka58 Are you logged into Xterminal?
If yes....
I cannot understand why you removed/symlinked those files.
Just configure the kernel as necessary according to your hardware configuration and build the compressed kernel.
Make mrproper is necessary if you already have compiled the kernel at least once and removal of unnecessary/confusionary building files is required.
My suggestion is you go straight to /usr/src/linux.... and from there you compile your kernel per "readme file".
Please also note module_init_tools are required to correctly compile the modules.
Install and run the script before kernel compiling.
Slack 9.0 differently from 9.1 doesn't support the new tools by default
Ciao
facci sapere come è andata
Tnx VM 4 help!!
The removed/symlinked are the necessary links that must be exist if you recompile the kernel (http://mrshark.sourceforge.net/)
I've recompiled many kernels and if you don't do this removal/symlink you will recive an error making modules..
Maybe on 2.6 is different...but I tried to compile it just before done this operation and I recived the same make config error..
module_init_tool are not installed...
I got the modutils-2.4.22-i382-1 installed...
I think this is my problem...
I will try...
Originally posted by Obscure Tnx VM 4 help!!
The removed/symlinked are the necessary links that must be exist if you recompile the kernel (http://mrshark.sourceforge.net/)
I've recompiled many kernels and if you don't do this removal/symlink you will recive an error making modules..
Maybe on 2.6 is different...but I tried to compile it just before done this operation and I recived the same make config error..
module_init_tool are not installed...
I got the modutils-2.4.22-i382-1 installed...
I think this is my problem...
I will try...
Tnx Again
Yes, that's the problem. Remember to read linux-2.6.0/Documentation/Changes:
Quote:
From linux-2.6.0/Documentation/Changes:
Current Minimal Requirements
============================
Upgrade to at *least* these software revisions before thinking you've
encountered a bug! If you're unsure what version you're currently
running, the suggested command should tell you.
Again, keep in mind that this list assumes you are already
functionally running a Linux 2.4 kernel. Also, not all tools are
necessary on all systems; obviously, if you don't have any PCMCIA (PC
Card) hardware, for example, you probably needn't concern yourself
with pcmcia-cs.
o Gnu C 2.95.3 # gcc --version
o Gnu make 3.78 # make --version
o binutils 2.12 # ld -v
o util-linux 2.10o # fdformat --version
o module-init-tools 0.9.10 # depmod -V
o e2fsprogs 1.29 # tune2fs
o jfsutils 1.1.3 # fsck.jfs -V
o reiserfsprogs 3.6.3 # reiserfsck -V 2>&1|grep reiserfsprogs
o xfsprogs 2.1.0 # xfs_db -V
o pcmcia-cs 3.1.21 # cardmgr -V
o quota-tools 3.09 # quota -V
o PPP 2.4.0 # pppd --version
o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version
o nfs-utils 1.0.5 # showmount --version
o procps 3.1.13 # ps --version
o oprofile 0.5.3 # oprofiled --version
Lo so, che barba leggere i Readme... Ma evita i problemi prima che nascano.
(I know, Readme are so boring... But reading them helps you avoid troubles before they even come out.)
I resolved my problem and kernel is now compiled...but.....the problem wasn't module_init_tool
Installing it, I got the same problem...
I resolved doing a symlink ln -s /usr/src/linux/include/ /usr/include..
After all the kernel is now working correctly...
Tnx To All..
Lots of people are reporting the same error and solving it by making the same symlinks...
I don't understand... I've never had those errors in any of my kernel compiling sessions and never bother changing/making symlinks to the /usr/include directory... This really fails me.
And why do you say:
Quote:
The removed/symlinked are the necessary links that must be exist if you recompile the kernel
Ok, I see you followed the guide from the website you posted a link of... this one
I've never seen such a procedure... maybe it was necessary for old kernels...
Don't believe in the first guide you read on the internet, always read official kernel README, Documentation/Changes, and TLDP Howtos.
I mean, there's even italian versions of those. And moreover we have a wonderful kernel compiling guide from DaOne in this very forum
Sorry, if I was a bit rude... Mi dispiace, davvero.
Originally posted by kc00l Lots of people are reporting the same error and solving it by making the same symlinks...
I don't understand... I've never had those errors in any of my kernel compiling sessions and never bother changing/making symlinks to the /usr/include directory... This really fails me.
I understand what you mean, but I've posted the output of what I did above so you can see there was a problem. One thing that has been fairly consistent with my kernel builds has been I've been living in the 2.4 "world" ever since I installed Slackware 8 on my system. That came with 2.4.5 and I've been upgrading from that up to 2.4.23. The 2.6.0 kernel has been the first non-2.4 kernel I've installed on my system so that might explain the problems I had, at least.
Still, it's a mystery to me why I had the symlink problems to begin with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.