LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2005, 11:17 AM   #1
technician
Member
 
Registered: Jul 2003
Location: Wisconsin
Distribution: Slackware 10
Posts: 50

Rep: Reputation: 15
Kernel 2.4.31 make menuconfig error


I'm using Slackware 10.0 on a production server, and I'd like to upgrade the kernel to 2.4.31 from 2.4.26. I can do a make mrproper just fine, however when I attempt to run the command make menuconfig I recieve this error:

Quote:
cgoff@www:~/linux-2.4.31$ make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/home/cgoff/linux-2.4.31/scripts/lxdialog'
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/home/cgoff/linux-2.4.31/scripts/lxdialog'
make: *** [menuconfig] Error 2
I verified ncurses is installed. I have updated all the files to be current with whatever slapt-get pulls from the 10.0 file mirrors, and chose "all packages" from the installation menu when slackware was installed on this server.

The reason I'm attempting to compile a new kernel is the server recently received another processor, so I'm trying to enable SMP. I tried working with the newest 2.6.x kernel, however I get a segmentation fault everytime I try and run make mrproper on that as well.

I looked up segmentation faults, and it seems as though it might be a hardware memory problem. I ran memtest all weekend on the server (1GB of RAM) and it didn't come up with an error. I have never had problems with GCC until trying to work with a kernel just now.

Any ideas would be appreciated!
 
Old 07-13-2005, 11:51 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Quote:
I have updated all the files to be current with whatever slapt-get pulls from the 10.0 file mirrors
Do you mean you have upgraded your slackware 10.0 to current ?

Have you upgraded your glibc package at the same time you upgraded
your binutils and gcc packages ?
 
Old 07-13-2005, 12:04 PM   #3
technician
Member
 
Registered: Jul 2003
Location: Wisconsin
Distribution: Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
No current, just whatever updates make it into the regular 10.0 release tree. As far as I'm aware slapt-get didn't touch gcc or glibc, so it should be whatever came with 10.0.
 
Old 07-13-2005, 03:05 PM   #4
technician
Member
 
Registered: Jul 2003
Location: Wisconsin
Distribution: Slackware 10
Posts: 50

Original Poster
Rep: Reputation: 15
I just swapped out the RAM to double-check the possibility of a hardware memory error. I get the same results no matter what type of stick I have in there.

I did notice my GCC and GLIBC versions are older, I suppose that could be causing the problem.
 
Old 07-21-2005, 10:11 PM   #5
seagatedoank
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
I've got too

Hai everybody, I've got segmentaton fault when I do make bzImage. I'm using Redhat 8 and aI want to upgrade my
kernel from 2.4.18 to 2.4.31. When I do make mrproper, make menuconfig, and make depend there is all fine and nothing
wrong or error message. but when I do make bzImage I've got some error message like this :

sysctl.c: In function `sysctl_string':
sysctl.c:1379: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[2]: *** [sysctl.o] Error 1
make[2]: Leaving directory `/home/src/linux-2.4.31/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/src/linux-2.4.31/kernel'
make: *** [_dir_kernel] Error 2

Is there my physical memory trouble ? or maybe there is something wrong else ?
hello, anybody can help me
Thanx alot
 
  


Reply


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
Help with make menuconfig for my kernel. Royle Debian 7 01-21-2007 10:05 PM
make menuconfig bring up an error paranoid times Linux - Software 1 10-12-2005 07:11 AM
Error: make menuconfig Diminished7th Slackware 2 04-16-2005 03:54 AM
make menuconfig ...error st3reo Fedora 0 11-18-2004 07:32 AM
no make menuconfig in kernel-2.6.6??? kaise_sose Linux - Newbie 4 06-01-2004 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:42 PM.

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