Mplayer plugin compiler errors

Smith, Herb herb.smith at boeing.com
Mon Jan 18 21:33:44 UTC 2010


All,

I installed F12 on a new Dell Inspiron 15 laptop (dual boot with Windoze 7).  This went very well, BTW, and I'm very pleased with it.

I installed mplayer from rpmfusion which went just fine and it seems to work perfectly.

I downloaded the mplayer plugin for Firefox, unpacked it into a folder and tried to build it per the instructions with the default settings (configure then make).  I get an error that I'm missing a file and then I get numerous errors regarding things in some of the header files and other source files as though gcc is complaining about stuff that is not defined (perhaps defined in that missing file...)

Here is what I get:

include/npplat.h:42:19: error: npupp.h: No such file or directory
In file included from Source/plugin.h:53,
from Source/plugin.cpp:37:
include/pluginbase.h:47: error: 'uint16' does not name a type
include/pluginbase.h:48: error: 'int16' does not name a type
include/pluginbase.h:67: error: 'uint16' has not been declared
include/pluginbase.h:70: error: 'int32' does not name a type
include/pluginbase.h:71: error: 'int32' does not name a type
include/pluginbase.h:74: error: 'uint16' does not name a type
Source/plugin.cpp: In constructor 'nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:300: error: 'getenv' was not declared in this scope
Source/plugin.cpp: In member function 'void nsPluginInstance::shutdown()':
Source/plugin.cpp:437: warning: deprecated conversion from string constant to 'char*'
Source/plugin.cpp:440: warning: deprecated conversion from string constant to 'char*'
Source/plugin.cpp:548: error: 'free' was not declared in this scope
Source/plugin.cpp:553: error: 'free' was not declared in this scope
Source/plugin.cpp:558: error: 'free' was not declared in this scope
Source/plugin.cpp:563: error: 'free' was not declared in this scope
Source/plugin.cpp:578: error: 'free' was not declared in this scope

Etc, etc ...

What am I missing here?

Thanks in advance.

Herb



More information about the users mailing list