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