LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2006, 08:30 PM   #1
admart35
Member
 
Registered: Sep 2005
Distribution: Mac OS X and Fedora Core 6
Posts: 31

Rep: Reputation: 15
Compile Error


everything I try to install something from source I get a compile error saying that the "C compiler cannot create executables" can anyone help me with this?

thanks for any help
 
Old 01-19-2006, 12:53 PM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Can you manually compile programs?

eg:
Code:
int main() { return 0; }
gcc foo.c

Does the above compile?
 
Old 01-20-2006, 12:39 AM   #3
admart35
Member
 
Registered: Sep 2005
Distribution: Mac OS X and Fedora Core 6
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ugenn
Can you manually compile programs?

eg:
Code:
int main() { return 0; }
gcc foo.c

Does the above compile?

Quote:
Originally Posted by Me
yarvin@hack:~$ gcc foo.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
yarvin@hack:~$ ls
foo.c
I guess not.... and I know that I have GCC installed, it was the first thing I checked when I installed ubuntu....
 
Old 01-20-2006, 08:16 AM   #4
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
seems you need development packages for glibc (and maybe other libs too).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error Randomcasualty Linux - Newbie 9 07-10-2005 07:30 AM
compile error usa1234 Linux - Software 1 10-20-2004 01:53 AM
compile error with 2.6.5 jamaas Linux - Newbie 6 04-17-2004 01:11 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration