The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Application link error with gcov clho Debian 1 01-13-2008 10:03 PM
need some info about symbolic link and hard link detective linux UNIX for Dummies Questions & Answers 2 01-08-2008 07:36 AM
Link error while linking a shared library in unix arunkumar_mca UNIX for Dummies Questions & Answers 3 02-15-2007 09:59 AM
Difference between hard link and soft link in unix RAJACHOKALINGAM UNIX for Dummies Questions & Answers 2 08-01-2006 04:10 AM
link error problem niukun Linux 4 11-18-2004 04:14 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-24-2001
rachael rachael is offline
Registered User
  
 

Join Date: Oct 2001
Posts: 25
Link Edit Error, Help!!!!!

Hi,

After I installed gcc on my machine and issued a command to compile a program, I did

gcc -c 'prog'.c

The object file was created, then I did

gcc -o 'prog' 'prog'.o

Then I got this error message I have been reading man pages and searching the internet but have not been able to find an answer,

"ld: fatal: Symbol referencing errors. No output written to 'prog'
collect2: ld returned 1 exit status "

Am I missing anything in my installation ? please help

thanks,

Rachael
  #2 (permalink)  
Old 10-24-2001
rachael rachael is offline
Registered User
  
 

Join Date: Oct 2001
Posts: 25
ok, the entire error message is

Undefined.........................first referenced
symbol..............................in file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/crt1.0
ld: fatal: Symbol referencing errors. No output written to 'prog'
collect2: ld returned 1 exit status "

What is this crt1.0? Anybody has any ideas? unable to read it cuz it is in binary

Rachael
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0