LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Recompile 2.6 (https://www.linuxquestions.org/questions/slackware-14/recompile-2-6-a-356840/)

mgberry 08-25-2005 08:24 AM

Recompile 2.6
 
I am completly stranded on this and hoping for some input. I have recompiled 2.6 on many machines with no problem. I use my machine for various developments and initially had no problem compiling 2.6. I recently tried some new configurations and when I compiled I get the following error:

bash-3.00# make
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
SPLIT include/linux/autoconf.h -> include/config/*
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
cc1: error: invalid option `arch=i686'
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
bash-3.00#

I thought may be I hosed my gcc, so I downloaded a random source like 'starlium' and compiled and executed with out a problem. I have also tried the .config that is automatically generated and used my own. This was thinking that something in my .config was incorrect. I have also downloaded another .config I use on another labtop that is identicle.

Thanks,

Matt

KMcD 08-25-2005 09:00 AM

Is this all with the same kernel source? Why not try to use
Code:

make mrproper
then compile the kernel. Better change the name of your .config so that it's not deleted. If that doesn't work download a new copy of the source.

mgberry 08-25-2005 09:03 AM

I have tried 3 different source trees that are different revisions. All display the same error. The order of operation for me is:

make mrproper
make menuconfig
make


Matt

KMcD 08-25-2005 09:06 AM

post the .config, I'll try to build it.

mgberry 08-25-2005 10:41 AM

The .config is to big to post here and I dont have a link. Send me your email and I will send it over.

Matt


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