LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-16-2011, 11:35 AM   #1
deadalus.globalnode
Member
 
Registered: Feb 2010
Distribution: Arch linux and backtrack 4 r2
Posts: 53

Rep: Reputation: 3
"mgcc: Command not found" on Kernel recompile


Hello,
I am running Slackware 13 and working on recompiling my kernel. I just did a
Code:
make menuconfig
and I am now trying to start the actual compile using
Code:
 
make all
Unfortunately when I try to "make all" it gives the following output
Code:
root@myhost:/usr/src/linux# make all
/usr/src/linux-2.6.37/scripts/gcc-version.sh: line 25: mgcc: command not found
/usr/src/linux-2.6.37/scripts/gcc-version.sh: line 26: mgcc: command not found
/usr/src/linux-2.6.37/arch/x86/Makefile:81: stack protector enabled but no compiler support
make: mgcc: Command not found
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      kernel/bounds.s
/bin/sh: mgcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
Any help would be greatly appreciated.
Thanks in advance.
 
Old 02-16-2011, 01:53 PM   #2
deadalus.globalnode
Member
 
Registered: Feb 2010
Distribution: Arch linux and backtrack 4 r2
Posts: 53

Original Poster
Rep: Reputation: 3
fixed it by looking here:

http://blog.tpa.me.uk/slackware-kernel-compile-guide/
 
Old 02-16-2011, 01:56 PM   #3
deadalus.globalnode
Member
 
Registered: Feb 2010
Distribution: Arch linux and backtrack 4 r2
Posts: 53

Original Poster
Rep: Reputation: 3
darn

Last edited by deadalus.globalnode; 02-16-2011 at 01:57 PM. Reason: double post
 
  


Reply

Tags
compile error, gcc, kernel, make, slackware13



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
[SOLVED] When I type "sudo grub" it says "command not found" in Ubuntu 9.10 Live CD. msbstar Linux - Newbie 10 04-01-2020 11:54 PM
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
When I type "sudo grub" it says "command not found" in Ubuntu 10.10 poumtatalia Linux - Newbie 5 09-14-2010 05:21 PM
LFS6.3 livecd "ls : command not found" error after "su - lfs" rotu Linux From Scratch 2 06-19-2008 03:59 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:32 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
Open Source Consulting | Domain Registration