public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
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.

             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).