C Compiler can't create executables

discuss compiling applications for Puppy
Post Reply
Message
Author
bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

C Compiler can't create executables

#1 Post 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??????
....

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#2 Post 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.

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#3 Post 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?
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

Re: C Compiler can't create executables

#4 Post 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 .

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#5 Post 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.
....

Post Reply