![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 ![]() |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|