public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* freebsd 4.4 and gcc 3.0 problem
@ 2001-09-20  7:47 Benjamin Gross
  2001-09-20  8:05 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Gross @ 2001-09-20  7:47 UTC (permalink / raw)
  To: gcc

Hello,

I've just successfully built/installed gcc 3.0 on a FreeBSD 4.4 pc.  I successfully compiled and linked a "Hello World" cpp program.

When I try to execute it, I get:

/usr/libexec/ld-elf.so.1: Undefined symbol "_ZTVN10__cxxabiv117__class_type_infoE" referenced from COPY relocation in ./hello

I would greatly appreciate and advice/ideas as to why this is occuring.

Thank You.

Benjamin Gross 

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

* Re: freebsd 4.4 and gcc 3.0 problem
  2001-09-20  7:47 freebsd 4.4 and gcc 3.0 problem Benjamin Gross
@ 2001-09-20  8:05 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2001-09-20  8:05 UTC (permalink / raw)
  To: Benjamin Gross; +Cc: gcc, libstdc++

>>>>> Benjamin Gross writes:

Ben> I've just successfully built/installed gcc 3.0 on a FreeBSD 4.4 pc.
I successfully compiled and linked a "Hello World" cpp program. 

Ben> When I try to execute it, I get:

Ben> /usr/libexec/ld-elf.so.1: Undefined symbol "_ZTVN10__cxxabiv117__class_type_infoE" referenced from COPY relocation in ./hello

Ben> I would greatly appreciate and advice/ideas as to why this is occuring.

	gcc-3.0 c++filt unmangles the name to

vtable for __cxxabiv1::__class_type_info

	This comes from the libsupc++ in libstdc++.  Did you compile and
link the application using "g++" (which automatically links to
libstdc++.so) or using "gcc"?  Did you link to the C++ libraries?

David

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

end of thread, other threads:[~2001-09-20  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20  7:47 freebsd 4.4 and gcc 3.0 problem Benjamin Gross
2001-09-20  8:05 ` David Edelsohn

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