help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vtable link error


From: Wagner Frederic
Subject: vtable link error
Date: Wed, 26 Jan 2005 12:37:46 +0100
User-agent: Mutt/1.5.6+20040907i

hello everyone,

i've got some trouble in my C++ code

something goes wrong at linking

image.o(.text+0xf12): In function 
`image_container::image_container[not-in-charge]()':
/home/tracker/code/starlane/source/image.cc:368: undefined reference to `vtable 
for image_container'
image.o(.text+0xf34): In function 
`image_container::image_container[in-charge]()':
/home/tracker/code/starlane/source/image.cc:368: undefined reference to `vtable 
for image_container'
collect2: ld returned 1 exit status

while googling I found that link :
http://lists.gnu.org/archive/html/bug-binutils/2004-09/msg00023.html

but this doesn't help me.

i've got a class "ose" with virtual methods
two classes are inheriting from it : "rollover" and "image_container"

if I remove the image_container from my code and compile, then
everything goes fine so the problem should'nt come from the definition
of anything related to ose.

what is the problem here ?

thanks

Wagner Frederic
-- 
Why fear computers ? They don't byte !

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]