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 Wed 22 Oct 2014, 06:29
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 Posts_count  
Author Message
bark_bark_bark

Joined: 05 Jun 2012
Posts: 835
Location: USA

PostPosted: Sat 25 Aug 2012, 08:50    Post_subject:  C Compiler can't create executables
Sub_title: 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
(Slacko) Puppy Arcade 11 on USB Stick, Kali Linux 1.0.9a in Vbox.
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: 1923
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_website MSNM 
ICQ 
Karl Godt


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

PostPosted: Sat 25 Aug 2012, 12:13    Post_subject: Re: C Compiler can't create executables
Sub_title: 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_website 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 835
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
(Slacko) Puppy Arcade 11 on USB Stick, Kali Linux 1.0.9a in Vbox.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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