LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2005, 08:24 AM   #1
mgberry
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 08-25-2005, 09:00 AM   #2
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
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.
 
Old 08-25-2005, 09:03 AM   #3
mgberry
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 08-25-2005, 09:06 AM   #4
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
post the .config, I'll try to build it.
 
Old 08-25-2005, 10:41 AM   #5
mgberry
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
recompile 2.4 in 9.2 alaios SUSE / openSUSE 4 02-10-2005 04:51 AM
Do you need to recompile? whishkah Slackware 1 08-13-2004 03:10 AM
instead of recompile machiner Linux - Newbie 1 07-22-2004 10:55 AM
Can't recompile...Please help!!!!! Viking Linux - General 7 04-08-2004 10:33 PM
how recompile Santas Linux - Software 2 09-08-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01: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