public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ld says undefined reference to function which exists
@ 2000-01-24 15:46 Amit Mehrotra
  2000-04-01  0:00 ` Amit Mehrotra
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Mehrotra @ 2000-01-24 15:46 UTC (permalink / raw)
  To: gcc-help

I have C++ code scattered over a bunch of .cc files which compiles
without errors. When I compile .o files to make a final executable, it
complains that some non-inline, non-member functions are not found.
However, when I nm the corresponding .o files, the functions are
present. I am using gcc 2.95.2 on a i686-gnu-linux system with ld which
is part of binutils-2.9.1.0.23. I am not able to figure out what the
problem is!

Amit

^ permalink raw reply	[flat|nested] 2+ messages in thread

* ld says undefined reference to function which exists
  2000-01-24 15:46 ld says undefined reference to function which exists Amit Mehrotra
@ 2000-04-01  0:00 ` Amit Mehrotra
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Mehrotra @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

I have C++ code scattered over a bunch of .cc files which compiles
without errors. When I compile .o files to make a final executable, it
complains that some non-inline, non-member functions are not found.
However, when I nm the corresponding .o files, the functions are
present. I am using gcc 2.95.2 on a i686-gnu-linux system with ld which
is part of binutils-2.9.1.0.23. I am not able to figure out what the
problem is!

Amit

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-24 15:46 ld says undefined reference to function which exists Amit Mehrotra
2000-04-01  0:00 ` Amit Mehrotra

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