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]

egcs-1.1.1 C++ undefined reference to virtual table


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)


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