LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-06-2004, 01:01 AM   #1
Viking
LQ Newbie
 
Registered: Apr 2004
Location: Canada
Distribution: Mandrake 9.2 & 10.0CE
Posts: 3

Rep: Reputation: 0
Can't recompile...Please help!!!!!


I have tried and tried to recompile the stock Mandrake 10ce 2.6.3 kernel as well as the newest 2.6.5 kernel but I getting the same error each and everytime. The error message reads like this:

fs/nls/nls_base.c: In function 'char2uni' :
fs/nls/nls_base.c:465: internal compiler error:
Segmentation fault
Please submit full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [fs/nls/nls_base.o] Error 1
make[1]: *** [fs/nls] Error 2
make: *** [fs] Error 2
[myusername@localhost linux-2.6.5]$

The last line read the same when I tried the other kernel, just with linux-2.6.3 instead.

This errror comes up regardless if I use the stock built in kernel and try setting options then re-compiling, or if I download a new kernel (from kernel.org) and set options and compile. I have reinstalled mandrake 9.2 and now 10.0 about 6-8 times each thinking perhaps I got bad installs. I have downloaded the kernel source several times fom different mirrors just in case the download came in bad, but it's always the same story. I need help!!!!

Thanks


Note: I know the specs below, are meager by todays standards, but it's my only testing platform, and the OS runs ok on it. just not recompiling!!!

Test Systems Specs:

CPU: AMD K6-2 550Mhz
Mem: 192MB PC-100
Vid: Ati Rage Pro Turbo AGP
H/D: 6gb and a 2.5 gb WD
Snd: Creative Ensoniq
CD: Creative 48x Cd-Rom

I have read alot of info on kernel recomilation, but nothing seems to work.
Any suggestions? I would be very appreciative!
 
Old 04-06-2004, 01:42 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
What version compiler are you using? It looks like it's either experimnetal or corrupted somehow.

PS: Woohoo! I just clicked over 1000 posts!

Last edited by adz; 04-06-2004 at 01:44 AM.
 
Old 04-06-2004, 04:32 PM   #3
Viking
LQ Newbie
 
Registered: Apr 2004
Location: Canada
Distribution: Mandrake 9.2 & 10.0CE
Posts: 3

Original Poster
Rep: Reputation: 0
Compiler?

I'm not exactly sure. When I do an install of Linux I always make sure I have Development checked, but I don't bother checking the box for individual packages.

Whatever Mandrake uses as there default compiler is what I am using!!!

The last Mandrake version I was able to actually recompile was I think 8.2, but of course I, like anyone I want to have the latest and so called greatest, so I download the newest when it comes out, but I just can't seem to get the kernel recompiled.

Any suggestions of using a new compiler? if so where do I get it?

Thanks
 
Old 04-06-2004, 07:49 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
type gcc -v to see your version compiler,

it should at least be, 2.9.X
 
Old 04-06-2004, 08:04 PM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Do a gcc --version to find out. Version 2.95 is what you want to be using. It's likely that you're using something newer but they're not always guaranteed to work. You'll probably be able to find it on www.rpmfind.org or www.rpmseek.org.
 
Old 04-08-2004, 05:13 AM   #6
Viking
LQ Newbie
 
Registered: Apr 2004
Location: Canada
Distribution: Mandrake 9.2 & 10.0CE
Posts: 3

Original Poster
Rep: Reputation: 0
compiler version

Hey guys! when I did the gcc -v in a konsole window, it told me that my version is 3.3.1

(I appreciate you guys taking the time to help me out!)
 
Old 04-08-2004, 02:39 PM   #7
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
Im using gcc-3.3.3 and it works fine on my machine.

you may need some libs or binutils or something extra.
 
Old 04-08-2004, 11:33 PM   #8
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
Re: Can't recompile...Please help!!!!!

Quote:
Originally posted by Viking
I have tried and tried to recompile the stock Mandrake 10ce 2.6.3 kernel as well as the newest 2.6.5 kernel but I getting the same error each and everytime. The error message reads like this:

fs/nls/nls_base.c: In function 'char2uni' :
fs/nls/nls_base.c:465: internal compiler error:
Segmentation fault ...
By "the same error", you mean in this exact function and this exact line? If so, perhaps it is a corrupt file or compiler. However, if the segmentation fault comes at different lines or different functions when you repeat the compilation, there's a good chance you have a faulty memory module or some other hardware problem. It might be worth your time to get the free program memtest86 and test your memory. I've had similar segfaults, and it did turn out to be bad memory, in my case.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile 2.6 mgberry Slackware 4 08-25-2005 11:41 AM
recompile 2.4 in 9.2 alaios SUSE / openSUSE 4 02-10-2005 05:51 AM
Do you need to recompile? whishkah Slackware 1 08-13-2004 04:10 AM
instead of recompile machiner Linux - Newbie 1 07-22-2004 11:55 AM
how recompile Santas Linux - Software 2 09-08-2003 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:46 AM.

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