Error when running make config as I'm busy compiling my kernel on Slackware 12.1.0
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.
Error when running make config as I'm busy compiling my kernel on Slackware 12.1.0
Hi there,
I have a slackware server Slackware 12.1.0 running under my vmware vsphere infrastructure.
The kernel version is uname -r >> 2.6.24.5-smp and uname -a >> 2.6.24.5-smp #2 SMP Wed Apr 30 13:41:38 CDT 2008 i686 Intel(R) Xeon(R) CPU L5640 @ 2.27GHz GenuineIntel GNU/Linux.
I have allocated 32 Gig's of memory to this server under vmware vcenter but the server only has 3 Gig's allocated to it when I view it with the top command.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7170 root 20 0 2396 2316 116 S 0 0.1 29:14.16 requester
1 root 20 0 772 324 284 S 0 0.0 0:38.62 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.02 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.16 migration/0
4 root 15 -5 0 0 0 S 0 0.0 1:47.81 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:00.16 migration/1
If you see the output the server is only using 3 Gig's, I decided to recompile the kernel and so that it can use all the available memory that has been allocated to it.
I did the following:
cd /usr/src/linux
cp .conf .conf.org
make menuconfig
Then when I execute the make menuconfig command, I get the following error:
root@server1:/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/symbol.c:9,
from scripts/kconfig/zconf.tab.c:2477:
/usr/include/regex.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 're_void'
/usr/include/regex.h:315: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
/usr/include/regex.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
/usr/include/regex.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TclReFree'
/usr/include/regex.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
In file included from scripts/kconfig/zconf.tab.c:2477:
scripts/kconfig/symbol.c: In function 'sym_re_search':
scripts/kconfig/symbol.c:730: warning: implicit declaration of function 'regcomp'
scripts/kconfig/symbol.c:736: warning: implicit declaration of function 'regexec'
scripts/kconfig/symbol.c:751: warning: implicit declaration of function 'TclReFree'
make[1]: *** [scripts/kconfig/zconf.tab.o] Error 1
make: *** [menuconfig] Error 2
Has any one ever came accross this error on
Slackware or can any guru on Slackware kindly assist me in resolving this issue or to get my system to see all the memory allocated by providing me the steps.
Where did you get the tcl8.4.18 package, the package name seems not correct
(should have been tcl-8.4.18)
Also it seems this package has overwritten the glibc /usr/include/regex.h file somewhat :/
Cedrik just to be sure as my back ground is Redhat not Slackware.
These are the two packages tcl-8.4.18-i486-1.tgz and glibc-2.7-i486-10.tgz that I need to install.
Also after installing them should I try to run the make menuconfig command to see if it's working.
Regards
Gugu
---------- Post added 02-09-12 at 02:02 PM ----------
Cedrik just to be sure as my back ground is Redhat not Slackware.
These are the two packages tcl-8.4.18-i486-1.tgz and glibc-2.7-i486-10.tgz that I need to install.
Also after installing them should I try to run the make menuconfig command to see if it's working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.