home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 19046 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1022 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!ogicse!das-news.harvard.edu!husc-news.harvard.edu!husc.harvard.edu!robison1
  2. From: robison1@husc10.harvard.edu (Keith Robison)
  3. Newsgroups: comp.lang.c++
  4. Subject: Undefined symbol with ___vtbl__ prefix
  5. Message-ID: <robison1.726881002@husc.harvard.edu>
  6. Date: 12 Jan 93 23:23:22 GMT
  7. Article-I.D.: husc.robison1.726881002
  8. Lines: 22
  9. Nntp-Posting-Host: husc10.harvard.edu
  10.  
  11. Please help:
  12.  
  13. I have an abstract class Foo with many virtual functions, from which I have
  14. derived class FooBar.   Everything compiles fine on cfront 2.x 
  15. but I get a linking error:
  16.  
  17. ld: Undefined symbol
  18.   ___vtbl__21FooBar
  19.  
  20. Now, I think this means there is a problem with my virtual functions,
  21. but is it obvious to anyone else what is wrong?  If I feed the ___vtbl...
  22. symbol into "dem", it just spits the same thing back out.
  23.  
  24. Any suggestions appreciated.
  25.  
  26.  
  27. Keith Robison
  28. Harvard University
  29. Department of Cellular & Developmental Biology
  30. Department of Genetics / HHMI
  31.  
  32. robison@biosun.harvard.edu 
  33.