Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Jul 2014, 04:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
C Compiler can't create executables
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
bark_bark_bark

Joined: 05 Jun 2012
Posts: 780
Location: USA

PostPosted: Sat 25 Aug 2012, 08:50    Post subject:  C Compiler can't create executables
Subject description: WHAT!?
 

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??????

_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sat 25 Aug 2012, 09:31    Post subject:  

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.
Back to top
View user's profile Send private message 
Iguleder


Joined: 11 Aug 2009
Posts: 1867
Location: Israel, somewhere in the beautiful desert

PostPosted: Sat 25 Aug 2012, 10:25    Post subject:  

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?

_________________
My homepage
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ICQ Number 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: Sat 25 Aug 2012, 12:13    Post subject: Re: C Compiler can't create executables
Subject description: WHAT!?
 

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 .
Back to top
View user's profile Send private message Visit poster's website 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 780
Location: USA

PostPosted: Sat 25 Aug 2012, 13:36    Post subject:  

I don't even know if Wary 5.3's devx even has a C compiler. But I am liking the Glade Interface Designer.
_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0482s ][ Queries: 12 (0.0048s) ][ GZIP on ]