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 01-07-2011, 05:43 PM   #1
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
C compiler cannot create executables?


this is stumping me.

earlier this morning, i compiled Qtcurve with no issues. but now, when i try to compile Avant Window Navigator, i get a strange error. everything begins to compile, it checks dependencies, begins compiling, and then i get this error:
Code:
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
it doesnt make sense to me. so i checked the config.log.
it reported this error:
Code:
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
i dont understand it.

then i redownloaded everything, and it worked. but this seems like an error that is due to something else entirely, and i kinda want some input on what could have gone wrong. attached is my config.log.

any thoughts?
Attached Files
File Type: log config.log (10.3 KB, 12 views)
 
Old 01-07-2011, 06:07 PM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Quote:
Originally Posted by trademark91 View Post
this is stumping me.

earlier this morning, i compiled Qtcurve with no issues. but now, when i try to compile Avant Window Navigator, i get a strange error. everything begins to compile, it checks dependencies, begins compiling, and then i get this error:
Code:
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
it doesnt make sense to me. so i checked the config.log.
it reported this error:
Code:
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
i dont understand it.

then i redownloaded everything, and it worked. but this seems like an error that is due to something else entirely, and i kinda want some input on what could have gone wrong. attached is my config.log.

any thoughts?
Yet another example Why I don't love Multi-Lib. I hate the compatibility between x86 and x86_64!

So, my friend... You configured properly the build environment?

http://alien.slackbook.org/dokuwiki/...kware:multilib

<EDIT>

Code:
configure:3046: checking for C compiler default output file name
configure:3073: gcc -O2 -march=i486 -mtune=i686   conftest.c  >&5
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
Looks like you configured the environment for x86, before.

So, nothing wrong. Only a mistake.

Last edited by Darth Vader; 01-07-2011 at 06:18 PM.
 
Old 01-07-2011, 08:58 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,575

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
From the looks of it, the build ARCH got set to i486 instead of x86_64. try running the build like so
ARCH=x86_64 ./<progarm>.SlackBuild.

Last edited by Daedra; 01-07-2011 at 10:35 PM.
 
Old 01-07-2011, 09:56 PM   #4
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
i think thats what changed when i re-downloaded everything. all working now. sure was a scary error though.
 
  


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
C++ compiler cannot create executables eomerek Linux - Newbie 28 12-13-2010 09:14 AM
C compiler cannot create executables Bazbo Linux - Software 5 11-21-2006 01:05 AM
My C compiler cannot create executables, help rbmako69 Linux - Software 15 06-16-2004 02:22 PM
C++ compiler cannot create executables IceStorm Linux - Newbie 6 06-14-2004 01:45 AM
C compiler cannot create executables inanna Linux - Newbie 1 05-01-2004 01:42 AM

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

All times are GMT -5. The time now is 10:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration