[MPlayer-users] make plugin errors?

Kevin DeKorte kdekorte at yahoo.com
Sun Feb 22 15:26:11 CET 2004


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,
>                  from Source/plugin.cpp:38:
> Source/nsScriptablePeer.h:56: error: parse error before `{' token
> Source/nsScriptablePeer.h:62: error: `PRUint32' was not declared in this
> scope
> Source/nsScriptablePeer.h:63: error: `aImplementationLanguage' was not
> declared
>    in this scope
> Source/nsScriptablePeer.h:63: error: parse error before `{' token
> Source/nsScriptablePeer.h:68: error: `PRUint32' was not declared in this
> scope
> Source/nsScriptablePeer.h:68: error: `count' was not declared in this
> scope
> Source/nsScriptablePeer.h:68: error: `nsIID' was not declared in this
> scope
> Source/nsScriptablePeer.h:68: error: `array' was not declared in this
> scope
> Source/nsScriptablePeer.h:68: error: parse error before `{' token
> Source/nsScriptablePeer.h:71: error: `PRUint32' was not declared in this
> scope
> Source/nsScriptablePeer.h:71: error: parse error before `,' token
> Source/nsScriptablePeer.h:75: error: parse error before `*' token
> Source/nsScriptablePeer.h:78: error: parse error before `*' token
> Source/nsScriptablePeer.h:81: error: `nsCID' was not declared in this
> scope
> Source/nsScriptablePeer.h:81: error: `aClassID' was not declared in this
> scope
> Source/nsScriptablePeer.h:81: error: parse error before `{' token
> Source/nsScriptablePeer.h:84: error: `nsCID' was not declared in this
> scope
> Source/nsScriptablePeer.h:84: error: `aClassIDNoAlloc' was not declared
> in this
>    scope
> Source/nsScriptablePeer.h:84: error: parse error before `{' token
> Source/nsScriptablePeer.h:90: error: base class
> `nsIScriptableMplayerPlugin'
>    has incomplete type
> Source/nsScriptablePeer.h:90: error: base class `nsClassInfoMixin' has
>    incomplete type
> Source/nsScriptablePeer.h:97: error: parse error before `&' token
> Source/nsScriptablePeer.h:98: error: `nsrefcnt' was not declared in this
> scope
> Source/nsScriptablePeer.h:98: error: variable declaration is not allowed
> here
> Source/nsScriptablePeer.h:98: error: syntax error before `(' token
> Source/nsScriptablePeer.h:99: error: `nsrefcnt' was not declared in this
> scope
> Source/nsScriptablePeer.h:99: error: variable declaration is not allowed
> here
> Source/nsScriptablePeer.h:99: error: syntax error before `(' token
> Source/nsScriptablePeer.h:102: error: 'nsrefcnt' is used as a type, but
> is not
>    defined as a type.
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: parse error before `)' token
> Source/nsScriptablePeer.h:106: error: `PRInt32' was not declared in this
> scope
> Source/nsScriptablePeer.h:106: error: `aPlayState' was not declared in
> this
>    scope
> Source/nsScriptablePeer.h:106: error: 'NS_IMETHOD' is used as a type,
> but is
>    not defined as a type.
> In file included from Source/plugin.h:48,
>                  from Source/plugin.cpp:38:
> Source/plugin-setup.h:95: error: `NPPVariable' was not declared in this
> scope
> Source/plugin-setup.h:95: error: parse error before `,' token
> In file included from Source/plugin.cpp:38:
> Source/plugin.h:55: error: parse error before `aInstance'
> Source/plugin.h:58: error: `NPWindow' was not declared in this scope
> Source/plugin.h:58: error: `aWindow' was not declared in this scope
> Source/plugin.h:58: error: 'NPBool' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:60: error: parse error before `)' token
> Source/plugin.h:61: error: `NPMIMEType' was not declared in this scope
> Source/plugin.h:61: error: parse error before `,' token
> Source/plugin.h:63: error: `NPWindow' was not declared in this scope
> Source/plugin.h:63: error: `aWindow' was not declared in this scope
> Source/plugin.h:63: error: 'NPError' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:64: error: `NPStream' was not declared in this scope
> Source/plugin.h:64: error: `stream' was not declared in this scope
> Source/plugin.h:64: error: `NPError' was not declared in this scope
> Source/plugin.h:64: error: parse error before `)' token
> Source/plugin.h:65: error: `NPStream' was not declared in this scope
> Source/plugin.h:65: error: `stream' was not declared in this scope
> Source/plugin.h:65: error: 'int32' is used as a type, but is not defined
> as a
>    type.
> Source/plugin.h:66: error: `NPStream' was not declared in this scope
> Source/plugin.h:66: error: `stream' was not declared in this scope
> Source/plugin.h:66: error: `int32' was not declared in this scope
> Source/plugin.h:66: error: parse error before `,' token
> Source/plugin.h:75: error: `PRInt32' was not declared in this scope
> Source/plugin.h:75: error: `playstate' was not declared in this scope
> Source/plugin.h:75: error: invalid data member initialization
> Source/plugin.h:75: error: (use `=' to initialize static data members)
> Source/plugin.h:75: error: variable or field `GetPlayState' declared
> void
> Source/plugin.h:80: error: `NPPVariable' was not declared in this scope
> Source/plugin.h:80: error: parse error before `,' token
> Source/plugin.h:85: error: 'NPP' is used as a type, but is not defined
> as a
>    type.
> Source/plugin.h:86: error: 'NPBool' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:96: error: 'uint16' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:97: error: 'uint32' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:98: error: 'uint32' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:99: error: 'uint32' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:100: error: 'uint32' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.h:120: error: 'uint32' is used as a type, but is not
> defined as a
>    type.
> Source/plugin.cpp:39:31: nsIServiceManager.h: No such file or directory
> Source/plugin.cpp:40:23: nsIMemory.h: No such file or directory
> Source/plugin.cpp:41:76: nsISupportsUtils.h: No such file or directory
> Source/plugin.cpp:48: error: parse error before `=' token
> Source/plugin.cpp:52: error: syntax error before `*' token
> Source/plugin.cpp:63: error: `NPPVariable' was not declared in this
> scope
> Source/plugin.cpp:63: error: parse error before `,' token
> Source/plugin.cpp:73: error: parse error before `)' token
> Source/plugin.cpp:80: error: `NPNVserviceManager' was not declared in
> this
>    scope
> Source/plugin.cpp:80: error: `sm' was not declared in this scope
> Source/plugin.cpp:80: error: ISO C++ forbids declaration of
> `NPN_GetValue' with
>    no type
> Source/plugin.cpp:80: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:85: error: parse error before `if'
> Source/plugin.cpp:88: error: `sm' was not declared in this scope
> Source/plugin.cpp:88: error: ISO C++ forbids declaration of `NS_RELEASE'
> with
>    no type
> Source/plugin.cpp:89: error: parse error before `}' token
> Source/plugin.cpp: In function `void NS_PluginShutdown()':
> Source/plugin.cpp:97: error: `gServiceManager' undeclared (first use
> this
>    function)
> Source/plugin.cpp:97: error: (Each undeclared identifier is reported
> only once
>    for each function it appears in.)
> Source/plugin.cpp:97: error: `NS_IF_RELEASE' undeclared (first use this
>    function)
> Source/plugin.cpp: In function `nsPluginInstanceBase*
>    NS_NewPluginInstance(nsPluginCreateData*)':
> Source/plugin.cpp:112: error: 'struct nsPluginCreateData' has no member
> named '
>    instance'
> Source/plugin.cpp: At global scope:
> Source/plugin.cpp:128: error: parse error before `aInstance'
> Source/plugin.cpp:134: error: ISO C++ forbids declaration of
> `mScriptablePeer'
>    with no type
> Source/plugin.cpp:134: error: `int nsPluginInstance::mScriptablePeer' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:134: error: cannot call member function
> `nsScriptablePeer*
>    nsPluginInstance::getScriptablePeer()' without object
> Source/plugin.cpp:137: error: ISO C++ forbids declaration of `mimetype'
> with no
>    type
> Source/plugin.cpp:137: error: `int nsPluginInstance::mimetype' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:137: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:137: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:138: error: ISO C++ forbids declaration of `state'
> with no
>    type
> Source/plugin.cpp:138: error: `int nsPluginInstance::state' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:139: error: ISO C++ forbids declaration of `url' with
> no type
> Source/plugin.cpp:139: error: `int nsPluginInstance::url' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:139: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:139: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:140: error: ISO C++ forbids declaration of `fname'
> with no
>    type
> Source/plugin.cpp:140: error: `int nsPluginInstance::fname' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:140: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:140: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:141: error: ISO C++ forbids declaration of `href' with
> no
>    type
> Source/plugin.cpp:141: error: `int nsPluginInstance::href' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:141: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:141: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:142: error: ISO C++ forbids declaration of
> `lastmessage' with
>    no type
> Source/plugin.cpp:142: error: `int nsPluginInstance::lastmessage' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:142: error: `NPN_MemAlloc' was not declared in this
> scope
> Source/plugin.cpp:143: error: invalid use of member `
>    nsPluginInstance::lastmessage'
> Source/plugin.cpp:143: error: ISO C++ forbids declaration of `memset'
> with no
>    type
> Source/plugin.cpp:143: error: `int nsPluginInstance::memset' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:143: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:144: error: ISO C++ forbids declaration of `mode' with
> no
>    type
> Source/plugin.cpp:144: error: `int nsPluginInstance::mode' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:145: error: ISO C++ forbids declaration of
> `window_width'
>    with no type
> Source/plugin.cpp:145: error: `int nsPluginInstance::window_width' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:146: error: ISO C++ forbids declaration of
> `window_height'
>    with no type
> Source/plugin.cpp:146: error: `int nsPluginInstance::window_height' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:147: error: ISO C++ forbids declaration of
> `embed_width' with
>    no type
> Source/plugin.cpp:147: error: `int nsPluginInstance::embed_width' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:148: error: ISO C++ forbids declaration of
> `embed_height'
>    with no type
> Source/plugin.cpp:148: error: `int nsPluginInstance::embed_height' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:149: error: ISO C++ forbids declaration of `setwindow'
> with
>    no type
> Source/plugin.cpp:149: error: `int nsPluginInstance::setwindow' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:150: error: ISO C++ forbids declaration of `baseurl'
> with no
>    type
> Source/plugin.cpp:150: error: `int nsPluginInstance::baseurl' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:150: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:150: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:151: error: ISO C++ forbids declaration of `hostname'
> with no
>    type
> Source/plugin.cpp:151: error: `int nsPluginInstance::hostname' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:151: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:151: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:152: error: ISO C++ forbids declaration of `pid' with
> no type
> Source/plugin.cpp:152: error: `int nsPluginInstance::pid' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:153: error: ISO C++ forbids declaration of `noredraw'
> with no
>    type
> Source/plugin.cpp:153: error: `int nsPluginInstance::noredraw' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:154: error: ISO C++ forbids declaration of `setup'
> with no
>    type
> Source/plugin.cpp:154: error: `int nsPluginInstance::setup' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:155: error: ISO C++ forbids declaration of
> `hrefrequested'
>    with no type
> Source/plugin.cpp:155: error: `int nsPluginInstance::hrefrequested' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:156: error: ISO C++ forbids declaration of
> `threadsignaled'
>    with no type
> Source/plugin.cpp:156: error: `int nsPluginInstance::threadsignaled' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:157: error: ISO C++ forbids declaration of `cancelled'
> with
>    no type
> Source/plugin.cpp:157: error: `int nsPluginInstance::cancelled' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:158: error: ISO C++ forbids declaration of `list' with
> no
>    type
> Source/plugin.cpp:158: error: `int nsPluginInstance::list' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:158: error: invalid conversion from `Node*' to `int'
> Source/plugin.cpp:159: error: ISO C++ forbids declaration of `td' with
> no type
> Source/plugin.cpp:159: error: `int nsPluginInstance::td' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:159: error: `NPN_MemAlloc' was not declared in this
> scope
> Source/plugin.cpp:160: error: syntax error before `->' token
> Source/plugin.cpp:161: error: syntax error before `->' token
> Source/plugin.cpp:162: error: ISO C++ forbids declaration of `control'
> with no
>    type
> Source/plugin.cpp:162: error: `int nsPluginInstance::control' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:162: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:162: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:163: error: ISO C++ forbids declaration of `player'
> with no
>    type
> Source/plugin.cpp:163: error: `int nsPluginInstance::player' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:163: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:163: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:164: error: ISO C++ forbids declaration of `DESTROYED'
> with
>    no type
> Source/plugin.cpp:164: error: `int nsPluginInstance::DESTROYED' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:165: error: ISO C++ forbids declaration of `autostart'
> with
>    no type
> Source/plugin.cpp:165: error: `int nsPluginInstance::autostart' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:166: error: ISO C++ forbids declaration of `js_state'
> with no
>    type
> Source/plugin.cpp:166: error: `int nsPluginInstance::js_state' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:167: error: ISO C++ forbids declaration of `nQtNext'
> with no
>    type
> Source/plugin.cpp:167: error: `int nsPluginInstance::nQtNext' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:168: error: parse error before `for'
> Source/plugin.cpp:168: error: parse error before `;' token
> Source/plugin.cpp:168: error: syntax error before `++' token
> Source/plugin.cpp:170: error: ISO C++ forbids declaration of `widget'
> with no
>    type
> Source/plugin.cpp:170: error: `int nsPluginInstance::widget' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:171: error: ISO C++ forbids declaration of `display'
> with no
>    type
> Source/plugin.cpp:171: error: `int nsPluginInstance::display' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:171: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:171: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:172: error: ISO C++ forbids declaration of `window'
> with no
>    type
> Source/plugin.cpp:172: error: `int nsPluginInstance::window' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:173: error: ISO C++ forbids declaration of
> `controlwindow'
>    with no type
> Source/plugin.cpp:173: error: `int nsPluginInstance::controlwindow' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:176: error: ISO C++ forbids declaration of `vo' with
> no type
> Source/plugin.cpp:176: error: `int nsPluginInstance::vo' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:176: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:176: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:177: error: ISO C++ forbids declaration of `vop' with
> no type
> Source/plugin.cpp:177: error: `int nsPluginInstance::vop' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:177: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:177: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:178: error: ISO C++ forbids declaration of `novop'
> with no
>    type
> Source/plugin.cpp:178: error: `int nsPluginInstance::novop' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:179: error: ISO C++ forbids declaration of `ao' with
> no type
> Source/plugin.cpp:179: error: `int nsPluginInstance::ao' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:179: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:179: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:180: error: ISO C++ forbids declaration of `loop' with
> no
>    type
> Source/plugin.cpp:180: error: `int nsPluginInstance::loop' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:181: error: ISO C++ forbids declaration of
> `rtsp_use_tcp'
>    with no type
> Source/plugin.cpp:181: error: `int nsPluginInstance::rtsp_use_tcp' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:182: error: ISO C++ forbids declaration of
> `keep_download'
>    with no type
> Source/plugin.cpp:182: error: `int nsPluginInstance::keep_download' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:183: error: ISO C++ forbids declaration of
> `maintain_aspect'
>    with no type
> Source/plugin.cpp:183: error: `int nsPluginInstance::maintain_aspect' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:184: error: ISO C++ forbids declaration of
> `download_dir'
>    with no type
> Source/plugin.cpp:184: error: `int nsPluginInstance::download_dir' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:184: error: `getenv' was not declared in this scope
> Source/plugin.cpp:185: error: ISO C++ forbids declaration of `cachesize'
> with
>    no type
> Source/plugin.cpp:185: error: `int nsPluginInstance::cachesize' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:186: error: ISO C++ forbids declaration of
> `output_display'
>    with no type
> Source/plugin.cpp:186: error: `int nsPluginInstance::output_display' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:186: warning: initialization to non-pointer type `int'
> from
>    NULL
> Source/plugin.cpp:186: warning: argument to non-pointer type `int' from
> NULL
> Source/plugin.cpp:187: error: ISO C++ forbids declaration of `osdlevel'
> with no
>    type
> Source/plugin.cpp:187: error: `int nsPluginInstance::osdlevel' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:188: error: ISO C++ forbids declaration of `qt_speed'
> with no
>    type
> Source/plugin.cpp:188: error: `int nsPluginInstance::qt_speed' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:189: error: ISO C++ forbids declaration of
> `cache_percent'
>    with no type
> Source/plugin.cpp:189: error: `int nsPluginInstance::cache_percent' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:192: error: ISO C++ forbids declaration of `paused'
> with no
>    type
> Source/plugin.cpp:192: error: `int nsPluginInstance::paused' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:195: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:195: error: ISO C++ forbids declaration of `
>    pthread_mutex_init' with no type
> Source/plugin.cpp:195: error: `int nsPluginInstance::pthread_mutex_init'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:195: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:196: error: invalid use of member `
>    nsPluginInstance::thread_attr'
> Source/plugin.cpp:196: error: ISO C++ forbids declaration of
> `pthread_attr_init
>    ' with no type
> Source/plugin.cpp:196: error: `int nsPluginInstance::pthread_attr_init'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:197: error: invalid use of member `
>    nsPluginInstance::playlist_complete_cond'
> Source/plugin.cpp:197: error: ISO C++ forbids declaration of
> `pthread_cond_init
>    ' with no type
> Source/plugin.cpp:197: error: `int nsPluginInstance::pthread_cond_init'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:197: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:200: error: invalid use of `this' at top level
> Source/plugin.cpp:200: error: ISO C++ forbids declaration of
> `LoadConfigFile'
>    with no type
> Source/plugin.cpp:200: error: `int nsPluginInstance::LoadConfigFile' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:202: error: parse error before `}' token
> Source/plugin.cpp: In destructor `virtual
> nsPluginInstance::~nsPluginInstance()
>    ':
> Source/plugin.cpp:220: error: `free' undeclared (first use this
> function)
> Source/plugin.cpp:225: error: `NPN_MemFree' undeclared (first use this
>    function)
> Source/plugin.cpp:236: error: `NS_IF_RELEASE' undeclared (first use this
>    function)
> Source/plugin.cpp: At global scope:
> Source/plugin.cpp:239: error: syntax error before `::' token
> Source/plugin.cpp:244: error: ISO C++ forbids declaration of
> `mInitialized'
>    with no type
> Source/plugin.cpp:244: error: `int nsPluginInstance::mInitialized' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:245: error: parse error before `return'
> Source/plugin.cpp: In member function `virtual void
> nsPluginInstance::shut()':
> Source/plugin.cpp:259: error: `window_height' undeclared (first use this
>    function)
> Source/plugin.cpp:259: error: `window_width' undeclared (first use this
>    function)
> Source/plugin.cpp:312: error: `free' undeclared (first use this
> function)
> Source/plugin.cpp:332: error: `NPN_MemFree' undeclared (first use this
>    function)
> Source/plugin.cpp:361: error: `nQtNext' undeclared (first use this
> function)
> Source/plugin.cpp:375: error: `mInitialized' undeclared (first use this
>    function)
> Source/plugin.cpp: At global scope:
> Source/plugin.cpp:378: error: syntax error before `::' token
> Source/plugin.cpp:383: error: syntax error before `::' token
> Source/plugin.cpp:405: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:405: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:405: error: ISO C++ forbids declaration of `printf'
> with no
>    type
> Source/plugin.cpp:405: error: `int nsPluginInstance::printf' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:405: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:406: error: parse error before `}' token
> Source/plugin.cpp:408: error: ISO C++ forbids declaration of `ws' with
> no type
> Source/plugin.cpp:408: error: `int nsPluginInstance::ws' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:408: error: `NPSetWindowCallbackStruct' was not
> declared in
>    this scope
> Source/plugin.cpp:408: error: parse error before `)' token
> Source/plugin.cpp:410: error: ISO C++ forbids declaration of `widget'
> with no
>    type
> Source/plugin.cpp:410: error: `int nsPluginInstance::widget' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:411: error: `ws' was not declared in this scope
> Source/plugin.cpp:412: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:414: error: invalid use of member
> `nsPluginInstance::widget'
> Source/plugin.cpp:415: error: invalid use of `this' at top level
> Source/plugin.cpp:415: error: ISO C++ forbids declaration of
> `XtAddCallback'
>    with no type
> Source/plugin.cpp:415: error: `int nsPluginInstance::XtAddCallback' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:415: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:416: error: invalid use of member
> `nsPluginInstance::widget'
> Source/plugin.cpp:417: error: invalid use of `this' at top level
> Source/plugin.cpp:417: error: ISO C++ forbids declaration of
> `XtAddEventHandler
>    ' with no type
> Source/plugin.cpp:417: error: `int nsPluginInstance::XtAddEventHandler'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:417: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:419: error: ISO C++ forbids declaration of `display'
> with no
>    type
> Source/plugin.cpp:419: error: `int nsPluginInstance::display' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:419: error: `ws' was not declared in this scope
> Source/plugin.cpp:420: error: ISO C++ forbids declaration of `window'
> with no
>    type
> Source/plugin.cpp:420: error: `int nsPluginInstance::window' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:420: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:421: error: ISO C++ forbids declaration of
> `window_width'
>    with no type
> Source/plugin.cpp:421: error: `int nsPluginInstance::window_width' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:421: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:422: error: ISO C++ forbids declaration of
> `window_height'
>    with no type
> Source/plugin.cpp:422: error: `int nsPluginInstance::window_height' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:422: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:423: error: ISO C++ forbids declaration of `state'
> with no
>    type
> Source/plugin.cpp:423: error: `int nsPluginInstance::state' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:426: error: parse error before `}' token
> Source/plugin.cpp:435: error: ISO C++ forbids declaration of
> `embed_height'
>    with no type
> Source/plugin.cpp:435: error: `int nsPluginInstance::embed_height' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:435: error: `aWindow' was not declared in this scope
> Source/plugin.cpp:436: error: parse error before `}' token
> Source/plugin.cpp:437: error: syntax error before `++' token
> Source/plugin.cpp:444: error: ISO C++ forbids declaration of `state'
> with no
>    type
> Source/plugin.cpp:444: error: `int nsPluginInstance::state' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:445: error: syntax error before `->' token
> Source/plugin.cpp:446: error: invalid use of `this' at top level
> Source/plugin.cpp:446: error: ISO C++ forbids declaration of
> `SetupPlayer' with
>    no type
> Source/plugin.cpp:446: error: `int nsPluginInstance::SetupPlayer' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:446: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:447: error: parse error before `}' token
> Source/plugin.cpp:452: error: ISO C++ forbids declaration of `state'
> with no
>    type
> Source/plugin.cpp:452: error: `int nsPluginInstance::state' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:453: error: syntax error before `->' token
> Source/plugin.cpp:454: error: invalid use of `this' at top level
> Source/plugin.cpp:454: error: ISO C++ forbids declaration of
> `SetupPlayer' with
>    no type
> Source/plugin.cpp:454: error: `int nsPluginInstance::SetupPlayer' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:454: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:455: error: parse error before `}' token
> Source/plugin.cpp:469: error: syntax error before `::' token
> Source/plugin.cpp:482: error: invalid use of `this' at top level
> Source/plugin.cpp:482: error: ISO C++ forbids declaration of
> `SetupPlayer' with
>    no type
> Source/plugin.cpp:482: error: `int nsPluginInstance::SetupPlayer' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:482: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:483: error: parse error before `}' token
> Source/plugin.cpp:484: error: ISO C++ forbids declaration of `stype'
> with no
>    type
> Source/plugin.cpp:484: error: `int*nsPluginInstance::stype' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:484: error: `NP_NORMAL' was not declared in this scope
> Source/plugin.cpp:486: error: parse error before `return'
> Source/plugin.cpp:490: error: syntax error before `::' token
> Source/plugin.cpp:493: error: `Node*nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:495: error: parse error before `if'
> Source/plugin.cpp:505: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:505: error: ISO C++ forbids declaration of `
>    pthread_mutex_lock' with no type
> Source/plugin.cpp:505: error: `int nsPluginInstance::pthread_mutex_lock'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:506: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:506: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:506: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:507: error: parse error before `while'
> Source/plugin.cpp:517: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:517: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:517: error: `n' was not declared in this scope
> Source/plugin.cpp:518: error: parse error before `}' token
> Source/plugin.cpp:526: error: invalid use of `this' at top level
> Source/plugin.cpp:526: error: `n' was not declared in this scope
> Source/plugin.cpp:526: error: `n' was not declared in this scope
> Source/plugin.cpp:526: error: ISO C++ forbids declaration of
> `buildPlaylist'
>    with no type
> Source/plugin.cpp:526: error: `int nsPluginInstance::buildPlaylist' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:526: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:527: error: parse error before `}' token
> Source/plugin.cpp:534: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:534: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:534: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:535: error: parse error before `while'
> Source/plugin.cpp:540: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:540: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:540: error: `n' was not declared in this scope
> Source/plugin.cpp:541: error: parse error before `}' token
> Source/plugin.cpp:549: error: ISO C++ forbids declaration of
> `threadsignaled'
>    with no type
> Source/plugin.cpp:549: error: `int nsPluginInstance::threadsignaled' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:550: error: parse error before `}' token
> Source/plugin.cpp:557: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:557: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:557: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:558: error: parse error before `while'
> Source/plugin.cpp:563: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:563: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:563: error: `n' was not declared in this scope
> Source/plugin.cpp:564: error: parse error before `}' token
> Source/plugin.cpp:572: error: ISO C++ forbids declaration of
> `threadsignaled'
>    with no type
> Source/plugin.cpp:572: error: `int nsPluginInstance::threadsignaled' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:573: error: parse error before `}' token
> Source/plugin.cpp:589: error: ISO C++ forbids declaration of
> `threadsignaled'
>    with no type
> Source/plugin.cpp:589: error: `int nsPluginInstance::threadsignaled' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:590: error: parse error before `}' token
> Source/plugin.cpp:594: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:594: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:594: error: `n' was not declared in this scope
> Source/plugin.cpp:595: error: parse error before `}' token
> Source/plugin.cpp:598: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:598: error: ISO C++ forbids declaration of `
>    pthread_mutex_unlock' with no type
> Source/plugin.cpp:598: error: `int
> nsPluginInstance::pthread_mutex_unlock' is
>    not a static member of `class nsPluginInstance'
> Source/plugin.cpp:599: error: parse error before `}' token
> Source/plugin.cpp:604: error: syntax error before `::' token
> Source/plugin.cpp:620: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:620: error: ISO C++ forbids declaration of `
>    pthread_mutex_lock' with no type
> Source/plugin.cpp:620: error: `int nsPluginInstance::pthread_mutex_lock'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:622: error: parse error before `if'
> Source/plugin.cpp:625: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:625: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:625: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:626: error: parse error before `while'
> Source/plugin.cpp:639: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:639: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:639: error: `n' was not declared in this scope
> Source/plugin.cpp:640: error: parse error before `}' token
> Source/plugin.cpp:647: error: `mInstance' was not declared in this scope
> Source/plugin.cpp:647: error: `stream' was not declared in this scope
> Source/plugin.cpp:647: error: `NPRES_DONE' was not declared in this
> scope
> Source/plugin.cpp:647: error: ISO C++ forbids declaration of
> `NPN_DestroyStream
>    ' with no type
> Source/plugin.cpp:647: error: `int nsPluginInstance::NPN_DestroyStream'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:647: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:648: error: parse error before `}' token
> Source/plugin.cpp:665: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:665: error: ISO C++ forbids declaration of `
>    pthread_mutex_unlock' with no type
> Source/plugin.cpp:665: error: `int
> nsPluginInstance::pthread_mutex_unlock' is
>    not a static member of `class nsPluginInstance'
> Source/plugin.cpp:666: error: parse error before `return'
> Source/plugin.cpp:671: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:671: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:671: error: invalid conversion from `Node*' to `int'
> Source/plugin.cpp:672: error: `n' was not declared in this scope
> Source/plugin.cpp:672: error: `stream' was not declared in this scope
> Source/plugin.cpp:672: error: ISO C++ forbids declaration of `snprintf'
> with no
>    type
> Source/plugin.cpp:672: error: `int nsPluginInstance::snprintf' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:672: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:673: error: `n' was not declared in this scope
> Source/plugin.cpp:674: error: ISO C++ forbids declaration of `snprintf'
> with no
>    type
> Source/plugin.cpp:674: error: `int nsPluginInstance::snprintf' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:674: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:675: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:675: error: `n' was not declared in this scope
> Source/plugin.cpp:675: error: ISO C++ forbids declaration of `addToEnd'
> with no
>    type
> Source/plugin.cpp:675: error: `int nsPluginInstance::addToEnd' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:675: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:676: error: parse error before `if'
> Source/plugin.cpp:678: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:678: error: ISO C++ forbids declaration of `
>    pthread_mutex_unlock' with no type
> Source/plugin.cpp:678: error: `int
> nsPluginInstance::pthread_mutex_unlock' is
>    not a static member of `class nsPluginInstance'
> Source/plugin.cpp:679: error: parse error before `return'
> Source/plugin.cpp:684: error: syntax error before `::' token
> Source/plugin.cpp:688: error: `long int nsPluginInstance::currdownload'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:688: error: `long int nsPluginInstance::maxdownload'
> is not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:689: error: `FILE*nsPluginInstance::fp' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:690: error: `Node*nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:690: error: `Node*nsPluginInstance::hrefnode' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:691: error: `char nsPluginInstance::message[1024]' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:692: error: `char*nsPluginInstance::burl' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:695: error: parse error before `if'
> Source/plugin.cpp:707: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:707: error: ISO C++ forbids declaration of `
>    pthread_mutex_lock' with no type
> Source/plugin.cpp:707: error: `int nsPluginInstance::pthread_mutex_lock'
> is not
>    a static member of `class nsPluginInstance'
> Source/plugin.cpp:710: error: ISO C++ forbids declaration of
> `currdownload'
>    with no type
> Source/plugin.cpp:710: error: `int nsPluginInstance::currdownload' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:711: error: ISO C++ forbids declaration of
> `maxdownload' with
>    no type
> Source/plugin.cpp:711: error: `int nsPluginInstance::maxdownload' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:712: error: parse error before `for'
> Source/plugin.cpp:712: error: syntax error before `!=' token
> Source/plugin.cpp:712: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:712: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:712: error: `n' was not declared in this scope
> Source/plugin.cpp:712: error: parse error before `)' token
> Source/plugin.cpp:719: error: syntax error before `+=' token
> Source/plugin.cpp:720: error: syntax error before `+=' token
> Source/plugin.cpp:723: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:723: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:723: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:724: error: parse error before `while'
> Source/plugin.cpp:732: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:732: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:732: error: `n' was not declared in this scope
> Source/plugin.cpp:733: error: parse error before `}' token
> Source/plugin.cpp:750: error: `fp' was not declared in this scope
> Source/plugin.cpp:750: error: `offset' was not declared in this scope
> Source/plugin.cpp:750: error: ISO C++ forbids declaration of `fseek'
> with no
>    type
> Source/plugin.cpp:750: error: `int nsPluginInstance::fseek' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:750: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:751: error: ISO C++ forbids declaration of `ret' with
> no type
> Source/plugin.cpp:751: error: `int nsPluginInstance::ret' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:751: error: `buffer' was not declared in this scope
> Source/plugin.cpp:751: error: `len' was not declared in this scope
> Source/plugin.cpp:751: error: `fp' was not declared in this scope
> Source/plugin.cpp:752: error: syntax error before `->' token
> Source/plugin.cpp:753: error: `message' was not declared in this scope
> Source/plugin.cpp:753: error: `n' was not declared in this scope
> Source/plugin.cpp:753: error: ISO C++ forbids declaration of `snprintf'
> with no
>    type
> Source/plugin.cpp:753: error: `int nsPluginInstance::snprintf' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:753: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:754: error: parse error before `if'
> Source/plugin.cpp:758: error: `fp' was not declared in this scope
> Source/plugin.cpp:758: error: ISO C++ forbids declaration of `fclose'
> with no
>    type
> Source/plugin.cpp:758: error: `int nsPluginInstance::fclose' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:760: error: parse error before `if'
> Source/plugin.cpp:764: error: ISO C++ forbids declaration of
> `hrefrequested'
>    with no type
> Source/plugin.cpp:764: error: `int nsPluginInstance::hrefrequested' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:765: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:765: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:765: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:766: error: parse error before `while'
> Source/plugin.cpp:774: error: ISO C++ forbids declaration of `n' with no
> type
> Source/plugin.cpp:774: error: `int nsPluginInstance::n' is not a static
> member
>    of `class nsPluginInstance'
> Source/plugin.cpp:774: error: `n' was not declared in this scope
> Source/plugin.cpp:775: error: parse error before `}' token
> Source/plugin.cpp:779: error: ISO C++ forbids declaration of `hrefnode'
> with no
>    type
> Source/plugin.cpp:779: error: `int nsPluginInstance::hrefnode' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:779: error: invalid conversion from `Node*' to `int'
> Source/plugin.cpp:780: error: `hrefnode' was not declared in this scope
> Source/plugin.cpp:780: error: invalid use of member
> `nsPluginInstance::href'
> Source/plugin.cpp:781: error: `hrefnode' was not declared in this scope
> Source/plugin.cpp:781: error: ISO C++ forbids declaration of `strlcpy'
> with no
>    type
> Source/plugin.cpp:781: error: `int nsPluginInstance::strlcpy' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:781: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:782: error: invalid use of member
> `nsPluginInstance::td'
> Source/plugin.cpp:782: error: `hrefnode' was not declared in this scope
> Source/plugin.cpp:782: error: ISO C++ forbids declaration of `addToEnd'
> with no
>    type
> Source/plugin.cpp:782: error: `int nsPluginInstance::addToEnd' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:782: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:783: error: parse error before `}' token
> Source/plugin.cpp:787: error: `mInstance' was not declared in this scope
> Source/plugin.cpp:787: error: invalid use of member
> `nsPluginInstance::href'
> Source/plugin.cpp:787: error: ISO C++ forbids declaration of
> `NPN_GetURL' with
>    no type
> Source/plugin.cpp:787: error: `int nsPluginInstance::NPN_GetURL' is not
> a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:787: error: initializer list being treated as compound
>    expression
> Source/plugin.cpp:788: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:788: error: ISO C++ forbids declaration of `
>    pthread_mutex_unlock' with no type
> Source/plugin.cpp:788: error: `int
> nsPluginInstance::pthread_mutex_unlock' is
>    not a static member of `class nsPluginInstance'
> Source/plugin.cpp:789: error: parse error before `return'
> Source/plugin.cpp:801: error: ISO C++ forbids declaration of `baseurl'
> with no
>    type
> Source/plugin.cpp:801: error: `int nsPluginInstance::baseurl' is not a
> static
>    member of `class nsPluginInstance'
> Source/plugin.cpp:801: error: `burl' was not declared in this scope
> Source/plugin.cpp:802: error: parse error before `}' token
> Source/plugin.cpp:819: error: ISO C++ forbids declaration of
> `threadsignaled'
>    with no type
> Source/plugin.cpp:819: error: `int nsPluginInstance::threadsignaled' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:820: error: parse error before `}' token
> Source/plugin.cpp:831: error: ISO C++ forbids declaration of
> `threadsignaled'
>    with no type
> Source/plugin.cpp:831: error: `int nsPluginInstance::threadsignaled' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:832: error: parse error before `}' token
> Source/plugin.cpp:840: error: syntax error before `->' token
> Source/plugin.cpp:841: error: invalid use of member `
>    nsPluginInstance::playlist_mutex'
> Source/plugin.cpp:841: error: ISO C++ forbids declaration of `
>    pthread_mutex_unlock' with no type
> Source/plugin.cpp:841: error: `int
> nsPluginInstance::pthread_mutex_unlock' is
>    not a static member of `class nsPluginInstance'
> Source/plugin.cpp:842: error: parse error before `return'
> Source/plugin.cpp:920: error: `PRInt32' was not declared in this scope
> Source/plugin.cpp:920: error: `playstate' was not declared in this scope
> Source/plugin.cpp:921: error: variable or field `GetPlayState' declared
> void
> Source/plugin.cpp:921: error: `int nsPluginInstance::GetPlayState' is
> not a
>    static member of `class nsPluginInstance'
> Source/plugin.cpp:921: error: syntax error before `{' token
> Source/plugin.cpp:934: error: syntax error before `::' token
> Source/plugin.cpp:952: error: syntax error before `*' token
> Source/plugin.cpp:955: error: parse error before `*' token
> Source/plugin.cpp: In member function `nsScriptablePeer*
>    nsPluginInstance::getScriptablePeer()':
> Source/plugin.cpp:980: error: `NS_ADDREF' undeclared (first use this
> function)
> make: *** [plugin.o] Error 1
> linux:/home/felix/JKnewinstalls/mplayerplug-in #
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list