C compiler cannot create executables
Hi,
trying to configure a program I get the following message and .configure
stops.
checking for C compiler default output... configure: error: C compiler cannot create executables
What has to be done to correct this?
Thanks & regards
Signature · 9 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 8 lines · Peter
Hi,
trying to configure a program I get the following message and .configure
stops.checking for C compiler default output... configure: error: C compiler cannot create executables
What has to be done to correct this?
Do this:
% echo "int main(void) { return 1; }" > foo.c && gcc foo.c -o foo ; ./foo
If you get any errors check for your gcc installation.
Elias
Signature · 6 lines
http://gnewtellium.sourceforge.net MP3 is not a crime. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 11 lines · Peter
Hi,
trying to configure a program I get the following message and .configure
stops.checking for C compiler default output... configure: error: C compiler cannot create executables
What has to be done to correct this?
Thanks & regards
At a guess, you are missing the binutils package.
Lawson
---oops---
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs