1.11M Members

Never got this error before, please tell me what does it mean

 
0
 

Hi everybody,

When I tryed to compile a C program, compiler gave me error, that I haven't see before. Please tell me what does it mean? and what are the possible reasons, this error occure.

blade71(20)% gcc lineholder.c -o lineholder
Undefined                       first referenced
 symbol                             in file
main                                /tools/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/crt1.o
ld: fatal: Symbol referencing errors. No output written to lineholder
collect2: ld returned 1 exit status
blade71(21)% 
 
1
 

your program might have used a function or a variable which is not defined in any of the object files or libraries supplied to the linker.
this might have been caused by a missing library or using an incorrect name

 
0
 

Thank you

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article