LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-13-2005, 10:18 AM   #1
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Rep: Reputation: 34
Wine, C compiler cannot create executables


Whenver I run ./configure for wine I get
Code:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
The config.log looks like
Code:
...
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------- ##
## Output files. ##
## ------------- ##

MAKE_DLL_RULES=''
MAKE_IMPLIB_RULES=''
MAKE_LIB_RULES=''
MAKE_PROG_RULES=''
MAKE_RULES=''
MAKE_TEST_RULES=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "wine-devel@winehq.org"
#define PACKAGE_NAME "Wine"
#define PACKAGE_STRING "Wine 0.9.1"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "0.9.1"

configure: exit 77
I've done plenty of looking and have tried everything I found. lobgc6-dev is installed. So are gcc etc etc.
 
Old 11-13-2005, 11:24 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,060

Rep: Reputation: 295Reputation: 295Reputation: 295
If you look in your config.log, you should see the source code ofthe problem it failed on. Chances are you're missing some component needed to compile and link a working executable (the library headers, or some part of binutils). Try entering the following program:

Code:
#include <stdio.h>

int main(void)
{
   puts("Hello, world.");
   return 0;
}
into a file called myprog.c and then compile:

gcc myprog.c -o myprog

Do you get any errors? Does running ./myprog print "Hello, world." on your terminal?
 
Old 11-13-2005, 12:02 PM   #3
1veedo
Member
 
Registered: Dec 2004
Location: WV, USA
Distribution: Gentoo, Debian
Posts: 186

Original Poster
Rep: Reputation: 34
I saw that in my google searches.
Code:
azevedo@ubuntu:~$ gcc hi.c -o hi
hi.c:7:2: warning: no newline at end of file
azevedo@ubuntu:~$ ./hi
Hello, world.
Also I have binutils but maybe not all of it was inccluded in the latest apt-get install?
 
  


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 packets Linux - Security 3 05-03-2010 05:30 PM
C compiler cannot create executables martincho Linux - Software 3 10-01-2004 07:04 PM
C++ compiler cannot create executables notmatt Linux - Newbie 4 09-30-2004 07:59 AM
C compiler cannot create executables londonboi Debian 2 09-23-2003 02:41 AM


All times are GMT -5. The time now is 06:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration