NeXuS_2006 |
01-05-2007 05:08 PM |
mplayerplug-in won't compile, Ubuntu 6.06
I am using the instructions Here to try to get mplayer working in Opera 9.10. I realize that page is old so I used the newest packages available. I got as far as running the ./configure script, which worked, then I ran "make". I get this output:
Code:
root@Lithium:/home/downloads/mplayerplug-in# make
g++ -c -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/home/downloads/gecko-sdk -I /home/downloads/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I /usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED Source/plugin.cpp
In file included from Source/plugin.h:50,
from Source/plugin.cpp:37:
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or directory
Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such file or directoryinclude/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsISupportsBase.h:80: warning: ‘class nsISupports’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsIProgrammingLanguage.h:32: warning: ‘class nsIProgrammingLanguage’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsIClassInfo.h:33: warning: ‘class nsIClassInfo’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class nsIScriptableWMPPlugin’has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class nsIScriptableMplayerPlugin’ has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has virtual functions but non-virtual destructor
Source/plugin-setup.h:109: error: ‘Widget’ does not name a type
Source/plugin-setup.h:169: error: variable or field ‘DrawUI’ declared void
Source/plugin-setup.h:169: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:169: error: expected primary-expression before ‘*’ tokenSource/plugin-setup.h:169: error: ‘instance’ was not declared in this scope
Source/plugin-setup.h:169: error: expected primary-expression before ‘char’
Source/plugin-setup.h:170: error: expected primary-expression before ‘int’
Source/plugin-setup.h:170: error: expected primary-expression before ‘int’
Source/plugin-setup.h:170: error: initializer expression list treated as compound expression
Source/plugin-setup.h:172: warning: ‘RedrawCB’ initialized and declared ‘extern’Source/plugin-setup.h:172: error: variable or field ‘RedrawCB’ declared void
Source/plugin-setup.h:172: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:172: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:173: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:173: error: initializer expression list treated as compound expression
Source/plugin.h:141: error: ‘Widget’ does not name a type
/home/downloads/gecko-sdk/include/nsIServiceManager.h:40: warning: ‘class nsIServiceManager’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsIMemory.h:58: warning: ‘class nsIMemory’ has virtual functions but non-virtual destructor
Source/plugin.cpp: In constructor ‘nsPluginInstance::nsPluginInstance(NPP_t*)’:Source/plugin.cpp:180: error: ‘widget’ was not declared in this scope
Source/plugin.cpp: In member function ‘virtual NPError nsPluginInstance::SetWindow(NPWindow*)’:
Source/plugin.cpp:591: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:593: error: ‘XtWindowToWidget’ was not declared in this scopemake: *** [plugin.o] Error 1
root@Lithium:/home/downloads/mplayerplug-in#
When I installed MPlayer I used the Ubuntu repositories, but it seems to all be there and it works fine. I also found an MPlayer-in-Firefox package in the package manager and installed it, and it works. I copied those plugin files to the Opera directory and it does not recognize them. Anyone have an idea? This output is gibberish to me.
|