Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Using multiple classes results in undefined symbols

Reply
Thread Tools

Using multiple classes results in undefined symbols

 
 
Thierry Dussuet
Guest
Posts: n/a
 
      05-11-2005
Hello all!

I am writing a small Qt program (a KDE kicker) right now, which has a main
class (called infokicker) and a second class (called Worker).
infokicker has a line
Worker the_thread;
in its private section, and all compiles well.
When trying to load the application, though, I get:

Undefined symbol "_ZTV6Worker"

But I have no idea where to look for mistakes. Does anybody have a hint?

Thierry
 
Reply With Quote
 
 
 
 
Alvin
Guest
Posts: n/a
 
      05-11-2005
Thierry Dussuet wrote:

> Hello all!
>
> I am writing a small Qt program (a KDE kicker) right now, which has a main
> class (called infokicker) and a second class (called Worker).
> infokicker has a line
> Worker the_thread;
> in its private section, and all compiles well.
> When trying to load the application, though, I get:
>
> Undefined symbol "_ZTV6Worker"
>
> But I have no idea where to look for mistakes. Does anybody have a hint?
>
> Thierry


It appears to be a linker error, probably caused by a missing target in the
Makefile. In any case, it's off-topic in this newsgroup. Try:

comp.os.linux.development.apps

--
Alvin
 
Reply With Quote
 
 
 
 
Thierry Dussuet
Guest
Posts: n/a
 
      05-11-2005
On 2005-05-11, Alvin <reply@in_newsgroup.ca> wrote:
> Thierry Dussuet wrote:
>
>> Hello all!
>>
>> I am writing a small Qt program (a KDE kicker) right now, which has a main
>> class (called infokicker) and a second class (called Worker).
>> infokicker has a line
>> Worker the_thread;
>> in its private section, and all compiles well.
>> When trying to load the application, though, I get:
>>
>> Undefined symbol "_ZTV6Worker"
>>
>> But I have no idea where to look for mistakes. Does anybody have a hint?
>>
>> Thierry

>
> It appears to be a linker error, probably caused by a missing target in the
> Makefile. In any case, it's off-topic in this newsgroup. Try:


Thank you, it was exactly that! (And sorry for the off-topic)

Thierry
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using ajax call to fetch multiple results from multiple queries and showing them 1 by 1 as the results comes. Biranchi Narayan Panda ASP .Net 0 02-21-2010 03:46 PM
yacc under cygwin - undefined symbols Christoph Kukulies C Programming 2 06-25-2006 09:17 PM
fotre8 gives undefined symbols while forte7 doesn't pervinder C++ 0 08-30-2004 10:30 AM
Undefined Symbols when building xerces on AIX 5.1 32 bit machine Stu XML 1 11-06-2003 02:42 PM
Undefined symbols: vtable for Foo r C++ 2 08-02-2003 08:18 PM



Advertisments