Compiler can't create executables
# ./configure
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 tried this in .tmp and one of my own directories. |
A web search for that error message did not turn up much that was useful because the error itself is rather generic.
What were the errors in the config.log file? If the config.log is too long to post, post the errors, being sure to surround them with "code" tags, which become available when you click the "Go Advanced" button to the right of the "Post Quick Reply" button at the bottom of the reply window. Using the "code" tags makes them much easier to read. The first error is likely the most important, as following errors may have stemmed from it. |
Also what program are you trying to build ?
a link to where you got the source code would help . also you should NOT!!!! run "configure" as root !!! you need to run that command as a NORMAL non root user |
Config.log
1 Attachment(s)
I attached config.log.
' Andy |
Quote:
---------- Post added 05-17-14 at 11:15 PM ---------- Quote:
|
Post #4 : config.log .
About gcc -V : »gcc: error: unrecognized command line option '-V'« The -V option disappeared some versions ago. ( gcc-4.4.x still had -V ) Looks like you are trying to configure an old application ? Please tell which one it is about. And : " libmpc.so.2: cannot open shared object file: No such file or directory". The mpc library is missing : "slackware/l/libmpc-0.8.2-i486-2.txz" - |
I greatly appreciate your help.
Hope no one is offended, but I decided to use a Windows XP hex editor. Andy How come my Rep is still at one bar ? |
# 7 .
Quote:
Right column → "Edit Profile" → → left column → 'Edit Options'. .. And tick "Show Your Reputation Level" → Save Changes. |
All times are GMT -5. The time now is 03:45 PM. |