I got that error while trying to compile a file manager. This is the first time I got this error. I compiled 2 packages earlier and it worked.
What am I doing wrong??????
C Compiler can't create executables
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA
I believe you have messed up your compiling environment of your Puppy. It sounds like cc and gcc bins and symlinks are screwed.
Easiest would be to start with fresh install...or unload your devx sfs and then reboot and load it again. It might fix your compiling environment.
Also....thinking back what you did after you compiled succesfully might help to prevent it to happen again.
Of course there is possibility that there is really something missing from the devx sfs. I have improved my own several times.
But since you didnt give ANY needed information....I dont start to speculate.
Easiest would be to start with fresh install...or unload your devx sfs and then reboot and load it again. It might fix your compiling environment.
Also....thinking back what you did after you compiled succesfully might help to prevent it to happen again.
Of course there is possibility that there is really something missing from the devx sfs. I have improved my own several times.
But since you didnt give ANY needed information....I dont start to speculate.
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
It's important to know how to read logs - see config.log under the sources directory.
The two most common reasons for this error are:
- Invalid CFLAGS or LDFLAGS, which are options passed to the compiler's command line. If they're invalid, it just won't run.
- Sometimes, you don't have a compiler. Do you have the devx module loaded?
The two most common reasons for this error are:
- Invalid CFLAGS or LDFLAGS, which are options passed to the compiler's command line. If they're invalid, it just won't run.
- Sometimes, you don't have a compiler. Do you have the devx module loaded?
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Re: C Compiler can't create executables
I had this too long time ago and i think that was related to objcopy binary from debian and ubuntu binutils . configure script spit that out .bark_bark_bark wrote:I got that error while trying to compile a file manager. This is the first time I got this error. I compiled 2 packages earlier and it worked.
What am I doing wrong??????
I remember i was not able to compile grub in iguleder's dpup .
dpups compile kernels just fine though .
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA