[MPlayer-users] make plugin errors?

Jens Kjaerulff etnojens at au.dk
Sun Feb 22 23:01:18 CET 2004


Kevin, I have found a list called "mplayerplug-in-devel" - is there a
"user" list as well, or is this the one you had in mind?

btw, I saw the requirement of Gecko-sdk 1.6, so that's the one I used
... .

// Jens

On Sun, 22 Feb 2004 07:26:11 -0700
Kevin DeKorte <kdekorte at yahoo.com> wrote:

> Jens,
> 
> This belongs on the mplayerplug-in mailing list. But I would guess you
> are using an old gecko-sdk. Get version 1.6 no matter what version
> your browser is. This is documented on the mplayerplug-in install
> page. 
> 
> Kevin
> 
> On Sunday 22 February 2004 05:19 am, Jens Kjaerulff wrote:
> > I am trying to create an Mplayer-plugin for Mozilla, following the
> > directions at:
> > http://mplayerplug-in.sourceforge.net/download.html
> >
> > ./configure using gecko-sdk seems to work just fine. However, the
> > 'make' command afterwards produces a rather lengthy output (below)
> > with loads of errors, and in the end I see no 'mplayerplug-in.so'
> > file in the directory.
> >
> > What goes wrong? How do I make it right?
> >
> > Suggestions are very much appreciated.
> >
> > / Jens
> >
> > - - -
> >
> > linux:/home/felix/JKnewinstalls/mplayerplug-in # make
> > g++ -c -Wall -g -O2 -DXP_UNIX -DMOZ_X11 -include mozilla-config.h
> > -I/../gecko-sd
> > k -I/../gecko-sdk/xpcom/include  -I/../gecko-sdk/nspr/include
> > -I/../gecko-sdk/st
> > ring/include -I/../gecko-sdk/embedstring/include
> > -I/../gecko-sdk/plugin/include
> > -I/../gecko-sdk/java/include -Iinclude -fPIC  -I/usr/X11R6/include
> > -DXPCOM_GLUE
> > -DMOZILLA_STRICT_API Source/plugin.cpp
> > <command line>:139392199:62736: mozilla-config.h: No such file or
> > directory
> > In file included from include/pluginbase.h:41,
> >                  from Source/plugin.h:46,
> >                  from Source/plugin.cpp:38:
> > include/npplat.h:41:19: npapi.h: No such file or directory
> > include/npplat.h:42:19: npupp.h: No such file or directory
> > In file included from Source/plugin.h:46,
> >                  from Source/plugin.cpp:38:
> > include/pluginbase.h:45: error: 'NPP' is used as a type, but is not
> > defined as
> >    a type.
> > include/pluginbase.h:46: error: 'NPMIMEType' is used as a type, but
> > is not
> >    defined as a type.
> > include/pluginbase.h:47: error: 'uint16' is used as a type, but is
> > not defined
> >    as a type.
> > include/pluginbase.h:48: error: 'int16' is used as a type, but is
> > not defined
> >    as a type.
> > include/pluginbase.h:51: error: syntax error before `*' token
> > include/pluginbase.h:59: error: ISO C++ forbids declaration of
> > `NPBool' with no
> >    type
> > include/pluginbase.h:59: error: `NPBool' declared as a `virtual'
> > field include/pluginbase.h:59: error: parse error before `(' token
> > include/pluginbase.h:61: error: ISO C++ forbids declaration of
> > `NPBool' with no
> >    type
> > include/pluginbase.h:61: error: `NPBool' declared as a `virtual'
> > field include/pluginbase.h:61: error: declaration of `int
> >    nsPluginInstanceBase::NPBool'
> > include/pluginbase.h:59: error: conflicts with previous declaration
> > `int
> >    nsPluginInstanceBase::NPBool'
> > include/pluginbase.h:61: error: parse error before `(' token
> > include/pluginbase.h:65: error: ISO C++ forbids declaration of
> > `NPError' with
> >    no type
> > include/pluginbase.h:65: error: `NPError' declared as a `virtual'
> > field include/pluginbase.h:65: error: parse error before `(' token
> > include/pluginbase.h:66: error: ISO C++ forbids defining types
> > within return
> >    type
> > include/pluginbase.h:66: error: syntax error before `(' token
> > include/pluginbase.h:68: error: syntax error before `(' token
> > include/pluginbase.h:69: error: `NPStream' was not declared in this
> > scope
> > include/pluginbase.h:69: error: `stream' was not declared in this
> > scope include/pluginbase.h:69: error: parse error before `char'
> > include/pluginbase.h:69: error: virtual outside class declaration
> > include/pluginbase.h:70: error: syntax error before `(' token
> > include/pluginbase.h:71: error: syntax error before `(' token
> > include/pluginbase.h:73: error: `NPPrint' was not declared in this
> > scope include/pluginbase.h:73: error: `printInfo' was not declared
> > in this scope
> > include/pluginbase.h:73: error: virtual outside class declaration
> > include/pluginbase.h:73: error: variable or field `Print' declared
> > void include/pluginbase.h:73: error: syntax error before `{' token
> > include/pluginbase.h:74: error: syntax error before `(' token
> > include/pluginbase.h:75: error: type specifier omitted for parameter
> > `NPReason'
> > include/pluginbase.h:75: error: parse error before `,' token
> > include/pluginbase.h:76: error: virtual outside class declaration
> > include/pluginbase.h:77: error: syntax error before `(' token
> > include/pluginbase.h:78: error: syntax error before `(' token
> > include/pluginbase.h:88: error: parse error before `)' token
> > include/pluginbase.h:93: error: `NPPVariable' was not declared in
> > this scope
> > include/pluginbase.h:93: error: parse error before `,' token
> > In file included from Source/nsScriptablePeer.h:48,
> >                  from Source/plugin.h:47,
> >                  from Source/plugin.cpp:38:
> > Source/nsIScriptableMplayerPlugin.h:10:25: nsISupports.h: No such
> > file or direct
> > ory
> > In file included from Source/nsScriptablePeer.h:48,
> >                  from Source/plugin.h:47,
> >                  from Source/plugin.cpp:38:
> > Source/nsIScriptableMplayerPlugin.h:25: error: parse error before
> > `{' token
> > Source/nsIScriptableMplayerPlugin.h:34: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:37: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:40: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:43: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:46: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:49: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:52: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:55: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:58: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:61: error: parse error before
> > `)' token
> > Source/nsIScriptableMplayerPlugin.h:64: error: `PRInt32' was not
> > declared in
> >    this scope
> > Source/nsIScriptableMplayerPlugin.h:64: error: `aPlayState' was not
> > declared in
> >    this scope
> > Source/nsIScriptableMplayerPlugin.h:64: error: parse error before
> > `=' token
> > In file included from Source/plugin.h:47,
> >                  from Source/plugin.cpp:38:
> > Source/nsScriptablePeer.h:49:26: nsIClassInfo.h: No such file or
> > directory
> > In file included from Source/plugin.h:47,

[etc] // Jens




More information about the MPlayer-users mailing list