Re: Subclassing of pfDCS

New Message Reply Date view Thread view Subject view Author view

Swaminathan N. (swami++at++evl.uic.edu)
Tue, 24 Jun 1997 09:48:09 -0500 (CDT)


On Mon, 23 Jun 1997, James F. Garrova wrote:

> #include <Performer/pf/pfDCS.h>
>
> class Aircraft: public pfDCS{
>
> protected
>
>
> public
> Aircraft();
>
>
> };
>
> I create a DSO file after the compile so that it will link at runtime. It
> compiles fine, however, at runtime I get an unresolved symbol call from rld.
>
> rld: Error: unresolved symbol in ./lib/libaircraft.ogl.n32.so:
> _vtbl_8Aircraft
>

You need to provide atleast one non-inline non-pure virtual function in
order for the vtbl to be generated. This is a heuristic typically used by
cfront derived compilers to eliminate duplicate vtables. Are you sure that
you have provided a definition for all virtual functions in the class. The
class as shown above works without any problems for me.

bye
Swami

 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.uic.edu ^
v Office: 996-3002 ^
v Home: 850-2726 ^
v http://www.evl.uic.edu/swami ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.