undefined reference to vtable

Bryce McKinlay mckinlay@redhat.com
Wed Aug 11 02:56:00 GMT 2004


Shaun Jackman wrote:
>I tried both suggestions without success. If I remove every reference
>to ShellSelectionListener, it links just fine with my original command
>line. I believe I'm missing something in my definition of
>ShellSelectionListener.
>>You're trying to define a Java class in C++. You can't do that because 
only gcj knows to generate the java.lang.Class object and other metadata 
for the class. You need to declare ShellSelectionListener in a .java 
file with "native" methods, and then implement those methods in C++.
Regards
Bryce


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /