LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 02-16-2004, 07:16 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 396

Rep: Reputation: 30
Unhappy error: C compiler cannot create executables


hi everyone,
I want to configure the alsa driver for installation with the cmmmand "./configure" the output is:
checking for gcc ...gcc
cheking for C compiler defualt output file name ...configure:error:C
compiler cannot create executables.
see 'config.log'for more details
Then i tried to install alsa-utils-1.0.2 the output is:
checking for BSD compatable install ...usr/bin/ginstall.c
chekking whether make build enviroment is sane ...yes
checking for gawk...gawk
checking whether make sets $(MAKE) ...yes
checking for gcc .../usr/bin/gcc
checking for C compiler defualt output file name ...configure:error:c
compiler cannot create executables.
see 'config.log'for more details.
Also whenever i want to cofigure any software for isntallation wich i need to do,this is the error message "error:C compiler cannot create executables".
plz help me what i can do to solve these problems.
 
Old 02-16-2004, 07:23 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 65
Code:
#include <stdio.h>

int main(void)
{
   printf("Hello World\n");
   return 0;
}
Make a text file called helloworld.c with the above code. Type gcc helloworld.c. There should be no output. Now you should have a file called a.out in that directory and if you do a ./a.out it should say "Hello World" on the console. Does this work?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: C compiler cannot create executables jimmax777 Linux - Software 3 12-21-2004 06:52 AM
error: C++ compiler cannot create executables sys7em Slackware 2 10-30-2004 06:38 PM
error: C compiler cannot create executables lopette Linux - Software 4 09-10-2004 04:06 PM
error: C compiler cannot create executables bublebboy Linux - Newbie 8 06-14-2004 10:38 PM
error: C compiler cannot create executables bublebboy Linux - Newbie 3 12-31-2003 11:31 AM


All times are GMT -5. The time now is 01:40 AM.

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