This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: freebsd 4.4 and gcc 3.0 problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]