LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   Compiler can't create executables (https://www.linuxquestions.org/questions/puppy-71/compiler-cant-create-executables-4175505327/)

Fixit7 05-17-2014 05:11 PM

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.

frankbell 05-17-2014 09:16 PM

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.

John VV 05-17-2014 09:28 PM

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

Fixit7 05-17-2014 10:01 PM

Config.log
 
1 Attachment(s)
I attached config.log.
'
Andy

John VV 05-17-2014 10:15 PM

Quote:

gcc: fatal error: no input files
you were in the wrong folder when you ran the command

---------- Post added 05-17-14 at 11:15 PM ----------

Quote:

gcc: fatal error: no input files
you were in the wrong folder when you ran the command

knudfl 05-17-2014 10:21 PM

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"

-

Fixit7 05-17-2014 10:55 PM

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 ?

knudfl 05-18-2014 01:29 AM

# 7 .
Quote:

How come my Rep is still at one bar ?
Your ``Reputation´´ is disabled.

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.