From: "Yiyan Yang" <nforiuse@263.net>
To: <gcc-help@gcc.gnu.org>, <gcc@gcc.gnu.org>
Cc: "Yiyan Yang" <yyylj@263.net>
Subject: How to list all calls a library contained?
Date: Wed, 15 Nov 2000 00:21:00 -0000 [thread overview]
Message-ID: <010701c04edc$dd4ac390$4d049c3d@yangyy> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
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.
next reply other threads:[~2000-11-15 0:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-15 0:21 Yiyan Yang [this message]
2000-11-15 0:56 ` Eric Christopher
2000-11-15 0:56 ` Gerald Pfeifer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='010701c04edc$dd4ac390$4d049c3d@yangyy' \
--to=nforiuse@263.net \
--cc=gcc-help@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=yyylj@263.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).