[vbox-dev] Linker error trying to create a new COM interface implementation
Christian Pötzsch
Christian.Poetzsch at Sun.COM
Mon Apr 20 07:46:00 GMT 2009
Hi Eduardo,
there are some bits missing. You have to implement some support methods
& also some class info have to be declared. See
src/VBox/Main/xpcom/server.cpp & the other declarations therein. Its
simple like adding two macros.
Christian
Eduardo Robles Elvira wrote:
> Hi!
>
> I'm preparing a patch (some of you are already aware of it) and in
> order to do it I need to create a new COM interface and its
> implementation. I've created it, but when compiling, it fails at
> linking time saying a lot of "undefined reference to vtable/VTT"
> errors. I thought I was doing something wrong in my C++ code, so I
> replicated INetworkAdapter and NetworkAdapter in a new class and it
> still gives me the same linker error. I'm clueless about what is the
> problem.. there must be something else that I have to do beside
> writing the code and adding the interface to the xidl file but I don't
> know what it is so please help me! Attached to this email you can find
> the patch and the errors.
>
> Thanks in advance,
> Eduardo Robles Elvira.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
--
Dr. Christian Pötzsch Sun Microsystems http://www.sun.com/
More information about the vbox-dev
mailing list