From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: Dave Korn <dave.korn@artimi.com>
Cc: The Cygwin-Talk Maiming List <cygwin-talk@cygwin.com>
Subject: RE: Undefined references
Date: Tue, 14 Jun 2005 07:52:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.61.0506131348530.19743@slinky.cs.nyu.edu> (raw)
In-Reply-To: <SERRANO2bAT1EvV2pnq0000000a@SERRANO.CAM.ARTIMI.COM>
On Mon, 13 Jun 2005, Dave Korn wrote:
> ----Original Message----
> >From: Alireza Ghasemi
> >Sent: 13 June 2005 12:45
>
> > Hello,
> > When compiling libyahoo2 everything went OK.but when I tried to compile a
> > program with it,I got a very very big list of undefined references like
> > this
> >>
> > "
> > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libyahoo2.a(libyahoo2.o)(.text+0x38): In function `yahoo_log_message':/cygdrive/d/Downloads/New/Desktop/libyahoo2-0.7.5/src/libyahoo2.c:112: undefined reference to `_g_vsnprintf'
> > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libyahoo2.a(libyahoo2.o)(.text+0x4e):/cygdrive/d/Downloads/New/Desktop/libyahoo2-0.7.5/src/libyahoo2.c:114: undefined reference to `_ext_yahoo_log'
> > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libyahoo2.a(libyahoo2.o)(.text+0x68): In function `yahoo_connect':/cygdrive/d/Downloads/New/Desktop/libyahoo2-0.7.5/src/libyahoo2.c:119: undefined reference to `_ext_yahoo_connect'
> > "
> > It says thesame things for functions like _g_malloc and _g_realloc too.Any
> > idea about solving this?
>
> 1) Find out where the missing functions are supposed to be coming from.
> 2) Find out whether they are actually there or not.
> 3) If they are there, find out why the linker isn't finding them at link
> time.
> 4) If they aren't there, find out what went wrong earlier that resulted in
> them not being there.
5) Fix your space bar. :-)
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
parent reply other threads:[~2005-06-13 17:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <SERRANO2bAT1EvV2pnq0000000a@SERRANO.CAM.ARTIMI.COM>]
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=Pine.GSO.4.61.0506131348530.19743@slinky.cs.nyu.edu \
--to=pechtcha@cs.nyu.edu \
--cc=cygwin-talk@cygwin.com \
--cc=dave.korn@artimi.com \
/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).