How to list all calls a library contained?

Yiyan Yang nforiuse@263.net
Wed Nov 15 00:21:00 GMT 2000


Title: ×ÔÈ»


 


Hi,
I wrote a small program, but it can not be 
linked using 
 
     gcc -o a 
c.c
 
and gcc report the following 
errors:
 
Undefined                       
first 
referenced  symbol                             
in 
file cout                                
/var/tmp/ccrtPGcY.o ostream::operator<<(char const *)   
/var/tmp/ccrtPGcY.o ld: fatal: Symbol referencing errors. No output written 
to c collect2: ld returned 1 exit status
How can I determine which library should I link 
to if I call some standard functions?
 
Thank you!
 
 
Edward Yang
 
AISW-PSO NORTH Dep. Asiainfo Technologies 
(China), Inc.



More information about the Gcc mailing list