Page 1 of 1

C Compiler can't create executables

Posted: Sat 25 Aug 2012, 12:50
by bark_bark_bark
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??????

Posted: Sat 25 Aug 2012, 13:31
by pemasu
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.

Posted: Sat 25 Aug 2012, 14:25
by Iguleder
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?

Re: C Compiler can't create executables

Posted: Sat 25 Aug 2012, 16:13
by Karl Godt
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 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 .
I remember i was not able to compile grub in iguleder's dpup .
dpups compile kernels just fine though .

Posted: Sat 25 Aug 2012, 17:36
by bark_bark_bark
I don't even know if Wary 5.3's devx even has a C compiler. But I am liking the Glade Interface Designer.