Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-22-2002, 11:24 PM   #1
LQ Newbie
Registered: Apr 2002
Location: Houston, TX
Distribution: Mandrake
Posts: 22

Rep: Reputation: 15
Question difficulty with compiler

I am somewhat new to linux, i'm teaching myself and have learned alot so far. I installed the gcc packages that i found on my distro cd's, but i'm getting an error msg and not sure what to make of it. Here is what i'm getting:

loading cache ./config.cache
checking host system type...i686-pc-linux-gnu
checking wheather make sets ${MAKE}...yes
checking for gcc...gcc
checking for the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables

I was told that i needed to empty the config.cache file. I did cat config.cache but it did not print anything onscreen so there is nothing there. The program i am trying to load is freeamp if you need that. I am useing mandrake 8.1. Any help you can offer is greatly appreciated.

Thanks in advance
Old 04-23-2002, 12:45 AM   #2
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
try which gcc if it comes back with a location of gcc try ./configure -? to see what options to pass in, like compiler locations.
Old 04-23-2002, 08:55 PM   #3
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
You could be missing critical header and library files. Make sure you installed the proper development packages.
Old 04-23-2002, 10:03 PM   #4
LQ Newbie
Registered: Apr 2002
Location: Houston, TX
Distribution: Mandrake
Posts: 22

Original Poster
Rep: Reputation: 15
I currently have the following gcc packages installed, with all the libraries that they said to install.


Is there something that i don't have installed that i should?
Old 08-18-2002, 01:36 AM   #5
Registered: Aug 2002
Distribution: damnsmalllinux
Posts: 205

Rep: Reputation: 30

this is exacly the problem that i have with gcc. i know i have the proper version because i got it from my distro's web site, and i'm pretty sure i have all the correct libs. i've looked on other forums, and no one seems to know the answer to this problem... could someone answer it? please??


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
Difficulty configuring X mjordan2nd Linux - Software 4 08-09-2005 09:23 PM
Difficulty in installation (C compiler). lazicsavo Linux - Software 3 10-25-2004 03:23 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 05:31 AM
Linux Difficulty????? schigara General 24 07-11-2003 02:11 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration