Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have mplayer installed and want to stream videos in Mozilla. When I tried to install the mplayer-plugin, it didn't seem to install the plugin. I go to Help > About Plugins and I don't see the plugin on there. Help?
I tried building the plugin from source but I get this when I try to make it:
Quote:
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `char'
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `char'
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `)' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/nsScriptablePeer.h:129: error: parse error before `*' token
Source/plugin.cpp:38:31: nsIServiceManager.h: No such file or directory
Source/plugin.cpp:39:23: nsIMemory.h: No such file or directory
Source/plugin.cpp:40:76: nsISupportsUtils.h: No such file or directory
Source/plugin.cpp:54: error: syntax error before `*' token
Source/plugin.cpp: In function `NPError NS_PluginInitialize()':
Source/plugin.cpp:79: error: `nsISupports' undeclared (first use this function)
Source/plugin.cpp:79: error: (Each undeclared identifier is reported only once
for each function it appears in.)
Source/plugin.cpp:79: error: `sm' undeclared (first use this function)
Source/plugin.cpp:88: error: `nsIServiceManager' undeclared (first use this
function)
Source/plugin.cpp:88: error: `NS_GET_IID' undeclared (first use this function)
Source/plugin.cpp:89: error: `gServiceManager' undeclared (first use this
function)
Source/plugin.cpp:90: error: `NS_RELEASE' undeclared (first use this function)
Source/plugin.cpp: In function `void NS_PluginShutdown()':
Source/plugin.cpp:99: error: `NS_IF_RELEASE' undeclared (first use this
function)
Source/plugin.cpp: In constructor `nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:141: error: `AddRef' undeclared (first use this function)
Source/plugin.cpp: In destructor `virtual nsPluginInstance::~nsPluginInstance()
':
Source/plugin.cpp:280: error: `Release' undeclared (first use this function)
Source/plugin.cpp:281: error: `NS_IF_RELEASE' undeclared (first use this
function)
Source/plugin.cpp: In member function `virtual NPError
nsPluginInstance::GetValue(NPPVariable, void*)':
Source/plugin.cpp:2227: error: cannot convert `nsScriptablePeer*' to `
nsIScriptableMplayerPlugin*' in initialization
Source/plugin.cpp:2229: error: parse error before `)' token
Source/plugin.cpp:2236: error: ISO C++ forbids declaration of `nsIID' with no
type
Source/plugin.cpp:2236: error: parse error before `=' token
Source/plugin.cpp:2236: warning: unused variable `int nsIID'
Source/plugin.cpp:2237: error: `nsIID' undeclared (first use this function)
Source/plugin.cpp:2237: error: `ptr' undeclared (first use this function)
Source/plugin.cpp:2237: error: parse error before `)' token
Source/plugin.cpp:2239: error: `scriptableIID' undeclared (first use this
function)
Source/plugin.cpp:2240: error: parse error before `)' token
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNameString' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginDescriptionString
' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowBool' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTransparentBool'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVjavaClass' not handled
in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowSize' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTimerInterval'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVjavascriptPushCallerBool' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVpluginKeepLibraryInMemory' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNeedsXEmbed' not
handled in switch
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2244: error: parse error before `break'
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2265: error: `NS_ADDREF' undeclared (first use this function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2279: error: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] Error 1
Source/plugin.cpp:38:31: nsIServiceManager.h: No such file or directory
Source/plugin.cpp:39:23: nsIMemory.h: No such file or directory
Source/plugin.cpp:40:76: nsISupportsUtils.h: No such file or directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.