This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-1.1.1 C++ undefined reference to virtual table
- To: egcs at cygnus dot com
- Subject: egcs-1.1.1 C++ undefined reference to virtual table
- From: Timothy Ritchey <tritchey at vne dot com>
- Date: Mon, 07 Dec 1998 04:13:02 +0000
Some software I am working on no longer seems to link with the new 1.1.1
build. I get no errors during compilation, but upon linking:
gaussian.o: In function `kitchenaid::gaussian::~gaussian(void)':
gaussian.o(.text+0x415): undefined reference to `kitchenaid::gaussian
virtual table'
collect2: ld returned 1 exit status
make: *** [kitchenaid] Error 1
as a note, the destructor is empty, so I am almost sure it is no code I
am calling. There seems to also be an issue with RTTI. When I call
dynamic_cast<> I get an unknown reference to type_info. I am compiling
this without any flags to the compiler. I realize this may be a settings
issue, but after searching through the archive as best I could, and the
man pages, etc. I am unable to figure out if this is simply an error in
my flag settings, binutils version, etc. Any advice for where to look
would be taken with appreciation.
Cheers,
tim
(p.s. kitchenaid is a namespace)