LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-11-2005, 06:59 PM   #1
strimp099
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 15
configure: error: C compiler cannot create executables


Hello:

All of the sudden, GCC is not working on my machine. I have recently configured (successfully) programs, and now it doesn't work. I am getting the following error:

Code:
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
(I will post config.log if you want)

Some pertinant env variables are:

Code:
[root@strimpglobal clamav-0.85.1]# echo $CFLAGS
                                                                                                                                                             
[root@strimpglobal clamav-0.85.1]# echo $LDFLAGS
                                                                                                                                                             
[root@strimpglobal clamav-0.85.1]# echo $CC
                                                                                                                                                             
[root@strimpglobal clamav-0.85.1]#
I found a post that "resolves" this issue, but I can't quite apply it to my situation. Maybe someone can help translate? Thank you VERY MUCH!!

http://www.linuxquestions.org/questi...04/10/2/222588

Some additional info:

Code:
[root@strimpglobal root]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

FC2 2.6.10-1.771_FC2

Last edited by strimp099; 07-11-2005 at 07:19 PM.
 
Old 07-11-2005, 07:14 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
check your path

last time i got this error was because gcc was incorrectly installed and couldent
preform any linking to the general librarys contained in glibc

check your paths and try reinstalling glibc


that or maybe your kernel headers got uninstalled somehow
 
Old 07-11-2005, 07:23 PM   #3
strimp099
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Fedora 12
Posts: 56

Original Poster
Rep: Reputation: 15
HI:

I reinstalled GCC and glibc using webmin (therefore assuming all paths are correct). What paths do you suggest I check? With which commands?

Thanks!
 
  


Reply



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
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 19 06-22-2017 04:17 PM
configure: error: C compiler cannot create executables watashiwaotaku7 Linux - General 7 10-22-2009 09:40 AM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 07:43 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:02 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
Open Source Consulting | Domain Registration