LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiler Error... (https://www.linuxquestions.org/questions/linux-newbie-8/compiler-error-900328/)

tb75252 08-30-2011 10:00 PM

Compiler Error...
 
I have Slackware 13.37 (32-bit) installed. The desktop I am using is 11 years old and has a Tyan Trinity 400 (S1854) motherboard with a Pentium III 1100 MHz and a VIA Apollo Pro 133A chipset.

I am trying to learn more about Linux and Slackware, so I decided to compile my own kernel using the instructions located at:
http://blog.tpa.me.uk/slackware-kernel-compile-guide/

Unfortunately, when I issue the command "make -j3" I get these error messages (PS: "-tb75252" is a string that I added in the kernel configuration option for what the author calls <LocalVersion>):

Quote:

# make -j3
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
/usr/src/linux-2.6.38.7/scripts/gcc-version.sh: line 25: -tb75252gcc: command not found
/usr/src/linux-2.6.38.7/scripts/gcc-version.sh: line 26: -tb75252gcc: command not found
/usr/src/linux-2.6.38.7/arch/x86/Makefile:81: stack protector enabled but no compiler support
make: -tb75252gcc: Command not found
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
/bin/sh: -tb75252gcc: command not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
CC kernel/bounds.s
/bin/sh: -tb75252gcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
Any suggestions as to what I need to do to make it compile? Please keep in mind that I am not a Linux veteran, so please try to be as clear and thorough as possible.

Thanks!

MS3FGX 08-31-2011 12:00 AM

From the error, it seems pretty clear that it doesn't understand the "-tb75252" you have added. Have you tried simply compiling the kernel without that parameter included?

hi2arun 08-31-2011 12:13 AM

Quote:

-tb75252gcc: command not found
looks like some space typo that you have added to the conf.


All times are GMT -5. The time now is 12:43 PM.