Linux - GeneralThis 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
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 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!
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.