This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
vtable
- From: candeias tiago <great_gmi at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 5 Dec 2002 11:22:23 -0800 (PST)
- Subject: vtable
Hello,
This is a linking problem.
I am implementing a derived class (OcrPattern) from a
base one (OcrEngine), using virtual functions.
Any explanation ?
remap.o: In function `OcrEngine::~OcrEngine
[not-in-charge]()':
remap.o(.gnu.linkonce.t._ZN9OcrEngineD2Ev+0xe):
undefined reference to `vtable for OcrEngine'
OcrPattern.o: In function `OcrPattern::~OcrPattern
[in-charge]()':
OcrPattern.o(.gnu.linkonce.t._ZN10OcrPatternD1Ev+0x3e):
undefined reference to `vtable for OcrEngine'
OcrPattern.o: In function `OcrPattern::~OcrPattern
[in-charge deleting]()':
OcrPattern.o(.gnu.linkonce.t._ZN10OcrPatternD0Ev+0x3e):
undefined reference to `vtable for OcrEngine'
OcrPattern.o(.gnu.linkonce.d._ZTI10OcrPattern+0x10):
undefined reference to `typeinfo for OcrEngine'
collect2: ld returned 1 exit status
make: ** [remap] Erro 1
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com